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=1796322664; b=PF6HOzcV02FzIVa2C+1FjRDSyXKsuemU+H64QIIGvCTSrEWVAddxDcM1VcOT7r3V4dwP 2UGr8US6QTe4Whzo+4pUxeBV7uzVICRwinlgCqN3mnJB5VztjwFC/Z0hBbRS5Bk9hKeOC iV95+qJ5Dk+R0s5ifGXVW+YXDm45IfZbsHP3jZdQuKRBYd2m63QpyyGnZeCrTHDmhtyE7 47c8nvd5htbCs1IgXi4068Oq06U8yZAvzk1BlTUGot0AMzeZg6iYBXk2xyorGRdks8242 Z/9vSy5K1nqgh0higxdsGmfZEjqmOecXQfVb2jXgxOY9V1rb1tnIhpRx9aGQRGXH+xA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796322664; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=NZc1P7XMlFUe+IVAe8dH1oU56C4NjvgWDkAzNhgL3Fg=; b=LwMmERFqbNe2ayZ1zUTsUYwBBxiu4xUJ8MzC828FLuU10xpzoU99EOeVzzuUl9GGmKos RdzzpMgEgfSHJG/ZL2SlGaFuh4WN7/9gQ1/xU+LA72sE+llQqG5Dz+hmduTR5EW/xDIa7 f7tK4xqao00BEzN1HYjSasdci72Rkqmx+yRmttbHahZRPgg3MqfJ6rdrXVZ8+kcsxXvo2 VAJarHmiW1uZWyDXbwE/pkrHNXrRzJrWYPIXHyNPv1K/VVqOiNQJnRB4xY4ZTU0WW4CD+ p19srv2D357A5t2gd+eywJ0beB+9F8or5ndqebZx3kjIVOhAVvNi+DZTdQ7TxRYx6ZA== 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="oAjMPy6/"; 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 88C13606A322; Thu, 3 Dec 2026 18:31:04 +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=oAjMPy6/ Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3D6151F000C1; Thu, 3 Dec 2026 18:31:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796322664; bh=NZc1P7XMlFUe+IVAe8dH1oU56C4NjvgWDkAzNhgL3Fg=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=oAjMPy6/WTlL8GmYGGYWNvH1aQytRb986n6RrWs0ko4ZJUuwelzNDj+kfAp48r8+G AXeg02LdOTyKy1h2FY1v5+UR/Np1GhRyVLpEmVwJH928Kw8hmLIZdR05nSjTrWEzCw QjvfRHvVil6ILgK/d6gI9b2n7iB2Wb1fiN1Uv786Bh63HpcZ98Hve9nyw7sKvhXY43 DozH8K/vppapcQBSseziCbE4X1kgcGRDLxZxRF3CfqVpz07eyT90E+8uzBdyTxyNCp A+wlaaeJKV4XJjKv/a/YTgeDeHIVbaNV8wlgjeitp3NRSY6NNuSdypCYJy/rvfPp1r ArT31ywHNgmWQ== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v7 5/5] arm64: dts: allwinner: add Radxa Cubie A7A 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-5@gmail.com> References: <20261203-a733-cubie-a7s-dt-v7-0@gmail.com> <20261203-a733-cubie-a7s-dt-v7-5@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Thu, 03 Dec 2026 18:31:03 +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: missing binding and driver for x-powers,axp318w PMIC - [Medium] arm64: dts: allwinner: cubie-a7a dcdc7 max voltage capped at 1.10 V -- commit d676df2104285190d09fdb2d7c1b8086a0cae5b8 Author: Andre Przywara arm64: dts: allwinner: add Radxa Cubie A7A board This commit adds the initial devicetree for the Radxa Cubie A7A board, describing its UART, AXP318W PMIC, microSD slot, EEPROM, and external RTC, and adds the DTB to the Allwinner Makefile. > diff --git a/arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7a.dts b/ar= ch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7a.dts > new file mode 100644 > index 0000000000000..e1e1db00bada9 > --- /dev/null > +++ b/arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7a.dts [ ... ] > +&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 <®_vcc5v>; > + aldo234in-supply =3D <®_aldo1>; > + bldoin-supply =3D <®_vcc2v4>; > + cldoin-supply =3D <®_vcc2v4>; > + dldoin-supply =3D <®_vcc5v>; > + eldoin-supply =3D <®_dcdc9>; > + ips-supply =3D <®_vcc5v>; > + vin19-supply =3D <®_vcc5v>; > + vin23-supply =3D <®_vcc5v>; > + vin45-supply =3D <®_vcc5v>; > + vin678-supply =3D <®_vcc5v>; [Severity: High] Does x-powers,axp318w have an in-tree DT binding and driver yet? Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml does not document x-powers,axp318w, its supply properties (such as aldo156in-supply and vin19-supply), or regulator subnodes like dcdc8, dcdc9, swout1, and swout2, so make dtbs_check fails on pmic@36. drivers/mfd/axp20x-i2c.c also does not match x-powers,axp318w, so none of the PMIC regulators register. Because pio bank supplies and mmc0 vmmc-supply reference them, of_regulator_dev_lookup() returns -EPROBE_DEFER and sunxi_pmx_request() permanently defers uart0, mmc0, and other devices. [ ... ] > + dcdc7 { > + /* Voltage set by DRAM init routine */ > + regulator-name =3D "vcc-dram"; > + regulator-min-microvolt =3D <1050000>; > + regulator-max-microvolt =3D <1100000>; > + regulator-always-on; > + }; [Severity: Medium] Should regulator-max-microvolt on dcdc7 be raised to 1120000 uV to avoid clamping the bootloader's LPDDR5 voltage? When both regulator-min-microvolt and regulator-max-microvolt are specified, of_get_regulation_constraints() sets apply_uV =3D true, so machine_constraints_voltage() lowers the live rail to max_uV if firmware programmed a higher voltage. In commit "arm64: dts: allwinner: add Radxa Cubie A7S board", dcdc7 is widened to 1050000-1120000 uV because Radxa's boot0 programs 1.12 V on DCDC7. If Cubie A7A's boot0 also sets 1.12 V, capping dcdc7 at 1.10 V will drop the DRAM rail during PMIC probe and risk memory corruption or hangs. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261203-a733-cubie= -a7s-dt-v7-0@gmail.com?part=3D5