From patchwork Tue Jun 23 02:51:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_F=C3=A4rber?= X-Patchwork-Id: 191402 Delivered-To: patch@linaro.org Received: by 2002:a92:1f07:0:0:0:0:0 with SMTP id i7csp1589261ile; Mon, 22 Jun 2020 19:51:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxDeHd9QQBwdjPbV+B3RIaWYl4/LOw14vD7dMPY7GQ1iaMktEpgy/HdmWNdpII02n2PXntN X-Received: by 2002:a17:906:8d2:: with SMTP id o18mr10092329eje.183.1592880704806; Mon, 22 Jun 2020 19:51:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592880704; cv=none; d=google.com; s=arc-20160816; b=hEM+cNARZdRPW/UFG4+zP/InlRDaXix2asvnxUMQx0rGdlc9XKhhRc4wRQtWU+Xci1 VvbKnMQaedS8pWhKrlwDvormlA+6NgGtYP5yqi+mVZ5J4uZnqKCeZmh+p9mVKK9kJRw8 Or6Hf1pfltpTY7XlFW0IAnTmrHbqtcGV8/8lYUgY+pW/1Rl1gZvhEA//B91lx/kqxu5K pJ/w5afsPuLg42z2Tj9qyH/opBuR3QktIbedGBczvAulPsUzBRJ9uvCWWbEiwJUESfZF 7vSCelnpqpaoXgbKvK+wreho1hcQ9VCGXrujUnF8ijuqKFg4U5RVQ5ju/LrXlmy5sRXW eA8Q== 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=E2jaeA/UHXK7XnOXWx4SbTIALrqgGfrBiXuBs1TSeY/DznaL5we6keVsmxWnN+2Fqc x0NfwDkulBCXyd6sp2WtejXJzh4didb6NdSTtibXYSAaD7W5YSFqsvi1hC7C4QC1Ks3C f9iUeAAcyn/CAv2jBM0tQmhffUCb9T4C8uhn7/MDHDBfu5morfl3U/cco7koQzQ3tb2H TwCCE6I9sqsp/YgSIOqciQKI8PZ3xGgajFCv8tmWyW7ZErv9O1yxzQhoof+drEPzI8+1 h5sp9moHFEEa45lVu+P7uW0eIiM/WW/g/DT+1hPPskFEiy8tvckCMe89+98gyFlMBaqU yvng== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 d6si4469064edx.203.2020.06.22.19.51.44; Mon, 22 Jun 2020 19:51:44 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-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 devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731982AbgFWCvn (ORCPT + 6 others); Mon, 22 Jun 2020 22:51:43 -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_F=C3=A4rber?= To: linux-realtek-soc@lists.infradead.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, =?utf-8?b?SmFtZXMgVGFpIFvmiLTlv5fls7Bd?= , =?utf-8?b?U3RhbmxleSBDaGFuZyBb5piM6IKy5b63?= =?utf-8?q?=5D?= , Edgar Lee , =?utf-8?q?Andreas_F=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 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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(+) -- 2.26.2 Reviewed-by: Rob Herring 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"; + }; ...