Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3249673ybt; Mon, 22 Jun 2020 19:54:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwQrCeDSqnE8l7Le0cDp2omncvdsGFevV49PfWgmfcX1fbBStuyxlWN1l69ztCnDksBZ4sv X-Received: by 2002:a17:906:830b:: with SMTP id j11mr19438577ejx.42.1592880887416; Mon, 22 Jun 2020 19:54:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592880887; cv=none; d=google.com; s=arc-20160816; b=bMHr/wnT986WYH6Q4DZwXIKlPRJ2uAVpIUNuCpum3lRxD1KLyE9L+rjevHrnEIdoK6 8tFzDuvHE3nD3Dm2/1XfCPErs23eu42zkySfiDPcBOlP8qaMiKUYrI4XiWymVZUcWWQM +zTdm4I1D2ujLbpyW2HI19quTPT07Tlba4rMvgsNwckAUjF2o6DPOaThkgTIrPBeZXtK xSZqpbyHy3zQis2G5SY4eXMJ8m4iXEfXbsAogTJa/EIFPRA7wbgfaaAr27FutZMRkAwp AXLlR1E3nfVJJM9teelxuxEiUqQvW6PBeEkBKqAY2s0RrwaJkH2YGzLwgyEtxK9ZRnEO v6fQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=t8vt1YKDenc7IUtgSCB3yh6P9MKWgZLRnb1Wv+BhdQA=; b=vmXwuNEs6EDv/nht6GuRlPMQVsLbk+0zRlBBen3/l9fBpjr1qKmvjmb/ZxGlHvVJ1T TT86u4r4TaBiWsc5DPXl306wVO70ifGZY52EIIbGG/3UUs75nM4lKTGhk+l2V82ITAO4 IDbQH5PF5bTt9SeUELBtVBjvmRodgQgkoFs4EueLFqUPGg8P1gLwyT+8OYSL5j4OyWpC Wuk/SdSaAcxhd2CeUkF0pTZCaVon1wPosOTvzNbAcJBvSdYPKjhghI3749aqjy59WQGp MIGlWbCRbfFMS+U5ce9wBt3Cb5y0ZaoRwhSbkfKAy6X7S7U1ka79eRVcthTrhsJEq0FZ EvPQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id wp10si9872901ejb.56.2020.06.22.19.54.25; Mon, 22 Jun 2020 19:54:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732197AbgFWCwO (ORCPT + 99 others); Mon, 22 Jun 2020 22:52:14 -0400 Received: from mx2.suse.de ([195.135.220.15]:33260 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731964AbgFWCvn (ORCPT ); Mon, 22 Jun 2020 22:51:43 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id DC84FAE89; Tue, 23 Jun 2020 02:51:40 +0000 (UTC) From: =?UTF-8?q?Andreas=20F=C3=A4rber?= To: linux-realtek-soc@lists.infradead.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, =?UTF-8?q?James=20Tai=20=5B=E6=88=B4=E5=BF=97=E5=B3=B0=5D?= , =?UTF-8?q?Stanley=20Chang=20=5B=E6=98=8C=E8=82=B2=E5=BE=B7=5D?= , Edgar Lee , =?UTF-8?q?Andreas=20F=C3=A4rber?= , Rob Herring , devicetree@vger.kernel.org Subject: [PATCH v2 24/29] dt-bindings: soc: realtek: rtd1195-chip: Allow nvmem-cells property Date: Tue, 23 Jun 2020 04:51:01 +0200 Message-Id: <20200623025106.31273-25-afaerber@suse.de> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200623025106.31273-1-afaerber@suse.de> References: <20200623025106.31273-1-afaerber@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Allow to optionally specify nvmem cells to identify the chip. RTD1295 family will want the eFuse package_id cell. Signed-off-by: Andreas Färber --- v1 -> v2: * Instead of extending reg, allow nvmem-cells reference for eFuse .../bindings/soc/realtek/realtek,rtd1195-chip.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Documentation/devicetree/bindings/soc/realtek/realtek,rtd1195-chip.yaml b/Documentation/devicetree/bindings/soc/realtek/realtek,rtd1195-chip.yaml index dfe33c95f68d..57a6e0df4494 100644 --- a/Documentation/devicetree/bindings/soc/realtek/realtek,rtd1195-chip.yaml +++ b/Documentation/devicetree/bindings/soc/realtek/realtek,rtd1195-chip.yaml @@ -22,6 +22,10 @@ properties: iso-syscon: true + nvmem-cells: true + + nvmem-cell-names: true + required: - compatible - reg @@ -40,4 +44,12 @@ examples: reg = <0x9801a200 0x8>; iso-syscon = <&iso>; }; + - | + chip-info@9801a200 { + compatible = "realtek,rtd1195-chip"; + reg = <0x9801a200 0x8>; + iso-syscon = <&iso>; + nvmem-cells = <&efuse_package_id>; + nvmem-cell-names = "efuse_package_id"; + }; ... -- 2.26.2