Skip to content

Commit cd88f16

Browse files
Sowjanya Komatinenithierryreding
authored andcommitted
dt-bindings: soc: tegra-pmc: Add ID for Tegra PMC 32 kHz blink clock
Tegra PMC has blink functionality that allows 32 kHz clock out to blink pin of the Tegra. This patch adds id for this blink clock to use for enabling or disabling blink output through device tree. Tested-by: Dmitry Osipenko <[email protected]> Reviewed-by: Dmitry Osipenko <[email protected]> Acked-by: Rob Herring <[email protected]> Signed-off-by: Sowjanya Komatineni <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
1 parent f85fa31 commit cd88f16

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-pmc.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ properties:
4444
const: 1
4545
description:
4646
Tegra PMC has clk_out_1, clk_out_2, and clk_out_3.
47+
PMC also has blink control which allows 32Khz clock output to
48+
Tegra blink pad.
4749
Consumer of PMC clock should specify the desired clock by having
4850
the clock ID in its "clocks" phandle cell with pmc clock provider.
4951
See include/dt-bindings/soc/tegra-pmc.h for the list of Tegra PMC

include/dt-bindings/soc/tegra-pmc.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
#define TEGRA_PMC_CLK_OUT_1 0
1010
#define TEGRA_PMC_CLK_OUT_2 1
1111
#define TEGRA_PMC_CLK_OUT_3 2
12+
#define TEGRA_PMC_CLK_BLINK 3
1213

13-
#define TEGRA_PMC_CLK_MAX 3
14+
#define TEGRA_PMC_CLK_MAX 4
1415

1516
#endif /* _DT_BINDINGS_SOC_TEGRA_PMC_H */

0 commit comments

Comments
 (0)