From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796319920; b=4pEUYcQQEL4d/oTO3DrtNRKIYvQio7kEC0AIlPrm4end1yw4eKJEclTr0Nwe/cmH6Hwh CY9y8RKtUJLSg3UWLBqPbo2Eq6KpssUvrxh4ygoqR/+hCaZ6LIh0EXO0lY+c8koNCbwJ0 0KDako/kPvzyBiARlbjcedODz/HFCWxFLvWCee5QZ3euAiz6WNRgxUYM1WOeWVNLlSKdc wajtjMZSS7+yF2LVt5PelyrvHkONMNGKET5g2uz0wUzKCgWYk+UYVcLNXBFg4hyIlDXMm ZrqJxkyrB3JODBc3hVAPvLYZIK27kICXH4vJBCJW3iIYDMufBMz8sqdOc8mwPU7o/bQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796319920; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=c7Sv98pzgzcLBuITX/lSGUOOzOGgwMyVpJGpBPSHkhk=; b=LKdOAOQWxNTUWSdYac73lDsb+wdbUYB1cK88VBgGcX436ZiKG8aiX08vIScwm1l+Pdun pch8XA4buLgLhQReyzzKoAuwWprqrjzK2Jq/m5REhrH0mW4IXnd+h2SuyJNrZ28dfd3uX 1ZR4w9FtXs+0KurGx2+BVkyx6mFR07Uv8qrAdh4UVyivnrW0PiuL4vj1UVEL+AQYqZgdL ay6Tgav/dZjm9gmEl+A6K4VgHqom96HHRa1WWLWKXFK40ZE9ZqM5ZAQab94INcQqZGvkK fkz5DMdN/SsFVLblND0o2ZjIa8+OT7dq6XXExB/zKUN+OBrzY/jrXXrySfZSi1HZUSg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=HA84xrHt; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D6054606A32C; Thu, 3 Dec 2026 17:45:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=HA84xrHt Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4C53B1F000C1; Thu, 3 Dec 2026 17:45:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796319920; bh=c7Sv98pzgzcLBuITX/lSGUOOzOGgwMyVpJGpBPSHkhk=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=HA84xrHtuaIvaLoJCOgEv2iv5TOrkCySwmv2X3aAXxoC6lFwLT1Rn2akBdMjr4S/e 8VWvEb70dQ2sEXPkJ5j5C9A/btpsJVhOeLwau6eJTFQJul7eJRjIoQinEnMxRGGUbG Z9IVAD7XeQCmuIb10+3v3qDDGRMubNma+jys2vZY9RBp4M/76IGuWjvZ1nndQp281F r1KZqscXZF2AQXks2tD+4AIwk/UM5aG8t9SCEfJWMiKF0HnFngqOuqrNo4sexcfBEl sc/vMQ9m1yzPXPKltyCur0Cj1Vu3O6y/s8nBQBzJe+yNez8TtUdQ83h+cAiCJvFQe4 6cXHKBht9yIBg== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v7 3/5] arm64: dts: allwinner: add Radxa Cubie A7S board Reply-To: sashiko-reviews@lists.linux.dev To: "Enzo Adriano" Cc: devicetree@vger.kernel.org, linux-sunxi@lists.linux.dev, robh@kernel.org, conor+dt@kernel.org In-Reply-To: <20261203-a733-cubie-a7s-dt-v7-3@gmail.com> References: <20261203-a733-cubie-a7s-dt-v7-0@gmail.com> <20261203-a733-cubie-a7s-dt-v7-3@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Thu, 03 Dec 2026 17:45:19 +0000 X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Thank you for your contribution! Sashiko AI review found 4 potential issues to consider: - [High] arm64: dts: allwinner: pio missing 11th IRQ breaks dtbs_check and PF6 CD IRQ - [High] arm64: dts: allwinner: unbound axp318w PMIC breaks dtbs_check and defers boot - [High] arm64: dts: allwinner: pio bank supplies program inverted A733 IO bias mode - [Low] arm64: dts: allwinner: undocumented sun60i-a733-uart compatible in dtsi -- commit c275314e0fa3c3cd640e6f0145400e425f3d8d31 Author: Enzo Adriano arm64: dts: allwinner: add Radxa Cubie A7S board This commit adds the initial Devicetree for the Radxa Cubie A7S board using the Allwinner A733 SoC, enabling the serial console, AXP318W PMIC, microSD slot, EEPROM, and status LEDs, and adds it to the build. Link: https://dl.radxa.com/cubie/a7s/hw/radxa_cubie_a7s_schematic_v1.10.pdf Link: https://github.com/radxa/allwinner-device/blob/6d911d1582dcccdb5a4c38= be8d3c1ee851019795/configs/cubie_a7s/linux-5.15/board.dts#L372-L384 > diff --git a/arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7s.dts b/ar= ch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7s.dts > new file mode 100644 > index 0000000000000..9f71006170382 > --- /dev/null > +++ b/arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7s.dts [ ... ] > +&mmc0 { > + bus-width =3D <4>; > + cap-mmc-highspeed; > + cap-sd-highspeed; > + cd-gpios =3D <&pio 5 6 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>; /* PF6 */ > + disable-wp; > + vmmc-supply =3D <®_swout2>; > + status =3D "okay"; > +}; [Severity: High] Does PF6 card-detect break at runtime, and does make dtbs_check fail, because pio in sun60i-a733.dtsi lists only 10 interrupts? Documentation/devicetree/bindings/pinctrl/allwinner,sun55i-a523-pinctrl.yaml requires 11 interrupts for allwinner,sun60i-a733-pinctrl, matching commit 11f25ac56372 ("dt-bindings: pinctrl: sun55i-a523: increase IRQ banks number"), which reserves slot 0 for unimplemented Port A. Without that first entry, sunxi_pinctrl_init_with_flags() loads PF's GIC_SPI 77 into pctl->irq[4] instead of pctl->irq[5]. When PF6 asserts GIC_SPI 77, sunxi_pinctrl_irq_handler() matches bank 4 and reads PE's status register instead of PF's, leaving PF's level-triggered interrupt unacknowledged and never dispatching the card-detect IRQ to mmc0. > + > +&pio { > + vcc-pb-supply =3D <®_swout2>; /* via VCC-IO */ > + vcc-pc-supply =3D <®_cldo5>; > + vcc-pd-supply =3D <®_swout1>; > + vcc-pe-supply =3D <®_bldo1>; > + /* PF uses VCC-IO at 3.3 V, with CLDO5 as the 1.8 V input. */ > + vcc-pf-supply =3D <®_swout2>; > + vcc-pg-supply =3D <®_aldo1>; > + vcc-ph-supply =3D <®_swout2>; > + vcc-pj-supply =3D <®_swout1>; > + vcc-pk-supply =3D <®_bldo1>; > +}; [Severity: High] Will wiring vcc-pb-supply through vcc-pk-supply program inverted I/O voltage modes on the A733 pin banks? a733_pinctrl_data in drivers/pinctrl/sunxi/pinctrl-sun60i-a733.c still uses BIAS_VOLTAGE_PIO_POW_MODE_SEL rather than BIAS_VOLTAGE_PIO_POW_MODE_CTL_INV, as updated for A523 in commit ef56085dfd1d ("pinctrl: sunxi: A523: fix voltage withstand encoding"). Once these bank supplies resolve, sunxi_pinctrl_set_io_bias_cfg() writes non-inverted bits to PIO_NCAT3_POW_MOD_SEL_REG and skips PIO_POW_MOD_CTL_OFS, setting 1.8 V mode on 3.3 V banks and 3.3 V mode on 1.8 V banks. > + > +&r_i2c0 { > + pinctrl-names =3D "default"; > + pinctrl-0 =3D <&r_i2c0_pl_pins>; > + status =3D "okay"; > + > + pmic@36 { > + compatible =3D "x-powers,axp318w"; > + reg =3D <0x36>; > + interrupts-extended =3D <&nmi_intc 0 IRQ_TYPE_LEVEL_LOW>; > + interrupt-controller; > + #interrupt-cells =3D <1>; > + aldo156in-supply =3D <®_ps>; > + aldo234in-supply =3D <®_aldo1>; [Severity: High] As reported by Chen-Yu Tsai on v5 [1], is x-powers,axp318w still missing both its Devicetree binding and driver in this tree? Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml does not document x-powers,axp318w, its grouped supply properties, or the dcdc9/swout1/swout2 regulator subnodes, so make dtbs_check fails. At runtime, no driver matches x-powers,axp318w, so none of its regulators register. of_regulator_dev_lookup() then returns -EPROBE_DEFER for every consumer referencing these phandles, permanently deferring uart0, mmc0, i2c0, eeprom@50, and gpio-leds. [ ... ] > +&uart0 { > + pinctrl-names =3D "default"; > + pinctrl-0 =3D <&uart0_pb_pins>; > + status =3D "okay"; > +}; [Severity: Low] Does enabling uart0 and building sun60i-a733-cubie-a7s.dtb fail make dtbs_check because allwinner,sun60i-a733-uart is undocumented? sun60i-a733.dtsi uses compatible =3D "allwinner,sun60i-a733-uart", "snps,dw-apb-uart" on the UART nodes, but Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml does not list allwinner,sun60i-a733-uart. [1] https://lore.kernel.org/r/CAGb2v64p4GvDMDKzDLfedDQCexD+=3Dgu3+YxMAt=3DA= Rj4bZxR_eA@mail.gmail.com --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261203-a733-cubie= -a7s-dt-v7-0@gmail.com?part=3D3