Message ID | 20220211130554.13062-1-zajec5@gmail.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=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 4E9B6C433F5 for <linux-arm-kernel@archiver.kernel.org>; Fri, 11 Feb 2022 13:07:32 +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:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=GgAphy7MmAwxNzrRA/mI2EDXbxunJFcEVKHY+oTUCbY=; b=TmQl/vcnasItmp 8vjy6o05gbgQu3wvvKdlM/RkjwU4eoY3Ha54la/zUISdJqaflY/edEQL6FtRG9eVQVx5u3WuFvWur 3n8gzIuo9BZ88w25g5K4EwhG/H/PgwzVYHJ8EeO1+HIns8hhqo//EQgoHp/NtkuYGsKv4+MydCgQI 4qOVR4WJEIgApo1jsFoLatrNAv8Fd8lz5EpxnDJCMyn+UrqitpbZzsP6JHQmkvkdH4NFqNobqyBBj x3dCmutpTfaP0mcm3H9X3yks2q+YymZjmYJ2kQ1uGV45NCLOhIz5zgv8hjD1+wrx88zUVhR+chp6J D0W3gd9ci0phkT2KGNmg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nIVco-007JX5-Pj; Fri, 11 Feb 2022 13:06:10 +0000 Received: from mail-lj1-x22d.google.com ([2a00:1450:4864:20::22d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nIVck-007JW3-VY for linux-arm-kernel@lists.infradead.org; Fri, 11 Feb 2022 13:06:08 +0000 Received: by mail-lj1-x22d.google.com with SMTP id bx31so12514350ljb.0 for <linux-arm-kernel@lists.infradead.org>; Fri, 11 Feb 2022 05:06:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=P7IUs3Q1CP/C1WCkBXEDh6yMSHr4MEVXFUu5X7UWtPk=; b=QYrFmho/NvhXGCt33P01M3Z22kcs8vlR96aMeznYN6XLJoShr3K/U3Fd5BEXFz1JWH PPhVGL+3jMX/Rfu95nXqf8ZO241M8tNgv04Kj8mIptU6iqHNFAk+9EJ0dOI7MnP3qzl0 pm/pCrHF13vHP9EOIOLJEm6AH02Ub/BISDtioARRFYGp0O7Gi6rT759wKw3uQdAfYmU+ 3a9EhFoW2SAH9eMzXcrUtMr8YFbEpJi2N6WIrg4+6fwKUmpD8NKCjezwt8qBxNlWKEcl TIEVFd3DnU9eaAjGW9k4DxjXcpDfWsmXUQHbucWe7COAGntI9hyIFW3M5efyE0+ke2HT KYww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=P7IUs3Q1CP/C1WCkBXEDh6yMSHr4MEVXFUu5X7UWtPk=; b=OfV0igc+boTcoyUvWB8WMcEpnsuN4pq7vopaTou8jdyv1Q2zzQR7Oyhvx1RAat3N/N 8/agfxjtw16dn1rJaCl79e7U/c5rE4GAPxRJuYGTFunmLQAk/m7J5SBdhQAyebDLdGE4 DBh3YsIz3NAxYvGJRWLIFspTmLg4jynDyxieO7fM2dYTcTd4DuMv7PAxWHqJsPJ2deWJ JCc/01cKAhTVrSltFQ7GtQGdqitzD2uBTefsWEcXDjw8Cf4eVyRoqKXriJkjykOyMiZ0 YYw32RJs6KPJKq0Q3fsx70hg1ED+w5Ybwl7UTUTFIWaqqlV21E8FlwV+9am7d1dddsPo Bpkw== X-Gm-Message-State: AOAM533QwxVi6r1nZltEIOUmnVVSDtOevtoxn2oZwMsi81wGF3vUb6D9 qd2sur0pzx57B9wV5FzIXG5ELBYln/Y= X-Google-Smtp-Source: ABdhPJyJKyx7GAZU/4P6zTIXMpXFDR44aeYVnY/2VLW1yR/GQ1g8EMAuaGYohoHKGJIR5e8fEshzDg== X-Received: by 2002:a2e:3512:: with SMTP id z18mr988258ljz.465.1644584765147; Fri, 11 Feb 2022 05:06:05 -0800 (PST) Received: from localhost.lan (ip-194-187-74-233.konfederacka.maverick.com.pl. [194.187.74.233]) by smtp.gmail.com with ESMTPSA id b13sm3111094lfv.175.2022.02.11.05.06.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Feb 2022 05:06:04 -0800 (PST) From: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= <zajec5@gmail.com> To: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>, Rob Herring <robh+dt@kernel.org> Cc: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>, Florian Fainelli <f.fainelli@gmail.com>, Hauke Mehrtens <hauke@hauke-m.de>, bcm-kernel-feedback-list@broadcom.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= <rafal@milecki.pl> Subject: [PATCH V2 0/3] nvmem: allow specifying cells by just names in DT Date: Fri, 11 Feb 2022 14:05:51 +0100 Message-Id: <20220211130554.13062-1-zajec5@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124160300.25131-1-zajec5@gmail.com> References: <20220124160300.25131-1-zajec5@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220211_050607_044228_14467833 X-CRM114-Status: GOOD ( 12.24 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
diff --git a/arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts b/arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts index 24ae3c8a3..9efcb2424 100644 --- a/arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts +++ b/arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts @@ -25,6 +25,9 @@ memory@0 { nvram@1eff0000 { compatible = "brcm,nvram"; reg = <0x1eff0000 0x10000>; + + et0macaddr: et0macaddr { + }; }; leds { @@ -72,6 +75,11 @@ restart { }; }; +&gmac0 { + nvmem-cells = <&et0macaddr>; + nvmem-cell-names = "mac-address"; +}; + &usb3 { vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>; };
From: Rafał Miłecki <rafal@milecki.pl> This is V2 of my: [PATCH 0/3] nvmem: allow specifying cells by just names in DT These changes will allow me to improve BCM5301X support with: Rafał Miłecki (3): dt-bindings: nvmem: make "reg" property optional dt-bindings: nvmem: brcm,nvram: add NVMEM cell to example nvmem: core: add cell name based matching of DT cell nodes .../devicetree/bindings/nvmem/brcm,nvram.yaml | 16 +++++++++-- .../devicetree/bindings/nvmem/nvmem.yaml | 3 --- drivers/nvmem/core.c | 27 +++++++++++++++++++ 3 files changed, 41 insertions(+), 5 deletions(-)