.../devicetree/bindings/pinctrl/pinctrl-single.yaml | 1 + drivers/pinctrl/pinctrl-single.c | 7 +++++++ 2 files changed, 8 insertions(+)
The K3 family of SOCs use certain bits of the padconfig registers like WKUP_EVT and WKUP_EN to enable daisychain wakeups. For example, these bits are described in the AM654 TRM [0] under "Table 5-517. Description Of The Pad Configuration Register Bits" This series adds the DT binding changes for adding the compatible and also the driver changes which make use of this compatible. NOTE: Some K3 SoCs may have these bits marked as reserved which means that they don't support IO daisychain. Such SOCs are not expected to use this compatible. The general expected usage is when the device is in a suspended state like Deep Sleep or Suspend to RAM, and any IO activity on configured pads can trigger a wakeup. Link to complete series: https://lore.kernel.org/all/20230808102207.130177-1-d-gole@ti.com Base commit: 71cd4fc492ec (tag: next-20230808, linux-next/master) Add linux-next specific files for 20230808 depends on: https://lore.kernel.org/r/20230721082654.27036-1-tony@atomide.com which has been picked up by Linus Walleij in his tree here: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git/commit/?h=devel&id=677a62482bd6e584f83d0342e78735e3cd449ba4 However, it hasn't reflected in -next yet so specifying the depends on above. [0] https://www.ti.com/lit/pdf/spruid7 Cc: Nishanth Menon <nm@ti.com> Cc: Vignesh Raghavendra <vigneshr@ti.com> Cc: Tony Lindgren <tony@atomide.com> Cc: Conor Dooley <conor.dooley@microchip.com> Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Cc: Rob Herring <robh+dt@kernel.org> Cc: Haojian Zhuang <haojian.zhuang@linaro.org> Dhruva Gole (1): dt-bindings: pinctrl: pinctrl-single: add ti,am654-padconf compatible Tony Lindgren (1): pinctrl: single: Add compatible for ti,am654-padconf .../devicetree/bindings/pinctrl/pinctrl-single.yaml | 1 + drivers/pinctrl/pinctrl-single.c | 7 +++++++ 2 files changed, 8 insertions(+) -- 2.34.1
On 15:52-20230808, Dhruva Gole wrote: > The K3 family of SOCs use certain bits of the padconfig registers like > WKUP_EVT and WKUP_EN to enable daisychain wakeups. > > For example, these bits are described in the AM654 TRM [0] under > "Table 5-517. Description Of The Pad Configuration Register Bits" > > This series adds the DT binding changes for adding the compatible and > also the driver changes which make use of this compatible. > > NOTE: Some K3 SoCs may have these bits marked as reserved which means > that they don't support IO daisychain. Such SOCs are not expected to use > this compatible. > > The general expected usage is when the device is in a suspended state like Deep > Sleep or Suspend to RAM, and any IO activity on configured pads can > trigger a wakeup. > > Link to complete series: > https://lore.kernel.org/all/20230808102207.130177-1-d-gole@ti.com > > Base commit: > 71cd4fc492ec (tag: next-20230808, linux-next/master) Add linux-next specific files for 20230808 > > depends on: > https://lore.kernel.org/r/20230721082654.27036-1-tony@atomide.com > > which has been picked up by Linus Walleij in his tree here: > https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git/commit/?h=devel&id=677a62482bd6e584f83d0342e78735e3cd449ba4 > > However, it hasn't reflected in -next yet so specifying the depends on > above. next-20230809 has it today - so just a day or two of sync.. no biggie. > > [0] https://www.ti.com/lit/pdf/spruid7 > > Cc: Nishanth Menon <nm@ti.com> > Cc: Vignesh Raghavendra <vigneshr@ti.com> > Cc: Tony Lindgren <tony@atomide.com> > Cc: Conor Dooley <conor.dooley@microchip.com> > Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > Cc: Rob Herring <robh+dt@kernel.org> > Cc: Haojian Zhuang <haojian.zhuang@linaro.org> For the series: Reviewed-by: Nishanth Menon <nm@ti.com> Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D
On Tue, Aug 8, 2023 at 12:25 PM Dhruva Gole <d-gole@ti.com> wrote: > From: Tony Lindgren <tony@atomide.com> > > Use the "ti,am654-padconf" compatible to enable the use of wake-up enable > and event bits on K3 SOCs that support the daisychain feature > > Signed-off-by: Tony Lindgren <tony@atomide.com> > Signed-off-by: Dhruva Gole <d-gole@ti.com> Patch applied and I also alphabetized the compatibles when applying. Yours, Linus Walleij
© 2016 - 2025 Red Hat, Inc.