From nobody Thu Oct 2 19:25:11 2025 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 082513128D4 for ; Fri, 12 Sep 2025 13:14:25 +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=1757682866; cv=none; b=hnCiKoMqyw3CdQTo/C50c2UxUq1rz5NLmNQrvJu2F8nFdNQNvTV7UuY+m1TbIOyLGVUlq8FPHA9bbG3/kZxu1V5LoPAsXou6WkLNotbPqrNhoKo2CHWfp/59Xc34iaRUBWWmX7e3ElJNSVHcfRgtXaR+ydHRdgtTw/s73nZZsTA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757682866; c=relaxed/simple; bh=pkC7ern/uN8BEg2zJ6EAKz3XbhIClZBy4AFcKmwVBFc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=GEhNgAQq81jDNMHH9GmXPU9F897VXuADuC1C+4d4Ytpj9ro1bo4Fra99U0vM9UK4jIzXEb+YcXTM9wLlyrJmFqqFY2atEY8mKo9TP/kE76+ukPhVZT+HHvHR/bioI2YzMvokawTNvGxq6F35fcKgnpgW0lzANcA/2G9Wn8wyP90= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=lBhOGBiF; 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="lBhOGBiF" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 95EF6C4CEF4; Fri, 12 Sep 2025 13:14:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1757682865; bh=pkC7ern/uN8BEg2zJ6EAKz3XbhIClZBy4AFcKmwVBFc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lBhOGBiFup7kX5OzCs2mMLhATqqkzww5s5ShL839g0VDEzZ6VZ+lxoEcv4A7NYXa9 v+78ZNKBVGvXL7512lK5Q5Sa41/iueRaopnHzGy6moWLh3s3KPR512VLXRJbwtMIWu 4h6Ue4Q2Jl5yi3c1gkHn4SHbEvAWZISL/p63YT/tQ9VIHv+fGZFnoCIZg1+apYEX4J OQZZjqhm4YcsEUki8AYDxp5X1GidjBqYhybFk2eITHbbfgChKrLM3dL4FMYfDbVnuV Qmd1szwcNY0YC9epIJBi2t0QJs+WEisgHIMuO3wuA7j9fO1i1V1O2JVGIhgPaudLGh KDmQI7rkgypFQ== From: srini@kernel.org To: gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, Christian Marangi , "Rob Herring (Arm)" , Srinivas Kandagatla Subject: [PATCH 4/5] dt-bindings: nvmem: Document support for Airoha AN8855 Switch EFUSE Date: Fri, 12 Sep 2025 14:14:14 +0100 Message-ID: <20250912131415.303407-5-srini@kernel.org> X-Mailer: git-send-email 2.50.0 In-Reply-To: <20250912131415.303407-1-srini@kernel.org> References: <20250912131415.303407-1-srini@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Christian Marangi Document support for Airoha AN8855 Switch EFUSE used to calibrate internal PHYs and store additional configuration info. Signed-off-by: Christian Marangi Reviewed-by: Rob Herring (Arm) Signed-off-by: Srinivas Kandagatla --- .../bindings/nvmem/airoha,an8855-efuse.yaml | 123 ++++++++++++++++++ 1 file changed, 123 insertions(+) create mode 100644 Documentation/devicetree/bindings/nvmem/airoha,an8855-e= fuse.yaml diff --git a/Documentation/devicetree/bindings/nvmem/airoha,an8855-efuse.ya= ml b/Documentation/devicetree/bindings/nvmem/airoha,an8855-efuse.yaml new file mode 100644 index 000000000000..9802d9ea2176 --- /dev/null +++ b/Documentation/devicetree/bindings/nvmem/airoha,an8855-efuse.yaml @@ -0,0 +1,123 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/nvmem/airoha,an8855-efuse.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Airoha AN8855 Switch EFUSE + +maintainers: + - Christian Marangi + +description: + Airoha AN8855 EFUSE used to calibrate internal PHYs and store additional + configuration info. + +$ref: nvmem.yaml# + +properties: + compatible: + const: airoha,an8855-efuse + + '#nvmem-cell-cells': + const: 0 + +required: + - compatible + - '#nvmem-cell-cells' + +unevaluatedProperties: false + +examples: + - | + efuse { + compatible =3D "airoha,an8855-efuse"; + + #nvmem-cell-cells =3D <0>; + + nvmem-layout { + compatible =3D "fixed-layout"; + #address-cells =3D <1>; + #size-cells =3D <1>; + + shift_sel_port0_tx_a: shift-sel-port0-tx-a@c { + reg =3D <0xc 0x4>; + }; + + shift_sel_port0_tx_b: shift-sel-port0-tx-b@10 { + reg =3D <0x10 0x4>; + }; + + shift_sel_port0_tx_c: shift-sel-port0-tx-c@14 { + reg =3D <0x14 0x4>; + }; + + shift_sel_port0_tx_d: shift-sel-port0-tx-d@18 { + reg =3D <0x18 0x4>; + }; + + shift_sel_port1_tx_a: shift-sel-port1-tx-a@1c { + reg =3D <0x1c 0x4>; + }; + + shift_sel_port1_tx_b: shift-sel-port1-tx-b@20 { + reg =3D <0x20 0x4>; + }; + + shift_sel_port1_tx_c: shift-sel-port1-tx-c@24 { + reg =3D <0x24 0x4>; + }; + + shift_sel_port1_tx_d: shift-sel-port1-tx-d@28 { + reg =3D <0x28 0x4>; + }; + + shift_sel_port2_tx_a: shift-sel-port2-tx-a@2c { + reg =3D <0x2c 0x4>; + }; + + shift_sel_port2_tx_b: shift-sel-port2-tx-b@30 { + reg =3D <0x30 0x4>; + }; + + shift_sel_port2_tx_c: shift-sel-port2-tx-c@34 { + reg =3D <0x34 0x4>; + }; + + shift_sel_port2_tx_d: shift-sel-port2-tx-d@38 { + reg =3D <0x38 0x4>; + }; + + shift_sel_port3_tx_a: shift-sel-port3-tx-a@4c { + reg =3D <0x4c 0x4>; + }; + + shift_sel_port3_tx_b: shift-sel-port3-tx-b@50 { + reg =3D <0x50 0x4>; + }; + + shift_sel_port3_tx_c: shift-sel-port3-tx-c@54 { + reg =3D <0x54 0x4>; + }; + + shift_sel_port3_tx_d: shift-sel-port3-tx-d@58 { + reg =3D <0x58 0x4>; + }; + + shift_sel_port4_tx_a: shift-sel-port4-tx-a@5c { + reg =3D <0x5c 0x4>; + }; + + shift_sel_port4_tx_b: shift-sel-port4-tx-b@60 { + reg =3D <0x60 0x4>; + }; + + shift_sel_port4_tx_c: shift-sel-port4-tx-c@64 { + reg =3D <0x64 0x4>; + }; + + shift_sel_port4_tx_d: shift-sel-port4-tx-d@68 { + reg =3D <0x68 0x4>; + }; + }; + }; --=20 2.50.0