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=1796365194; b=X23XGkKOxdIwPGJQlv+8LpNim0nQX3s/Nx+EhoUEjJg+IpzL14wvMh1IRvHpi/IHSE+g IUYmHP82Y6OL0dF2tzaH1H7nsBo5KRMvmiQLeVXit1HXyxBphKgiw6X7dyQ6OFhUhEsb/ DbHTC9TIAe3cLrKJGsqbmqFokPz60EFMXpDKx6e15aB4M6admuuFcQvkPdd+Y9QeZimlP 7i9jd14J2cJBR6923yVBBqW/h64q3JBE46Ar0MRGRjlnjDYcCA3I6JYSyz9B/n8dmY8wJ uhSNfv1pxg4XFC16/0kN9NeYkm/cfYKn5FgYSmWgYzPBNYGMR2H4HFsslfO3acNH2YA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796365194; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=BZ8Q4mXBF/YSiv1ghdwpPm3+KRgRnnrAN+ATw5IGE9A=; b=qqKUF/Aqnw90vT2k3xJ2dvFdPoDhppsIcnh49sFroiiHETnb4qAXPA6M9W5WaSj++Wh0 eJL73kvSBHo7bHD0+EY2rPvtVu2ABE4Y9i/MKRm7c7orQDw9nigZgXd+puy772jxEjV2e sV0bY8KYfIZ9ftMPnpJ8HsXucR5/Gqox5k8vj9TXUgb7fvHFqE7LmhxcySZmY+Txq7UCJ GHspfTPjTwag7Ot+nR5Kiq1u47XTip7xRwrGqimcKCoExfi9/LrMfLcaMjJh4ZyvXXU5t R6QjlDkAaLUIn7m/HH1TQnBvEPUYl5B4j9l0800l/wJEHECmnMTrNTKo74CZT1YuaYg== 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=WKvQG7hs; 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 8E40D606A322; Fri, 4 Dec 2026 06:19:54 +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=WKvQG7hs Received: by smtp.kernel.org (Postfix) with ESMTPSA id 038581F000CE; Fri, 4 Dec 2026 06:19:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796365194; bh=BZ8Q4mXBF/YSiv1ghdwpPm3+KRgRnnrAN+ATw5IGE9A=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=WKvQG7hs4dmlK2qNEczPkndikMq1b8rTTR5e8L3O4ZIK6aANhIBBleN2Hg1/6H4Ky qeoUUgmL4WtUNb7zq7NkT7tKFgZj/vH/FlzzhUP4H0Cog3KhxySHFt0nyajyUeWBzI gvNb44Pt/UvTl7bbP+jaPIZ10DJzXx+aHrCHvbfYEWFzIEJDv3Xr8nlIBQRk92HkUF mbFBsvS3HIQ4xn4bo2BvFJ0/0jybsNeKM0yQpag/L9ygQpAd+6hQuhDQNzg5xEHKxY qUugsdiUgTEpqOg2snwjjEr4APGV4twvQbj4/C6eLLXH37g08vhHE0EET6BzsdFF0B tHfh1Q7x/vy8A== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v8 4/4] mfd: aat2870: Add support for VIN and IN-LDO power supplies Reply-To: sashiko-reviews@lists.linux.dev To: "Svyatoslav Ryhel" Cc: linux-leds@vger.kernel.org, devicetree@vger.kernel.org, mfd@lists.linux.dev, dri-devel@lists.freedesktop.org, robh@kernel.org, conor+dt@kernel.org, lee@kernel.org In-Reply-To: <20261204060605.20688-5-clamor95@gmail.com> References: <20261204060605.20688-1-clamor95@gmail.com> <20261204060605.20688-5-clamor95@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Fri, 04 Dec 2026 06:19:53 +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 1 potential issue to consider: - [Low] mfd: aat2870: combines MFD and regulator supply changes in one commit -- commit 2458ac83db273f6f53662923eee50f2fd8a3f3f6 Author: Svyatoslav Ryhel mfd: aat2870: Add support for VIN and IN-LDO power supplies This commit enables the vin supply in the AAT2870 MFD core driver and wires up the in-ldo supply for the AAT2870 LDO regulators. > diff --git a/drivers/mfd/aat2870-core.c b/drivers/mfd/aat2870-core.c > index f5409dd91efb3..9017960ee73b1 100644 > --- a/drivers/mfd/aat2870-core.c > +++ b/drivers/mfd/aat2870-core.c [ ... ] > @@ -307,6 +308,10 @@ static int aat2870_i2c_probe(struct i2c_client *clie= nt) > =20 > aat2870->reg_cache =3D aat2870_regs; > =20 > + ret =3D devm_regulator_get_enable(&client->dev, "vin"); > + if (ret) > + return dev_err_probe(&client->dev, ret, "Failed to enable regulator\n"= ); > + > aat2870->en_pin =3D devm_gpiod_get_optional(&client->dev, "enable", > GPIOD_OUT_HIGH); > if (IS_ERR(aat2870->en_pin)) > diff --git a/drivers/regulator/aat2870-regulator.c b/drivers/regulator/aa= t2870-regulator.c > index c2d67f99498e5..aea9a5526a110 100644 > --- a/drivers/regulator/aat2870-regulator.c > +++ b/drivers/regulator/aat2870-regulator.c > @@ -105,6 +105,7 @@ static const unsigned int aat2870_ldo_voltages[] =3D { > #define AAT2870_LDO(ids, match, vsel, vmask) { \ > .name =3D #ids, \ > .of_match =3D (match), \ > + .supply_name =3D "in-ldo", \ > .id =3D AAT2870_ID_##ids, \ > .n_voltages =3D ARRAY_SIZE(aat2870_ldo_voltages), \ > .volt_table =3D aat2870_ldo_voltages, \ [Severity: Low] As reported by Lee Jones on v7 [1], should this commit be split into separate MFD and regulator patches? The vin-supply lookup in aat2870_i2c_probe() and the in-ldo .supply_name entry in AAT2870_LDO have no build or functional dependency on each other. Even though the regulator hunk depends on commit "mfd: aat2870: Convert to use OF bindings", splitting them lets the MFD and regulator maintainers review and take the changes independently. [1] https://lore.kernel.org/r/20261126124719.GJ38590@joneslee-macbookpro.ro= am.internal --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261204060605.2068= 8-1-clamor95@gmail.com?part=3D4