Skip to content

Commit

Permalink
clk: meson-gxbb: Export PWM related clocks for DT
Browse files Browse the repository at this point in the history
Add the PWM related clocks in order to be referenced as PWM source
clocks.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Michael Turquette <mturquette@baylibre.com>
Link: lkml.kernel.org/r/1471870177-10609-1-git-send-email-narmstrong@baylibre.com
  • Loading branch information
Neil Armstrong authored and Michael Turquette committed Sep 2, 2016
1 parent e31a190 commit 19a2a85
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/clk/meson/gxbb.h
Original file line number Diff line number Diff line change
Expand Up @@ -170,11 +170,11 @@
*/
#define CLKID_SYS_PLL 0
/* CLKID_CPUCLK */
#define CLKID_HDMI_PLL 2
/* CLKID_HDMI_PLL */
#define CLKID_FIXED_PLL 3
/* CLKID_FCLK_DIV2 */
#define CLKID_FCLK_DIV3 5
#define CLKID_FCLK_DIV4 6
/* CLKID_FCLK_DIV3 */
/* CLKID_FCLK_DIV4 */
#define CLKID_FCLK_DIV5 7
#define CLKID_FCLK_DIV7 8
#define CLKID_GP0_PLL 9
Expand Down
3 changes: 3 additions & 0 deletions include/dt-bindings/clock/gxbb-clkc.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@
#define __GXBB_CLKC_H

#define CLKID_CPUCLK 1
#define CLKID_HDMI_PLL 2
#define CLKID_FCLK_DIV2 4
#define CLKID_FCLK_DIV3 5
#define CLKID_FCLK_DIV4 6
#define CLKID_CLK81 12
#define CLKID_ETH 36
#define CLKID_SD_EMMC_A 94
Expand Down

0 comments on commit 19a2a85

Please sign in to comment.