From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oo1-f44.google.com (mail-oo1-f44.google.com [209.85.161.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 54A2E30171A for ; Mon, 3 Aug 2026 14:10:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785766240; cv=none; b=WvyKTjIYCcuv/WAQtYr6mg/U71DIv3Zukequl2HucqM1r/uZ7Y8RDfYXuoXSo8REcP2DlkQcjf2QiHC3L/uOSIzS0Dqw9LhEy3GdSk7XAW+8l677Trbgev/iJcrDc3YoU7KZiV2UbCgLGOccweq6UG7YsN4RLL3Xb7X4gdKMb8k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785766240; c=relaxed/simple; bh=sdMR4rgm4Xdc/V+61aJ3s1zJ7hKIgo4zj5F2xCNrIVM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ZgpuZyaRVojQ7fQm6NDYLj17wSBF/jCfRA5tRlCDMeMTsfgF55E4zdZM+UE1D777U9x/CPiuSNgm57dQasa0h+zA+sWZGGlPG8echoKQHLq0pImkahrVKDmU5b0m65DVWlnP/P2b4b5Gu+9Uq4POvn5JUkCifi3dWMuRmu9T8Uo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=F+NKN8mt; arc=none smtp.client-ip=209.85.161.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="F+NKN8mt" Received: by mail-oo1-f44.google.com with SMTP id 006d021491bc7-6acc88b9c5fso1479000eaf.2 for ; Mon, 03 Aug 2026 07:10:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1785766238; x=1786371038; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=Dkd3Vdy/c11kzXWk975o6VbE77tcIPNyghUoE1Wo9PI=; b=F+NKN8mtZtfBs9mBhCB2jtVJxcYj5KoEkA3EdY8mNss6QBlCNC26wTToGjLRqRYubU gPsZUwcbAFMwb1EIOd4Ri654+UxLh4Ur5pqr1jUDevwjxul677vCNhFHNL96ukiB7vI0 145t2VzD3CYoGgEFV0eZshs/kzfIJEGTN+slI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785766238; x=1786371038; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=Dkd3Vdy/c11kzXWk975o6VbE77tcIPNyghUoE1Wo9PI=; b=XPRCLKu922MLE0XvYZ0ejdq9vj624OhoIrRfoU82Em7nWtyDZFjrEIDCvE9PVbWjy+ 9qO4yFt+/LHx4HjZvVQDAyuLBrO0r+5HCSsnegyJTCzG2CMkq/+dd7hVyrc/7Qy+Mmoj FWJ6ymNsUPBuKxxyAdlE+bnqoPpo2Miab3XYxn5PMzz0CvBYy4bSnWVaa6IhqaXSZ+53 URBnQ7dqHrvzdJF473fo0arjjXbvH+GW2/2F61JvHfGaaqrz/0nvDS3dyQbmWg5Kz1oH rrcq618hktXDg+3kVa/wUIWdJLeMiMEqIoTrDJK+jxWfPMYfMyhWhrCYTWt0Z9BvWQww ic/A== X-Forwarded-Encrypted: i=1; AHgh+Ror8zJEyhpYWxhcMSX7Ov0EUBBTFjQKEnvCnBquAL835/Tj5MAxujbDDHGUpmC82bcLQycY8fRFXdmnkCA=@vger.kernel.org X-Gm-Message-State: AOJu0YwGbEHgadjGqW6OLMwfTAA48ZdpCy5+RFfVcwKgzBykul23bHbh l3Ba/zXgZUFNF5tvQVY1Ph/zbXmqDb+sJGvvOqh3+WsgyM8uU3HbISMHdBvzJunlxQ== X-Gm-Gg: AR+sD12vBLHkXE9k4iqvjd758FCM7H2YoTQOCQfqisWwbU10ZuJnq+4rBw0VhrzV7AX EvOBgZThbGtM4vwuo7nNlsFpsBGv92NFDyDiHPx8y7tKapgYQjELJ6SBX+pvGSW6P/MX7p9iIqj /OGePq4sfG9Ha3hhvQiMGTabFRdWFTsC9hErAQJjlu2ISn2pItnAKA6ks00d5ZnVzE0elnqH61v nRf9PIXjjR+Et+BSCBv6E78FIyQBsCSZyV/+aQdHYdfn8qKHEEyToEUc2SHjoMhWgKItX7rWbSY YNhTmbB3k8zyRRPtHw9oil0lZQUAJpzDI1DVYFaFJ7IOrgDywl1ubayDzrlsyCLo20ECS6KqqtD TV7ReREnNs47B/8yi4qKPd6f7l7bISeb4q1GEP/JiB61ARUSAwH+fHUFDHA5wIOD5+d8tZaDFJ9 x994+RiULW0Ur4xhFyInf06nHNo92Bt6NNpYXIsKRo3qV6vHDZnMCcsjU= X-Received: by 2002:a05:6820:c3d5:b0:6a3:7895:7f30 with SMTP id 006d021491bc7-6ae4358f82cmr10811016eaf.29.1785766234232; Mon, 03 Aug 2026 07:10:34 -0700 (PDT) Received: from chromium.org ([174.51.25.52]) by smtp.gmail.com with ESMTPSA id 006d021491bc7-6ae3a0c9162sm6526695eaf.11.2026.08.03.07.10.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Aug 2026 07:10:33 -0700 (PDT) From: Simon Glass To: Linus Walleij Cc: Heiko Stuebner , linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-gpio@vger.kernel.org, Vladislav Leonov , Jonas Karlman , Simon Glass , Fabio Estevam , Jeffy Chen , huang lin , linux-kernel@vger.kernel.org Subject: [PATCH 0/2] pinctrl: rockchip: Two fixes for latent driver bugs Date: Mon, 3 Aug 2026 08:10:22 -0600 Message-ID: <20260803141028.710706-1-sjg@chromium.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This series contains two small fixes for pre-existing issues in the Rockchip pinctrl driver, found by the sashiko AI review of my RV1106 series. The first makes the SoC-data calculation safe when the probe runs more than once due to a probe deferral: the pin count currently accumulates across runs, shifting every bank's pin base. The second aligns the RV1103B drive-type override in the get path with the set path, which restricts it to bank 2. The first fix is tested on a Luckfox Pico Mini B by forcing the probe to defer once: without the fix the second probe doubles the pin count and no GPIO bank comes up, while with it the values are recalculated identically and all banks work. The second is a behavioural no-op until drive-strength decoding is added to the get path, so it is verified by inspection against the set path. Simon Glass (2): pinctrl: rockchip: Reset the pin count when recalculating SoC data pinctrl: rockchip: Restrict the RV1103B 2-bit drive type to bank 2 drivers/pinctrl/pinctrl-rockchip.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) --- base-commit: fc02acf6ac0ccde0c805c2daa9148683cdd01ba8 branch: rkpinfix -- 2.43.0