Message ID | 20210721113625.17299-1-lokeshvutla@ti.com |
---|---|
Headers | show |
Series | arm64: dts: ti: k3-am64: Add PWM nodes | expand |
On 21/07/2021 14:36, Lokesh Vutla wrote: > There are 3 instances of ecap modules that are capable of generating > a pwm when configured in apwm mode. Add DT nodes for these 3 ecap > instances. > > Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> > --- > arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 27 ++++++++++++++++++++++++ > 1 file changed, 27 insertions(+) > > diff --git a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi > index 9e762f64b631..42d1d219a3fd 100644 > --- a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi > +++ b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi > @@ -946,4 +946,31 @@ epwm8: pwm@23080000 { > clocks = <&epwm_tbclk 8>, <&k3_clks 94 0>; > clock-names = "tbclk", "fck"; > }; > + > + ecap0: pwm@23100000 { > + compatible = "ti,am64-ecap", "ti,am3352-ecap"; > + #pwm-cells = <3>; > + reg = <0x0 0x23100000 0x0 0x60>; > + power-domains = <&k3_pds 51 TI_SCI_PD_EXCLUSIVE>; > + clocks = <&k3_clks 51 0>; > + clock-names = "fck"; > + }; > + > + ecap1: pwm@23110000 { > + compatible = "ti,am64-ecap", "ti,am3352-ecap"; > + #pwm-cells = <3>; > + reg = <0x0 0x23110000 0x0 0x60>; > + power-domains = <&k3_pds 52 TI_SCI_PD_EXCLUSIVE>; > + clocks = <&k3_clks 52 0>; > + clock-names = "fck"; > + }; > + > + ecap2: pwm@23120000 { > + compatible = "ti,am64-ecap", "ti,am3352-ecap"; > + #pwm-cells = <3>; > + reg = <0x0 0x23120000 0x0 0x60>; > + power-domains = <&k3_pds 53 TI_SCI_PD_EXCLUSIVE>; > + clocks = <&k3_clks 53 0>; > + clock-names = "fck"; > + }; > }; > Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
On 21/07/2021 14:36, Lokesh Vutla wrote: > ecap0 can be configured to use pad ECAP0_IN_APWM_OUT (D18) which has a > signal connected to Pin 1 of J3. Add support for adding this pinmux so > that pwm can be observed on pin 1 of Header J3 > > Also mark all un-used epwm and ecap pwm nodes as disabled. > > Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> > --- > arch/arm64/boot/dts/ti/k3-am642-sk.dts | 64 ++++++++++++++++++++++++++ > 1 file changed, 64 insertions(+) > Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
On Wed, 21 Jul 2021 17:06:21 +0530, Lokesh Vutla wrote: > Add epwm and ecap nodes for AM64 boards. > > Changes since v1: > - Mark all un-used pwm nodes as disabled. > > Lokesh Vutla (4): > arm64: dts: ti: k3-am64-main: Add epwm nodes > arm64: dts: ti: k3-am64-main: Add ecap pwm nodes > arm64: dts: ti: k3-am642-evm: Add pwm nodes > arm64: dts: ti: k3-am642-sk: Add pwm nodes > > [...] Hi Lokesh Vutla, I have applied the following to branch ti-k3-dts-next on [1]. Thank you! [1/4] arm64: dts: ti: k3-am64-main: Add epwm nodes commit: 13a9a3ef66248a1b6e9acaaa5292d96f8635935b [2/4] arm64: dts: ti: k3-am64-main: Add ecap pwm nodes commit: ae0df139b51a8448afb38e9706f257ab56fea097 [3/4] arm64: dts: ti: k3-am642-evm: Add pwm nodes commit: 8032affdf5a156a467d3b109f32cd9f57ea7afda [4/4] arm64: dts: ti: k3-am642-sk: Add pwm nodes commit: c1fa5ac6c2f475b5140e6323801ed93c24e7e5cf All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent up the chain during the next merge window (or sooner if it is a relevant bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. [1] git://git.kernel.org/pub/scm/linux/kernel/git/nmenon/linux.git -- Regards, Nishanth Menon Key (0xDDB5849D1736249D)/Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D