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=1796321033; b=LhP3Q3gNSROqvJrVT66PkY0lJOsLrORJfhNKGm+tkjms/Z1hYeNAf/0d/w1GT2O9onn3 qGuEZ8NV8cILrpz6sY0l6RJSwoMIZqVBEqiLSxwYF/9wV6KnFmBxcimLae89WM2UYSZiA oz/hGEUvsQgll/9XabCysiQmOMvmH9fdCLBZsPlxJUamvVKe9P9LWIEq3G4qcPF0HqlNY Nr0PXvM4Qp9rPikdAvccs1g39fHyfK9Qdgw5sfDwoTQWtIKjDcqhXuAAVU47IQol9YOVq quvHOusjs54c3sQcIgH5l+ArmI2lKuaM5y1n32q9yibH1UGWW06/eKJzb1KzlIdB+/Q== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796321033; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=awJoZ9O0QJs3whnv5Ic4GBl6cjkuH1lzsyamQVD+RHs=; b=WFcTKAoDzSQgnGWlpIve8o2WWacCgktIPo0JjXl/x08SELdl7N1rjSwB/ky8oPCPED54 WVpJ30yOtvle0jb633zMKAi07KsuPIMaixBGa+8s8MTKesX+Wx+mNlccHpIl4x4mSwXDD 58ZKGoP1jkAuwXCUCFp5aHTq8pXCwNPuEIcic4noXLQ78appveJMfoJlv5Tk2MqkZ2nn4 c1iyHNbMDD2W3mORhlbn4VNSlY4KKhdFxtidjQ/Qc1zYZWrC2/9T4pS7SVjLBNqIQtTD2 ez2zHADguUXt/oI4htn3cU+BzMw+VrFogVxWR354Rn3pEtfVvAVOIBRVEgoeiLbdEWg== 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=NJmM48Td; 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 83731606A33C; Thu, 3 Dec 2026 18:03:53 +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=NJmM48Td Received: by smtp.kernel.org (Postfix) with ESMTPSA id D8A4B1F000C1; Thu, 3 Dec 2026 18:03:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796321033; bh=awJoZ9O0QJs3whnv5Ic4GBl6cjkuH1lzsyamQVD+RHs=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=NJmM48TdgS2i6s8722YVvTDaYshX0yu9vfTcMOsOdTYtzdjy9J/2M9xcZ5WjMGbB0 ziYz9XWJOAN0idFGj/KpNRcqyMDsTiY3dWVtwmz/8GrCkEE37yi8wS+BsueflRVYxm BcZcF/9bcPvtUDW35VJlYAR379wpI4eC1xpnhTWgioSjq2hy8W5EP65HQ7flRqIYLS IBkwWuWRKNkS7EGbi2vm2DRV2UPWybZpk5V+AX8zPluiSvTy9xJeI5Oi+gm7o+HI/b GNq7mwmWuanT7cnXtS/yo3Rjez+VGiLM7NBwDS4YKouV3kBSdA6OtJLOafz5qSLy+E 6G9M1zGSGaJjg== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v7 4/5] arm64: dts: allwinner: add Radxa Cubie A7Z 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-4@gmail.com> References: <20261203-a733-cubie-a7s-dt-v7-0@gmail.com> <20261203-a733-cubie-a7s-dt-v7-4@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Thu, 03 Dec 2026 18:03:52 +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 2 potential issues to consider: - [High] arm64: dts: allwinner: undocumented axp318w PMIC breaks dtbs_check and boot - [Medium] arm64: dts: allwinner: pio interrupts count mismatches 11-item A733 binding -- commit ad298953ae3f0bb2c7041b75d56f31578ed245d0 Author: Vinicius Pedrosa arm64: dts: allwinner: add Radxa Cubie A7Z board This commit adds the devicetree for the Radxa Cubie A7Z board using the Allwinner A733 SoC and enables UART0, the AXP318W PMIC on R-I2C0, MMC0, RTC, and the green user LED. > diff --git a/arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7z.dts b/ar= ch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7z.dts > new file mode 100644 > index 0000000000000..7db69cb83ddc0 > --- /dev/null > +++ b/arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7z.dts [ ... ] > +&pio { > + /* VCC-IO */ > + vcc-pb-supply =3D <®_swout2>; > + vcc-pc-supply =3D <®_cldo5>; > + vcc-pd-supply =3D <®_swout1>; > + vcc-pe-supply =3D <®_bldo1>; > + /* VCC-IO */ > + vcc-pf-supply =3D <®_swout2>; > + vcc-pg-supply =3D <®_bldo5>; > + /* VCC-IO */ > + vcc-ph-supply =3D <®_swout2>; > + vcc-pj-supply =3D <®_swout1>; > + vcc-pk-supply =3D <®_bldo1>; > +}; [Severity: Medium] Does the included pio node in sun60i-a733.dtsi fail dtbs_check on its interrupts property? Documentation/devicetree/bindings/pinctrl/allwinner,sun55i-a523-pinctrl.yaml requires 11 interrupts for allwinner,sun60i-a733-pinctrl to cover the unimplemented Port A slot plus PB through PK, as established in commit 11f25ac56372 ("dt-bindings: pinctrl: sun55i-a523: increase IRQ banks number= "). Because pio: pinctrl@2000000 in arch/arm64/boot/dts/allwinner/sun60i-a733.d= tsi lists only 10 interrupts (matching .irq_banks =3D 10 in drivers/pinctrl/sunxi/pinctrl-sun60i-a733.c), make dtbs_check fails on sun60i-a733-cubie-a7z.dtb and the interrupt array is shifted by one bank relative to the 1..10 register layout expected by sunxi_irq_base_reg(). > +&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>; > + /* v1.10: BLDOIN from SWOUT2 and CLDOIN from PS */ > + bldoin-supply =3D <®_ldo_input>; > + cldoin-supply =3D <®_ldo_input>; > + dldoin-supply =3D <®_ps>; > + eldoin-supply =3D <®_dcdc9>; > + ips-supply =3D <®_ps>; > + vin19-supply =3D <®_ps>; > + vin23-supply =3D <®_ps>; > + vin45-supply =3D <®_ps>; > + vin678-supply =3D <®_ps>; [Severity: High] Does x-powers,axp318w fail dtbs_check and leave uart0, mmc0, and led-0 stuck in probe deferral? Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml does not define x-powers,axp318w, its aldo156in/aldo234in/vin*-supply properties, or the dcdc8, dcdc9, swout1, and swout2 regulator subnodes, so make dtbs_check fails on sun60i-a733-cubie-a7z.dtb. drivers/mfd/axp20x-i2c.c also has no match entry for x-powers,axp318w, so pmic@36 never binds and none of its regulators register. Because pio wires vcc-pb-supply and vcc-pf-supply to reg_swout2 and r_pio wires vcc-pm-supply to reg_aldo1, sunxi_pmx_request() -> regulator_get() -> of_regulator_dev_lookup() returns -EPROBE_DEFER permanently, preventing the serial console, microSD slot, and user LED from probing. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261203-a733-cubie= -a7s-dt-v7-0@gmail.com?part=3D4