From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D999024469A; Tue, 10 Jun 2025 17:17:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749575862; cv=none; b=B3oLvcjtRyYlZXEegPF4FAeWUI+CaY3CVXFJoZ9VhithLrmuDg/ehSkRW/HRro/IzpnhmLJZ/D3anrR8RLnFxPc1f15vXDLemtHEOW0ubWS4FLw3/JhXq/ePuK7W7s2C1o1mL0Ok+mbWNcOq/Z72lX3/oWlHhm+OCk0IknP0FlM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749575862; c=relaxed/simple; bh=fPg8S/rzUTKuex98/cz90LlEdInNu16JQUmeSFP4WQQ=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=DtqS1/UfWrDwdmPtiuAOBmYVFUO2/92I5Kklw23QNzNyj1UuESkm4RL6FmbnwNahJfOmz/FI7Ah9+whBWHBu1KQHniUHsajwN9XWfROmZ4+Oq3i3STVbURXhzT8woN7edn80bxlHSjuZjJQK8TyI+RvxhLR5xgg4zB8zh+/SNHg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=HF8Vdgds; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="HF8Vdgds" Received: by smtp.kernel.org (Postfix) with ESMTPS id 65E24C4AF0C; Tue, 10 Jun 2025 17:17:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1749575861; bh=fPg8S/rzUTKuex98/cz90LlEdInNu16JQUmeSFP4WQQ=; h=From:Subject:Date:To:Cc:From; b=HF8VdgdsRREyh6x7u8wIIm9S4csdwObyTpVrnS4h31UNuK2xXExpUVGvr8hnI5cyZ CFV9VdVLJXt3CtZyzRDx4t31uZuG5mJDIUWA2ligbablPoJOIHkNImi8Rc4zUXmP6t 5RQqUHer6RR2oAag9Dh0Y54h3zGmJ7MUquK2sGsbBt1KFmZCzLqPy51TOy8PgWX2aE ClEQQQRe2+mtFguqRs80CLkEO6m1qXX7bzaI37p07TwVb14Lyu4Xpl01ckd/DI5hdN rrfF73squxIC78JvbzYjx9GCbJcFsabOxjpkaUcL9jUbtloX4mAJJXi3/3wvTmP5CX mmw7HSVOLZBwA== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4E3ACC5B552; Tue, 10 Jun 2025 17:17:40 +0000 (UTC) From: Sven Peter Subject: [PATCH 0/2] Extend nvmem patternProperties and then fix W=1 warnings in Apple dts Date: Tue, 10 Jun 2025 17:17:33 +0000 Message-Id: <20250610-nvmem-bit-pattern-v1-0-55ed5c1b369c@kernel.org> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAK1oSGgC/x3MTQqAIBBA4avErBtQ+6G6SrTInGoWWqhEIN49a fkt3ksQyDMFmKoEnh4OfLkCWVewnas7CNkUgxKqE51q0D2WLGqOeK8xkncojd6acae2HySU7va 08/s/5yXnD5+geepjAAAA X-Change-ID: 20250523-nvmem-bit-pattern-1dbc39fe4681 To: Srinivas Kandagatla , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Janne Grunau , Alyssa Rosenzweig , Neal Gompa , Hector Martin Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Sasha Finkelstein , asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Sven Peter X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1262; i=sven@kernel.org; h=from:subject:message-id; bh=fPg8S/rzUTKuex98/cz90LlEdInNu16JQUmeSFP4WQQ=; b=owGbwMvMwCHmIlirolUq95LxtFoSQ4ZHxnqnyK9d9eznZB4WMUlWvjKfn3RvUdCspLZfzxXYO JKbHl7pKGVhEONgkBVTZNm+3970ycM3gks3XXoPM4eVCWQIAxenAExEpoeR4UDJjhVa69UPLAk5 cG3+3Sfacd89/6b+2FCf82FtJe8GRzVGhnmsV2o27b4eGjr/dsKeGo53czUe3Hrbs071pNNmC17 9O+wA X-Developer-Key: i=sven@kernel.org; a=openpgp; fpr=A1E3E34A2B3C820DBC4955E5993B08092F131F93 X-Endpoint-Received: by B4 Relay for sven@kernel.org/default with auth_id=407 Hi, This brief series fixes a W=1 warning recently introduced with the Apple Silicon PMIC NVMEM nodes. We have cells that are the same bytes but a different bit offset and these currently result in the same node name. The legcy layout already allows to specify the bit offset in the name as a suffix but this isn't possible in the new fixed-layout. Thus first adjust the fixed-layout cell patternProperties to the same pattern as the legacy one and then fix the node names in our device tree files. Best, Sven Signed-off-by: Sven Peter --- Sven Peter (2): dt-bindings: nvmem: fixed-layout: Allow optional bit positions arm64: dts: apple: Add bit offset to PMIC NVMEM node names Documentation/devicetree/bindings/nvmem/layouts/fixed-layout.yaml | 2 +- arch/arm64/boot/dts/apple/t600x-die0.dtsi | 6 +++--- arch/arm64/boot/dts/apple/t8103.dtsi | 6 +++--- arch/arm64/boot/dts/apple/t8112.dtsi | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-) --- base-commit: 19272b37aa4f83ca52bdf9c16d5d81bdd1354494 change-id: 20250523-nvmem-bit-pattern-1dbc39fe4681 Best regards, -- Sven Peter