mbox series

[net-next,v2,0/2] net: pse-pd: tps23881: Reset GPIO support

Message ID 20240822220100.3030184-1-kyle.swenson@est.tech (mailing list archive)
Headers show
Series net: pse-pd: tps23881: Reset GPIO support | expand

Message

Kyle Swenson Aug. 22, 2024, 10:01 p.m. UTC
On some boards, the TPS2388x's reset line (active low) is pulled low to
keep the chip in reset until the SoC pulls the device out of reset.
This series updates the device-tree binding for the tps23881 and then
adds support for the reset gpio handling in the tps23881 driver.

Signed-off-by: Kyle Swenson <kyle.swenson@est.tech>

v1 -> v2:
  - Changed the reset pulse duration to be between 5us and 10us, per the
    TPS23880 datasheet
  - Changed the delay after reset to be 50ms instead of 1-10ms in order
    to meet the minimum recommended time before SRAM programming.

v1: https://lore.kernel.org/netdev/20240819190151.93253-1-kyle.swenson@est.tech/

Kyle Swenson (2):
  dt-bindings: pse: tps23881: add reset-gpios
  net: pse-pd: tps23881: Support reset-gpios

 .../bindings/net/pse-pd/ti,tps23881.yaml      |  3 +++
 drivers/net/pse-pd/tps23881.c                 | 21 +++++++++++++++++++
 2 files changed, 24 insertions(+)

Comments

Paolo Abeni Aug. 27, 2024, 1:03 p.m. UTC | #1
On 8/23/24 00:01, Kyle Swenson wrote:
> On some boards, the TPS2388x's reset line (active low) is pulled low to
> keep the chip in reset until the SoC pulls the device out of reset.
> This series updates the device-tree binding for the tps23881 and then
> adds support for the reset gpio handling in the tps23881 driver.
> 
> Signed-off-by: Kyle Swenson <kyle.swenson@est.tech>
> 
> v1 -> v2:
>    - Changed the reset pulse duration to be between 5us and 10us, per the
>      TPS23880 datasheet
>    - Changed the delay after reset to be 50ms instead of 1-10ms in order
>      to meet the minimum recommended time before SRAM programming.
> 
> v1: https://lore.kernel.org/netdev/20240819190151.93253-1-kyle.swenson@est.tech/
> 
> Kyle Swenson (2):
>    dt-bindings: pse: tps23881: add reset-gpios
>    net: pse-pd: tps23881: Support reset-gpios
> 
>   .../bindings/net/pse-pd/ti,tps23881.yaml      |  3 +++
>   drivers/net/pse-pd/tps23881.c                 | 21 +++++++++++++++++++
>   2 files changed, 24 insertions(+)

This has been applied by Jakub, but the bot failed to send the notification.

Thanks,

Paolo