Message ID | 20240604-nvmem-v1-0-b784260a36a6@cherry.de (mailing list archive) |
---|---|
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 B0F4CC25B78 for <linux-rockchip@archiver.kernel.org>; Tue, 4 Jun 2024 16:28:42 +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:Message-Id:Date: Subject:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=Xs0ITVMS3ZZ4perPREhPFIeasCPW+8bbSVZ1MBrV7uk=; b=tjoKSZW+6lDe0+ M0kRooSFsLB26tOCfuZq4/LPz6f5kGSZyPgByZp+Fa9Mw8SfFBd1YLqDSPbvhVgzNy3d5fB5XmlHM pyVoj05nMXmks+kuzbXyM0GdlOPQJciwZpoSoj+cposkcHKC/AfE4x2Rezn+VsyQutBMvE6Veejn4 VEJqJE4uWw6lzjNNSa2MNjvc8R75/QAsPcVVH7jiJyrWRDYcIX/VZi3hj5iVRJ05ym6pKsX26Dv5i P9KKvspX8f/eMuZwL9hA+aJ4KOhRiLdMLuMA4az2LJTKrKxk3J/a1OdZbYnrQzGpvbiZJuUq1APtI jmLpmCWyhWE2J00lRx9g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sEX1a-000000037Y3-3BQq; Tue, 04 Jun 2024 16:28:38 +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 1sEX1W-000000037VB-1mqS; Tue, 04 Jun 2024 16:28:36 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LsI3AQu44fS/WazBS8oZGdP1YRmOJzBK6kjOYB01xKj/f5A9kNC8yUpQzgHPJLivrjaVGELpnQgfjzvocSyCiw3MlBKUntU2zJfk4VeSnya6QSw1WMFyea7+UF3Ib5QvPFysimy5x+X7TmbYlY56fjTaNV9XxmQSarMw8/r3kwF1NNGixVR0+aQEQVNqNlE1RJHhkxmLk+HdWnrxqZVrSytwi9OIIIRy5uIE7Rq50cVFqjZYHWwWLJLS9+MR3Dm0dfPbWhFjcB7y+2iR1vspcam3IIG3sl0p3slgZEY0ZPLgdkGO9EdxSEVcgRbcPnnkFsDVi7SW6chynKM/9Xx7hw== 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=X7oYMz6WD6g6S/qqFRn7epX/ImqkPpsOxm/dj5MNM+o=; b=KP4GOXBlhIaXyV9lN/3tTpkZ1Q7NUIoLsE9IMFPMy3HBnWYmoigbl5MavUG/5rOONe/XzjRKpAd0O7xuXl949rrQuaKCq1gIuNqCh8KVz0ZsfZSngjgIk0V87iC/5bvDoUTP0fGHYSZzWgfP1fs4xuWWwai0RCGqWyTjOu/f8wPpHDvbjNuyKEql39Q310M6gkWYmD/uH9l5gA3S3PBCKz8nTooHeXH/sd6P7B+cTFBO1uBbYd27xj2aQQKskemDDUT8dtFsBWghxUMy/XHzaB84K9iu9fh3iXNkikzpJWh40qw1C3V6huferH46SS7yceGdpPmWulFdTZOguFCroQ== 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=X7oYMz6WD6g6S/qqFRn7epX/ImqkPpsOxm/dj5MNM+o=; b=XucFB5UKpHw7gWNF7lyvJp+8N3ukOZ9rZkf5ii1mSXepO2bbNie4OzqlKVY4DdKiyFM057YwUXyzqnUOyZZnJQrl3dpg/sm5as7nPl336RTzjvud2AFeHzhAS9VbPljToDy8htn8wR8pylUMKv3MMSNzMgVIFzyi8UKUm026N8Q= 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> Subject: [PATCH 0/4] Add Mule NVRAM/ROM support Date: Tue, 04 Jun 2024 18:23:50 +0200 Message-Id: <20240604-nvmem-v1-0-b784260a36a6@cherry.de> X-B4-Tracking: v=1; b=H4sIAJY/X2YC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIxMDU2ND3byy3NRc3bQUI0ugiLFBSqqpElBtQVFqWmYF2Jzo2NpaAKkKcC5 XAAAA 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: 63eacf43-59d3-45c1-843d-08dc84b35c5f 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?tECHNifbYzeshADC9hatxaDt4Nn5SF8?= =?utf-8?q?ToauToQ0sIb6Yse09cs9HKtRJw9KQyOdFCQs9uMFNgQfn9lGlsrkRDUpc1reMoA48?= =?utf-8?q?ku3TyDqtmJZbnLLfvM/FPQzlzWZXxvOvZ/o1BuLxHeIsCqiCdEAarQ6E6hn3NnOWU?= =?utf-8?q?HGQmXZGwG44SLi8D8xo491hqRT+S0IdTjxDeZHikjeQttwKTOQ0gn6ErLNcWpaAXj?= =?utf-8?q?/YcEgEGW8fveDoMXbsOifZrv0byNLX94OA1LME6n5JKzsY7TY6acqgeyTOipKQ33q?= =?utf-8?q?oKhVVjolxJyJ6pr5rJ2wV5DCfuPLKth5Jp7mrD4kBTOK/Dbf+GSrADypvTDHHzZ68?=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q?7+I1m7MUBY5WoymZBDYWoTMwdabN4rglRJBT0rBNhX1Z5PIboDejTBbdFxxV+BTL7?= =?utf-8?q?tWim9ojaxW0p73qCcloshdaaSi2RGWb2JZyIA4sm0/953dm3idf5qvD0=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?lG+BtysaqhnGRwtzp4SRvfA8xQo4?= =?utf-8?q?d8rCXHjtjuO42BFoW364gRRjVeolIl7t3K4+HuJxXTQu4MvcEAm7CI8+g7GKkUufP?= =?utf-8?q?DtIytbACU5T3o79+U+EwljV8Y+zo00rkT2WC6cM3asEB1QKGIIU8BMg//vDgRKtRJ?= =?utf-8?q?gYFjf0WeUhUZwLtoFoHNojoHdBuSJ9VGl0rlo9SgHi5IZqSOq+0eBcf1EBJmKwdKY?= =?utf-8?q?J3ZKGJfM7lWHnxQ9CHdgO7+6s8htWTckBcSntCY7ueFq7rv9PCr+BYTGw5EER4bjG?= =?utf-8?q?9n4Io1jkfhnKhBShzEKLG4F4rVDOrFjEXVHZLNDYjqkzox7UltQ4m5Ox6oVr8Fpob?= =?utf-8?q?yDzvFX7BYUIHGHFpT74Vw0Ud5dYGx3nC71xl7km6gI3izX0vDdEJBd64VM5jaAqPV?= =?utf-8?q?N5Qnh8vJggjOYv7ZNjVZPnFb7mI7vBpjAe1Eu0t9jMsK17qNkPKVW+vETKXMqUv0K?= =?utf-8?q?TqV5zhmltSJ83Uqrvl72eU04w0AAS1A/A1fWO44vIPV3eFruqAzJR4E++v6AqjyUZ?= =?utf-8?q?fF2IPM/YDSkMvpTbxSoDPdapIAksYWfoSVbrkdr2i5H6ElHvbI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ugE?= =?utf-8?q?c2w8V7FlBBzErJ5p96cxCrTdhOgwSn/S0FI7rHLNzFs0J9fo0it/5EvclkH6v8KY6?= =?utf-8?q?9apv74Pidcc9c9qoFtTL7LpA99OfDY+h7A=3D=3D?= X-OriginatorOrg: cherry.de X-MS-Exchange-CrossTenant-Network-Message-Id: 63eacf43-59d3-45c1-843d-08dc84b35c5f 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.4597 (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: zpD1OVVDxV+N4AjKO0YsaI7SlK1YD4jyO5kdTALmhvExrCof4nu7nXSK1JDlwNkAaPc1Ya2yFmaqVtx9Z0ge/lZToDW7WYvh4ajVekoliXk= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8893 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240604_092834_519736_45609BD5 X-CRM114-Status: UNSURE ( 7.81 ) 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 |
Mule is an MCU that emulates a set of I2C devices which are reachable through an I2C-mux that is implemented in a different patch-series[1]. Device #2 on the mux is an emulation of NVRAM (PCF8570 I2C interface) with a size of 8 bytes. Device #3 on the mux is an emulation of a read-only NVRAM (PCF8570 I2C interface) with a size of 32 bytes. This memory contains information relevant to the Mule firmware. +-----------------------------------------------+ | Mule | | +---------------+ | ----+----->|Config register| | | | +--------|------+ | | | | | | | V | | | __ +--------------+ | | | | \-------->| amc6821 | | | | | | +--------------+ | | | | M |-------->| PWM over I2C | | | +------------->| U | +--------------+ | | | X |-------->| NVRAM | | | | | +--------------+ | | | /-------->| ROM | | | |__/ +--------------+ | +-----------------------------------------------+ This patch-series adds support for the NVRAM and ROM on rk3399-puma-haikou, px30-ringneck-haikou, rk3588-tiger-haikou and rk3588-jaguar boards. This patch-series can only be merged after [1]. [1] https://lore.kernel.org/lkml/20240506-dev-mule-i2c-mux-v2-0-a91c954f65d7@cherry.de/ Signed-off-by: Farouk Bouabid <farouk.bouabid@cherry.de> --- Farouk Bouabid (4): arm64: dts: rockchip: add mule nvram/rom to rk3399-puma arm64: dts: rockchip: add mule nvram/rom to px30-ringneck arm64: dts: rockchip: add mule nvram/rom to rk3588-tiger arm64: dts: rockchip: add mule nvram/rom to rk3588-jaguar arch/arm64/boot/dts/rockchip/px30-ringneck.dtsi | 45 +++++++++++++++++++++++++ arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi | 45 +++++++++++++++++++++++++ arch/arm64/boot/dts/rockchip/rk3588-jaguar.dts | 45 +++++++++++++++++++++++++ arch/arm64/boot/dts/rockchip/rk3588-tiger.dtsi | 45 +++++++++++++++++++++++++ 4 files changed, 180 insertions(+) --- base-commit: 2917aef27decdfc367f37f599a613255c98c2c26 change-id: 20240531-nvmem-fd2902430de5 Best regards,