All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Abduwaris Nurmemet" <daabu@qq.com>
Cc: devicetree@vger.kernel.org, linux-gpio@vger.kernel.org,
	robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH 1/3] dt-bindings: pinctrl: rockchip: document io-1v8-domains
Date: Sun, 29 Nov 2026 07:21:38 +0000	[thread overview]
Message-ID: <sashiko-outbox-239358@kernel.org> (raw)
In-Reply-To: <tencent_9AD984A6BE60BE89025645C689A413032507@qq.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] dt-bindings: pinctrl: rockchip: duplicate io-1v8-domains
  binding for RK3308
--

commit 5e5c56b78be8b62a4f14b20538db4c1baafe14fe
Author: Abduwaris Nurmemet <daabu@qq.com>

dt-bindings: pinctrl: rockchip: document io-1v8-domains

This commit documents an io-1v8-domains bitmask property in the Rockchip
pinctrl binding to select 1.8V I/O domains on RK3308.

> diff --git a/Documentation/devicetree/bindings/pinctrl/rockchip,pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/rockchip,pinctrl.yaml
> index 81747bb530569..0aaea2c690c7c 100644
> --- a/Documentation/devicetree/bindings/pinctrl/rockchip,pinctrl.yaml
> +++ b/Documentation/devicetree/bindings/pinctrl/rockchip,pinctrl.yaml
> @@ -76,6 +76,15 @@ properties:
>  
>    ranges: true
>  
> +  io-1v8-domains:
> +    $ref: /schemas/types.yaml#/definitions/uint32
> +    description: |
> +      Bitmask of I/O domains supplied with 1.8V instead of 3.3V.  Each set
> +      bit selects the corresponding I/O domain (bit 0 is domain 0).  If
> +      omitted, all domains are assumed to run at 3.3V.  Currently only
> +      implemented for the RK3308, where the mask is programmed into
> +      GRF_SOC_CON0 before the SDIO controller probes.

[Severity: Medium]
Does io-1v8-domains duplicate the existing
rockchip,rk3308-io-voltage-domain binding in
Documentation/devicetree/bindings/power/rockchip-io-domain.yaml?

RK3308 I/O domains (vccio0-supply through vccio5-supply) and GRF_SOC_CON0
(offset 0x300) are already modeled in arch/arm64/boot/dts/rockchip/rk3308.dtsi
and managed by drivers/soc/rockchip/io-domain.c (soc_data_rk3308 and
rk3308_iodomain_init()), which queries the supplying regulators, registers
voltage-change notifiers, and sets RK3308_SOC_CON0_VCCIO3.  Adding a raw
register bitmask property on the pinctrl node creates conflicting ownership
of GRF_SOC_CON0 between pinctrl-rockchip and rockchip-iodomain and encodes a
driver probe-ordering workaround into the binding.

In addition, the property lacks a rockchip, vendor prefix and is exposed at
the top level across all Rockchip pinctrl compatibles rather than being
restricted to rockchip,rk3308-pinctrl.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/tencent_9AD984A6BE60BE89025645C689A413032507@qq.com?part=1

  reply	other threads:[~2026-11-29  7:21 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20261129071403.4890-1-daabu@qq.com>
2026-11-29  7:14 ` [PATCH 1/3] dt-bindings: pinctrl: rockchip: document io-1v8-domains Abduwaris Nurmemet
2026-11-29  7:14   ` Abduwaris Nurmemet
2026-11-29  7:21   ` sashiko-bot [this message]
2026-11-29 16:14   ` Heiko Stuebner
2026-11-29 16:14     ` Heiko Stuebner
2026-11-29  7:14 ` [PATCH 2/3] pinctrl: rockchip: program RK3308 I/O domains before SDIO probes Abduwaris Nurmemet
2026-11-29  7:14   ` Abduwaris Nurmemet
2026-11-29  7:25   ` sashiko-bot
2026-11-29 16:15   ` Heiko Stuebner
2026-11-29 16:15     ` Heiko Stuebner
2026-11-29  7:14 ` [PATCH 3/3] arm64: dts: rockchip: fix SDIO WiFi on the Sakura Pi RK3308B Abduwaris Nurmemet
2026-11-29  7:14   ` Abduwaris Nurmemet
2026-11-29  7:25   ` sashiko-bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=sashiko-outbox-239358@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=daabu@qq.com \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.