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=1796527128; b=EkgI5ISUEGeUHOJny+8XInNCWApbOKh0mTjDtoSwQEnUaMlzxGvI6rikbnWmRnaVk4Rz RZPGgQS89rtcoZpy1T5EXipxNNqlqslVDEL2+1Luxdd82zdn7DUGPKkOxFCyzTJmGExWX d0KKRCbcDnk0M3l7IgJfqZsvTNyxSUEPTlA0IvgoDanl13Bur9i5LJj1lE2strD1onG+i OhUt9svQMO9g2lVehRphW0fL4sK4gMdbXsK4cr6PK6UUmrFcjA9pFF794042dE1s4Zviu KAw0YSqnnrS+dVVpV2Ebg9MmLNe8T30DYaXYUn43Kix2wc/qqVJK+Q/AYF3X254QN8g== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796527128; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=L3vUH6g+ZGtVK7OfzbT7xB7BtHUA6Bvt7kVteqs5Q7Q=; b=xjY5glAqqkysRs8TUrJrWbQvtxA+mGzBoAlsIMz2Tw2um2AhUpi9USIjRxUbrLABK5DX 4J90MAQnqsXNrCFBTOodiG73yZuMAANw/iXYtTyobY6PqetyzBtK4q5+ruBLitc4Ww6DE EA4UabGuQLKPiaw11pnuapWljBX8+LuW+5fvJGeSm4p3lRYelJQ2oB8AXK0ld6qSQshSo cyEWfkversZXM6k5k05ilqiguqozyUoILW9EsP3AVcQylsOrTbm+ufTU6nIebOhhopNot Ev9SRFNmukwixduQTa5jDD9q81OMqQyuD5hkln4GKzRMJ1FdS9HyZ8tp/Rmk8VJnaKA== 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=XVm5OIBE; 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 74973606A322; Sun, 6 Dec 2026 03:18:48 +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=XVm5OIBE Received: by smtp.kernel.org (Postfix) with ESMTPSA id E3D7F1F0093B; Sun, 6 Dec 2026 03:18:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796527128; bh=L3vUH6g+ZGtVK7OfzbT7xB7BtHUA6Bvt7kVteqs5Q7Q=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=XVm5OIBEJ+5TGADGivPdWGigV0hIjbDyol3eV2yPThMlkeyNF8qgt3sRSIXV/fXfi ZbXOPZOkwtZ2khYLTGcOvQPEYHWYL2W972BphTgUh2uKPDmwPFQ0P62wOf0oGQsHLK BUH756MO3NjmsW24ubQ3NWNtxc/vkzcIgiGWA+A31tFt9O7ftCVGN1vy4l+HFuwmTO oA58JCq9WsMBerE3S5AT28PP/J7mPRXXY+pKUOmmndLDQOjxHSmX5N9iSGQ0RjYgNj QnB5+IkQhnWGuJoYJM6Mqgn3Lowm7Sa9NhpajSLxEy7w3+0j2NCs1PlP9h5eASzEru myuvXtdpdGSlA== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v7 9/9] mfd: axp20x: Add the AXP192 power key cell Reply-To: sashiko-reviews@lists.linux.dev To: =?utf-8?b?TW9sbsOhciBNw6F0w6k=?= Cc: devicetree@vger.kernel.org, linux-input@vger.kernel.org, mfd@lists.linux.dev, robh@kernel.org, conor+dt@kernel.org, dmitry.torokhov@gmail.com, lee@kernel.org In-Reply-To: <20261206-axp192-v7-9-0200fc77da53@gmail.com> References: <20261206-axp192-v7-0-0200fc77da53@gmail.com> <20261206-axp192-v7-9-0200fc77da53@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Sun, 06 Dec 2026 03:18:47 +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: - [Medium] mfd: axp20x: axp192-pek binds wrong startup_time table (3000 ms vs 512 ms) -- commit b429e0305e2c580e4921542de1958ebb7c2e1469 Author: Moln=C3=A1r M=C3=A1t=C3=A9 mfd: axp20x: Add the AXP192 power key cell This commit registers the axp192-pek MFD cell and its short and long press IRQ resources for the AXP192 PMIC. > diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c > index 4d770e7187160..f9bf06ddbe09f 100644 > --- a/drivers/mfd/axp20x.c > +++ b/drivers/mfd/axp20x.c [ ... ] > @@ -956,6 +962,10 @@ static const struct mfd_cell axp192_cells[] =3D { > .of_compatible =3D "x-powers,axp192-usb-power-supply", > .num_resources =3D ARRAY_SIZE(axp192_usb_power_supply_resources), > .resources =3D axp192_usb_power_supply_resources, > + }, { > + .name =3D "axp192-pek", > + .num_resources =3D ARRAY_SIZE(axp192_pek_resources), > + .resources =3D axp192_pek_resources, > }, > { .name =3D "axp20x-regulator" }, > }; [Severity: Medium] Does binding axp192-pek expose the wrong startup_time table on AXP192? In commit "Input: axp20x-pek: Add AXP192 support", axp192_info in drivers/input/misc/axp20x-pek.c reuses the AXP20x startup_time table, where idx 1 is 3000 ms. On AXP192, register 0x36 bits [7:6] encode 0b01 as 512 ms instead (128, 512, 1000, and 2000 ms). As a result, reading the startup sysfs attribute reports 3000 ms instead of 512 ms for the hardware default, and writing 512 selects 128 ms while writing 3000 programs 512 ms. Adding an AXP192-specific startup_time table that maps idx 1 to 512 ms would fix this. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261206-axp192-v7-= 0-0200fc77da53@gmail.com?part=3D9