[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdYL8wK2vX7P7p4QvU9VV2CPjRv_aXiLqO+07MMCCKKk4Q@mail.gmail.com>
Date: Thu, 21 Dec 2023 14:57:14 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Alex Soo <yuklin.soo@...rfivetech.com>
Cc: Bartosz Golaszewski <bartosz.golaszewski@...aro.org>, Hal Feng <hal.feng@...rfivetech.com>,
Ley Foon Tan <leyfoon.tan@...rfivetech.com>,
Jianlong Huang <jianlong.huang@...rfivetech.com>, Emil Renner Berthing <kernel@...il.dk>,
Rob Herring <robh@...nel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>, Drew Fustini <drew@...gleboard.org>, linux-gpio@...r.kernel.org,
linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
linux-riscv@...ts.infradead.org, Paul Walmsley <paul.walmsley@...ive.com>,
Palmer Dabbelt <palmer@...belt.com>, Albert Ou <aou@...s.berkeley.edu>
Subject: Re: [RFC PATCH 1/6] dt-bindings: pinctrl: starfive: add JH8100
pinctrl bindings
Hi Alex,
thanks for your patch!
On Thu, Dec 21, 2023 at 9:36 AM Alex Soo <yuklin.soo@...rfivetech.com> wrote:
> Add dt-binding documentation and header file for JH8100 pinctrl
> driver.
>
> Signed-off-by: Alex Soo <yuklin.soo@...rfivetech.com>
> Reviewed-by: Ley Foon Tan <leyfoon.tan@...rfivetech.com>
(...)
> +title: StarFive JH8100 AON Pin Controller
If AON means "always-on" then spell that out in the title, the world has
too many opaque TLAs.
title: StarFive JH8100 AON (always-on) Pin Controller
(...)
> + properties:
> + pinmux:
> + description: |
> + The list of GPIOs and their mux settings or function select.
> + The GPIOMUX and PINMUX macros are used to configure the
> + I/O multiplexing and function selection respectively.
> +
> + bias-disable: true
> +
> + bias-pull-up:
> + type: boolean
> +
> + bias-pull-down:
> + type: boolean
> +
> + drive-strength:
> + enum: [ 2, 4, 8, 12 ]
Milliamperes? Then spell that out in a description:
> + Voltage regulator supply the actual voltage to the GPIO bank while the syscon register
> + configuration in bit [1:0] indicates the current voltage setting.
> +
> + +------+------+-------------------+
> + | Bit1 | Bit0 | Reference Voltage |
> + +------+------+-------------------+
> + | 0 | 0 | 3.3 V |
> + +------+------+-------------------+
> + | 1 | x | 1.8 V |
> + +------+------+-------------------+
> +
> + To increase the device voltage, set bit [1:0] to the new operating state first before
> + raising the actual voltage to the higher operating point.
> +
> + To decrease the device voltage, hold bit [1:0] to the current operating state until
> + the actual voltage has stabilized at the lower operating point before changing the
> + setting.
> +
> + Alternatively, a device voltage change can always be initiated by first setting syscon
> + register bit [1:0] = 0, the safe 3.3V startup condition, before changing the device
> + voltage. Then once the actual voltage is changed and has stabilized at the new operating
> + point, bit [1:0] can be reset as appropriate.
Actually: where is this information even used?
> + slew-rate:
> + maximum: 1
Milliseconds? Write unit in description please.
Yours,
Linus Walleij
Powered by blists - more mailing lists