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=1796527311; b=Cy3zZzYxIXo3DG2n1Sdv2dA2BwZJb3+L9L3mgt5AoOrUXJBzsGUy0x5fwldw7MeQQFhO fANkTMWeeo5DMwFleWieGJ/rrsBG2DxKG7+AR2uYXyZnbd/LKdYotKIuCYHJ0Vd/RwAH7 RZYcARoG4eqHwj2v82xldg/A1FfhH8XplkzmvOzdODVom0n31VPQxtEiaxdJSc1w8sv45 OTDyeZdx3sSkva/8AGmm6MXTduI1casr+POVGVFSVjG3twmovth48A4h2O5ikzHeJFDBn BqbZ2FdYo071E3l94O0epLH2iCX81aO7YP7yR0LzOB/ZgVgLyRvoEdhRVpa7A0l75eA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796527311; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=0VyJZiovxDWwDqnJSBsrccWVeoMwYMIK61Cpmn6ol1o=; b=ODc1Q+8+8GuJH124sBx2EOUWHSRLv4yqkyLoNeXnaRpIPsgOSieZNrUA9PjaTLqR+0nq 4fExXDECSBVGHv02umARUB7JxiABSReKIzvgOCa9S6p0/k4PSJDUINUYR0HrY1TNJRfmn UtlztFP6/mkTJQT883boFlHKPFV56wPtZEHd1LTlA4MCqIxW673hGVndLsqjVXuYijqlY P2gx0rUkbhVPmmJv9z5p09F+ZrML+mGDPuj4sFNED/79BQNzgLZFeoC8Gvyy81Vt1DlHj cWwINEh2HZnpRAaU8XVLAOCi4dOeyL8cfGkS/lb3nMwmyGaihPL+zydsXpRH/XDBekA== 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=AOG9Ieq8; 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 85318606A31F; Sun, 6 Dec 2026 03:21:51 +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=AOG9Ieq8 Received: by smtp.kernel.org (Postfix) with ESMTPSA id BF7E41F0092B; Sun, 6 Dec 2026 03:21:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796527311; bh=0VyJZiovxDWwDqnJSBsrccWVeoMwYMIK61Cpmn6ol1o=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=AOG9Ieq8ZA8tr0L6srMgVoOYQ+nAydy2Grm6aTN+yIZvsVIxq7MXmDorFtHlL9r6O v/8kuCD5l7z/TpvZRDTfQLfj4Qm+U9Bs412Am5JGSInNcqOEZfcxRnVIuyUHDRZ0cO cTWnRtR4DtOzGBOZkoA8bZUVT/N4KPD0/6lkW2rO6LJck+Cn5e4eP5VlbiwLlXEngn i+3QTyAMqtQSwCugKsD8znckXyH7M/Qg+AEyJdqk/tBH7cdo4gEPNUz9gVDL8zbjCS DO63OWzc05K5Q9Njz/16wz0SzccuZuX2Qnr8etbr82sDyqo9jI6XPt9FkL/2dTstJ1 9lvlUeU/68CYQ== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v7 8/9] Input: axp20x-pek: Add AXP192 support 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-8-0200fc77da53@gmail.com> References: <20261206-axp192-v7-0-0200fc77da53@gmail.com> <20261206-axp192-v7-8-0200fc77da53@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Sun, 06 Dec 2026 03:21:50 +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] Input: axp20x-pek: wrong startup_time table used for axp192_info -- commit cdefc58fa41ce85f7aa8b01d02fa130c1b3b21dd Author: Moln=C3=A1r M=C3=A1t=C3=A9 Input: axp20x-pek: Add AXP192 support This commit adds an axp192-pek variant that reports each short-press or long-press interrupt as a complete KEY_POWER press/release sequence, and initializes axp20x_pek->info before registering the input device. > diff --git a/drivers/input/misc/axp20x-pek.c b/drivers/input/misc/axp20x-= pek.c > index a02cdabcf22b1..739da57ca08cf 100644 > --- a/drivers/input/misc/axp20x-pek.c > +++ b/drivers/input/misc/axp20x-pek.c [ ... ] > @@ -78,6 +83,14 @@ static const struct axp20x_info axp20x_info =3D { > .shutdown_mask =3D AXP20X_PEK_SHUTDOWN_MASK, > }; > =20 > +static const struct axp20x_info axp192_info =3D { > + .startup_time =3D startup_time, > + .startup_mask =3D AXP20X_PEK_STARTUP_MASK, > + .shutdown_time =3D shutdown_time, > + .shutdown_mask =3D AXP20X_PEK_SHUTDOWN_MASK, > + .press_events_only =3D true, > +}; [Severity: Medium] Does the shared startup_time table match AXP192's hardware encoding? In startup_time[], idx 1 (0b01) maps to 3000 ms, whereas on AXP192 register 0x36 bits [7:6] =3D 0b01 is 512 ms (the reset default) and there is no 3000 ms setting. Reading startup reports 3000 ms instead of 512 ms, and writing 512 programs 128 ms while writing 3000 programs 512 ms. Defining a dedicated axp192_startup_time table mapping idx 0..3 to 128, 512, 1000, and 2000 ms (like axp221_startup_time) would match the AXP192 encoding. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261206-axp192-v7-= 0-0200fc77da53@gmail.com?part=3D8