Message ID | 20240604-nvmem-v1-1-b784260a36a6@cherry.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1F47EC27C52 for <linux-rockchip@archiver.kernel.org>; Tue, 4 Jun 2024 16:28:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To:In-Reply-To: References:Message-Id:Subject:Date:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=DSXwqPAYhx4UVDIwhUbYHu/rorINj8lTqr2QbTmll4Y=; b=QnMH4PDpdteJdNg96Vvr20KuJT l0hikIx8I0LJo6rOSzpyXX7U7i6ZmFgr1hI6hXKtLTsUA8PR1mIMwHDxx65usAktMQsv3/kUb4G3C xljGW6YD2F6K9O0+Nu1JBbSBtcjLh+BrZhNCKx8P7I86OKIOfilXyCX6G0J/YtdpD4ryBAHGRH0Lw /IlHturE+Eh6U0nU5iV/ZnaoIazIMbWjg9EErFyC+yITD175CN9yBqMuNoEljMKMB+Cu3gNbc6V2S 0X5Fv8HJPbUgCme8PtrO2WgohvFPqCT0gdepk0fhZ1OBQiCZRyAkkEMXVyZNVz15iA9fUIqOvC4g+ kZSnX24A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sEX1d-000000037aN-3GQD; Tue, 04 Jun 2024 16:28:41 +0000 Received: from mail-db5eur01on072f.outbound.protection.outlook.com ([2a01:111:f400:fe02::72f] helo=EUR01-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sEX1Z-000000037VB-3jD2; Tue, 04 Jun 2024 16:28:39 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bTc1VF8bX2kBjrGpFnzPjDd4dnFCU8bQ73810yhpFnK4KLjcr4JOg4Ti01tvF/3IdCNkPuANLEGkVvME6a4/hXCWR+biysB477G8zStRG0dLRZz6AJXTt3f0W7D2ZxfB/7KD3oRIQ6zaTtB8rKWe1XNt4hWCnTrFa7VDpm2ggEzfINwz9rpxgmTIUldNjP+Ji3XorpKHZgaBOOEELwb0P2Co0qjHZF6j9kEWLgJb7SgqoId1fRGRlyNpgaGJQhzUrUBPQyqRywV/Z4RXUXzA4mrbl3JWQ+LCtktF+osxSpYWbGtq9ezu0l7hcalsbdLCLXtxXENjQkuGbXuC1nd1AQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=P4qnfQ+QQZN9oKjn0Q6893frkDg1cZfJxfCY7iSusMA=; b=RVEZpo2Dt+9uRB6m5WYSgTDpdbH/z41R88Xhh1oV9C26VodIKCq+63n31iqSbwVpryviqR+H+ozDXA7jPqpJy5FKI+Pp2LeqWentyMmKquHjbhXZIZJvQ7k9DNeNfFS1fmCgZtKky09DGGHnBmKXBiANsk597epPrzh0gAiF9WgyeBE7QVBLNSC0oOWTTNbHC7q3GDiEYWPWDCP8O9Np5H6fLIYxtpCUgiBbpw2vXyLDfU+fN9Ou27TPeg03VAp1NMsQNE9xsoWKUjqUJMRgVyv6es697E7DB1wN9dvShoQyl6wcV2s/XKPFjWlL/w6/gQnkBFymmJTCHSg6UpKXzw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cherry.de; dmarc=pass action=none header.from=cherry.de; dkim=pass header.d=cherry.de; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cherry.de; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=P4qnfQ+QQZN9oKjn0Q6893frkDg1cZfJxfCY7iSusMA=; b=BkncP1IyCzMjSu7ayTrGPnRF1vyNji3e+TIWBQn6g2L+C16XHeXsR1s3FenB/mWd8HW3bwYjpTbDhCTTipsAPaDRgy6DW18I2ajNCVI5otVEBgM5ogtbALqZzf6FwZNxEczhmSFZh0qjZm8Csa+mN4EZj8b4rf9NULUgBRIOgOA= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=cherry.de; Received: from VE1PR04MB6382.eurprd04.prod.outlook.com (2603:10a6:803:122::31) by PAXPR04MB8893.eurprd04.prod.outlook.com (2603:10a6:102:20c::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.25; Tue, 4 Jun 2024 16:28:26 +0000 Received: from VE1PR04MB6382.eurprd04.prod.outlook.com ([fe80::2a24:328:711:5cd6]) by VE1PR04MB6382.eurprd04.prod.outlook.com ([fe80::2a24:328:711:5cd6%5]) with mapi id 15.20.7633.021; Tue, 4 Jun 2024 16:28:26 +0000 From: Farouk Bouabid <farouk.bouabid@cherry.de> Date: Tue, 04 Jun 2024 18:23:51 +0200 Subject: [PATCH 1/4] arm64: dts: rockchip: add mule nvram/rom to rk3399-puma Message-Id: <20240604-nvmem-v1-1-b784260a36a6@cherry.de> References: <20240604-nvmem-v1-0-b784260a36a6@cherry.de> In-Reply-To: <20240604-nvmem-v1-0-b784260a36a6@cherry.de> To: Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org>, Heiko Stuebner <heiko@sntech.de> Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Farouk Bouabid <farouk.bouabid@cherry.de>, quentin.schulz@cherry.de X-Mailer: b4 0.13.0 X-ClientProxiedBy: VE1PR08CA0003.eurprd08.prod.outlook.com (2603:10a6:803:104::16) To VE1PR04MB6382.eurprd04.prod.outlook.com (2603:10a6:803:122::31) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VE1PR04MB6382:EE_|PAXPR04MB8893:EE_ X-MS-Office365-Filtering-Correlation-Id: 3f2e841c-9c22-4114-ff0e-08dc84b35c7f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|376005|366007|1800799015|52116005|38350700005; X-Microsoft-Antispam-Message-Info: =?utf-8?q?s37oNT4CKoR0jlu6IsLw6MIqRjZ3bDS?= =?utf-8?q?M+KSYF/nprW9NybWKf5O0ZzvrS7sYQ0qfQRNhiAh56Dj7Lk8Zf3Na+dWXYNeQBAOe?= =?utf-8?q?QTakLd1SYq8ZtWDMXGQZUz8EpU3DnTTlcYJrHQYUWn4Lbr8phA7FrULomdzoBaiTP?= =?utf-8?q?4FxZ4x54CoX8sWTxuSXXO0Lr24qMpEY4NDoCLW1Ic+66Dntajiv1DavAvDEsPd8bl?= =?utf-8?q?yi0EuQ3/A91hnYhFwZDZHVlf0IKaWmU53wcFiXXN0EQJIxW9M8gJr8D10pBTBqrh5?= =?utf-8?q?W6Eu9O2fwzRviomi9owtWHsWnkmvlRiSg3+lfgQfDVT1j+PHQZudAz/qmfUwb99Fw?= =?utf-8?q?+mb12RS80zRK5V6y9i2cnGTeKyN2HGAvZ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Im0t8vCzkEZOoWIIqe7PdEzGHV+Smtu6?= =?utf-8?q?HGBHScIlnDrSbCZyHR0kKhuAN3nj/8yqlTDWRsDDGLbqheXYpXvPiRJM=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VE1PR04MB6382.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376005)(366007)(1800799015)(52116005)(38350700005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?2QoSvHPfJImH7sWvH35UhO9YUrv0?= =?utf-8?q?thFP1GhinHX7dl1sBSX2DWVEeFL9/oijIqnYwQl/kzJElnVKU7M+g4BvxYqSZkUjA?= =?utf-8?q?63FH1OHobx8NMT6y6XYX9MV4C3H9ZkipfDerH/UxlBD3OFLo2HbsTlIlsxLbTxsm9?= =?utf-8?q?9QSum+z1ibCMOkW/DBgt8tEFIpBSFLGgv5A8rP3nCY7v9wnxf0ZVumR0L3046NIwM?= =?utf-8?q?nnWHtTtxg1B1y4WQxy1/nrpQieRlvBagonVm/sDHB/D1jikmn/omjUlhtDCOMICqU?= =?utf-8?q?cycZ3ZbG+b3bZC6HQ1EhiSj6z+VvtVLOXJQMPF7xWeL89ryH+eb7fZn2+4dbTIG5D?= =?utf-8?q?JyNUuJGAESqnSsPE/xj2Ob23k7ixDHRS4VO8rhWkJMlr+KTKDyBVlx/OEvcjUJ905?= =?utf-8?q?9jJphC1cEPD9kTsdgSVFdahXce24F/5eAsa+3FYYojfwXNJEOALT6AU9Jdn9WDlPT?= =?utf-8?q?hPnruL1/tJyx01fc4H/2j75UnWmMGNtDfxsYbHjNqy26/G31Ren3144V3MrB8CYWd?= =?utf-8?q?z62xzMYdpfp2yfd1wPDSlshJwGjiGLZCz8lqtCk+F9IAq1iU18iDOjINdC6xuTC22?= =?utf-8?q?nrnHJl3n153xutbt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RtZRyAs+av2VInwdxOWxKb44XzPjXDzCwsT+Tx8TGLMmW9udzut?= =?utf-8?q?awUXPSQfx8Sppd6PurHygE6LmoFujeMskA=3D=3D?= X-OriginatorOrg: cherry.de X-MS-Exchange-CrossTenant-Network-Message-Id: 3f2e841c-9c22-4114-ff0e-08dc84b35c7f X-MS-Exchange-CrossTenant-AuthSource: VE1PR04MB6382.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jun 2024 16:28:26.6710 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 5e0e1b52-21b5-4e7b-83bb-514ec460677e X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: a3njefz0yTYfzBX2Jmlz1YEOS4A4jG7Vnv1yFkoSefuXClWS5SI+r9gnZMnAntVDHgNej3EDzyAbUzMHK0h1lnC8f86dKUeHFSwdwkq3XqI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8893 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240604_092838_018841_52F562C6 X-CRM114-Status: UNSURE ( 9.67 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms <linux-rockchip.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-rockchip>, <mailto:linux-rockchip-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-rockchip/> List-Post: <mailto:linux-rockchip@lists.infradead.org> List-Help: <mailto:linux-rockchip-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-rockchip>, <mailto:linux-rockchip-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-rockchip" <linux-rockchip-bounces@lists.infradead.org> Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org |
Series |
Add Mule NVRAM/ROM support
|
expand
|
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi index 69b57cde7d78..7ab688c46a49 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi @@ -11,6 +11,8 @@ / { aliases { ethernet0 = &gmac; i2c10 = &i2c10; + i2c12 = &i2c12; + i2c13 = &i2c13; mmc0 = &sdhci; }; @@ -395,6 +397,49 @@ fan: fan@18 { #cooling-cells = <2>; }; }; + + i2c12: i2c@2 { + reg = <0x2>; + #address-cells = <1>; + #size-cells = <0>; + + eeprom@18 { + compatible = "atmel,24c02"; + reg = <0x18>; + size = <8>; + }; + }; + + i2c13: i2c@3 { + reg = <0x3>; + #address-cells = <1>; + #size-cells = <0>; + + eeprom@18 { + compatible = "atmel,24c02"; + reg = <0x18>; + read-only; + size = <32>; + + nvmem-layout { + compatible = "fixed-layout"; + #address-cells = <1>; + #size-cells = <1>; + + mule-variant@0 { + reg = <0x0 0x1>; + }; + + mule-bl-version@1 { + reg = <0x1 0x8>; + }; + + mule-version@9 { + reg = <0x9 0x8>; + }; + }; + }; + }; }; rtc_twi: rtc@6f {
Add mule NVRAM and ROM on the Mule I2C mux (0x18). Signed-off-by: Farouk Bouabid <farouk.bouabid@cherry.de> --- arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi | 45 +++++++++++++++++++++++++++ 1 file changed, 45 insertions(+)