Message ID | 20220218070729.3256-1-zajec5@gmail.com (mailing list archive) |
---|---|
State | New, archived |
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 B1D54C433F5 for <linux-arm-kernel@archiver.kernel.org>; Fri, 18 Feb 2022 07:09:27 +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=np40FfeDykQ6uDrUd7YyCChhrgTW3eqFeYlRYI3np7w=; b=bO6McnLCiFb59r U7tuLrdHWYpBYlAtyypGhUxedYlhyWhoAaq16Cs5fs9L1iLGO0kCc6OlllTon62x7JIAyzYDWWfhH qiIUlfg9oeOhptEvdWwCdlDccJBS20WOQWkTSbNCNKGdY/C97QrBKX8F94Lt6EE2zatdhFZZ9yBRa O3ycXqYTvUQhU0w0R8Ghg2h0cTlJvPmIURVL8r+TcagxOs7bc0hax23duI5lJRR/f/FSgplAb4p9o b+YSETthHvfW2f8Oi8NBZt4XdzBw7w5/KAjCBP8I3AxWi0eVBjRvJp3o+D0dh7DOM949cBYEOVrDy SAh3gczb/kffh6XN6l4w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nKxMy-00D8KK-Fg; Fri, 18 Feb 2022 07:07:56 +0000 Received: from mail-lj1-x236.google.com ([2a00:1450:4864:20::236]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nKxMs-00D8I5-HP for linux-arm-kernel@lists.infradead.org; Fri, 18 Feb 2022 07:07:54 +0000 Received: by mail-lj1-x236.google.com with SMTP id b38so2906080ljr.12 for <linux-arm-kernel@lists.infradead.org>; Thu, 17 Feb 2022 23:07:47 -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=ICMLJs7yPoKc8MCz0/dC/mtrrtYtdLA6CC0pkOG32RQ=; b=BDpIv2CAmYd+U0FlLnhIZ+vZwZZviZrE6dKK7nTp8bd4xKfxKHXtrD9oTS0TE755w8 4xPAShEMGRNfljcLHO+7VbC6rjQ2PdRH8Iu0C1j+ZJzL+EIKYGZaE+wZEW7n2SR+pziA DjTfMVPjOTy/3+/Q9i9kfLoo2PCPMA+k7h7PfY3s9H46BDTDP8LWCM6F8IfAcuA19oOX SM7iVF1VoPI11Bi0YPoT8KN59vchuVtpW1lV0rYnOxQsd58mG2E+2lcNXRn+7I7djGWA wCf/fkbINDBzkc1sJawuLkpgYX+difvaTYuNR4nciV4VNkux/vuxKzQc4XHg3BXSfcBf cgVg== 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=ICMLJs7yPoKc8MCz0/dC/mtrrtYtdLA6CC0pkOG32RQ=; b=nAakz3G5DO11fSPZTQgXDHUCNrTAb9PzXYdhRB8+YRLOQJ7b9vCbQkcgwb9ZDd4TcA zVt2jeQMlOY545pFSE4S/JQoC95S2/QwXuAyorH3i4rQPUzwCh9qYftj1uBd3ZiabexW WSz+u9yuk34hwpbgAQ7pzfBwcRIZSpnDwHkGMajy2hizQme5CvTIA3fePtVicKv5t9Zj YTDGfnRYktq+akmW6ptdqDmiVrbKfy05LEaZQg2k593WZd8HZHnRwqswrc0HFze5YXXk KnrIW9h2ybkH1aLhsN0ikwcFZlr/exmHGgJ8n+7p8W/qLARtjehFmeAofCL2j2OvH3xb dx+Q== X-Gm-Message-State: AOAM530r2u6vVdXGecmA8a3btnj8bCDXRToIh4UIss4S6v1P52Mjhefv FpZGRvDwIQLgNwHIxofCrI4= X-Google-Smtp-Source: ABdhPJxfp4d9yi1hni/SD8KV1ziHSHBtA9uEDn+qWZDTbZL1oUpkV0Ewf9vhTMDPgM5kx1YsHnYlIQ== X-Received: by 2002:a2e:8045:0:b0:23a:ee87:6849 with SMTP id p5-20020a2e8045000000b0023aee876849mr4845356ljg.248.1645168066219; Thu, 17 Feb 2022 23:07:46 -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 f2sm216321ljn.11.2022.02.17.23.07.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Feb 2022 23:07:45 -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 V3 0/3] nvmem: allow specifying cells by just names in DT Date: Fri, 18 Feb 2022 08:07:26 +0100 Message-Id: <20220218070729.3256-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-20220217_230750_626978_04116B22 X-CRM114-Status: GOOD ( 12.00 ) 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> 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 basic NVMEM cells nvmem: core: add cell name based matching of DT cell nodes .../devicetree/bindings/nvmem/brcm,nvram.yaml | 25 +++++++++++++++-- .../devicetree/bindings/nvmem/nvmem.yaml | 3 --- drivers/nvmem/core.c | 27 +++++++++++++++++++ 3 files changed, 50 insertions(+), 5 deletions(-)