From patchwork Sun Nov 3 01:36:43 2019 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: 178369 Delivered-To: patch@linaro.org Received: by 2002:a92:409a:0:0:0:0:0 with SMTP id d26csp2570149ill; Sat, 2 Nov 2019 18:37:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqzCM3iJaelAQFZnfF3T8ni+yy0pvR4ESQEpJDjqfCd+e1a9DJ4ZcjjJ6zsQx+1XRqfbCS85 X-Received: by 2002:a50:9fcb:: with SMTP id c69mr3727518edf.163.1572745038266; Sat, 02 Nov 2019 18:37:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572745038; cv=none; d=google.com; s=arc-20160816; b=mzPf5KDEalkJSeUodoUl+Pq63LHk1ZoNl+jRGKx6eTnoxfrr/cI37L69Ze3RYq4oRV Dn3vVi6PgqdcOpFOZB0BKzaADw0ipzEl4whRI9Zylbrf7fjFb6T4/zWAlQquPmtZqSJv 1EhB++iWUCYODw/QoUVUg72bt8CpB9PWYu0tmWH0Iy6HGIOsryruzpbBnxmxcOObntnL HCGHSBo2a0qQRKns7P50gyYZBsAO6BPCtFCal9bOCD3J0JVWtitYyJGsgbVmtBUl5YWD 2+4NSObFl9Mcp3lT9U0Co/zmDWHtn0k677OH0S+5j7ugHyqBQdT0tNrx16blIiunMky3 wL9A== 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=1LiH0sOjo8FPXZF1ap29WtKZX+ttl9ESy8SSeKNthmc=; b=oiN20+10QCSvuiF0AfVHhzP67WDJgVp33Em+RItvzH9I+ceFFTHujY8kLvB3/DPJiq SUcTVyHwBXeTXL+tUv98N0v+PvT+3HLAgVnkTMHDTYuAwD7zKSFXPjDqN6sNqvvHDhng Gw24sf+hQ7juuvTxlfx/upAwxAd6FfNrNjCvlIllJv/JuBWhfjts5BnOSbggGZNTvSqX gAvwm5F9++0IOnbeE36UOhSB+2sZ5AJKmYoEP1KBjOzJHejmio3Tne4FXFeopSkJ6YdZ 563nALEiVhHlEvOwGJ3AmAGKYoLDJFogUlwexs7d6x1IHmfdxSI1d23mp7WlhJTHTc2k rD6w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g40si4077120edb.369.2019.11.02.18.37.18; Sat, 02 Nov 2019 18:37:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727590AbfKCBhF (ORCPT + 8 others); Sat, 2 Nov 2019 21:37:05 -0400 Received: from mx2.suse.de ([195.135.220.15]:59462 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727488AbfKCBg5 (ORCPT ); Sat, 2 Nov 2019 21:36:57 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 5DFD7B300; Sun, 3 Nov 2019 01:36:56 +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?q?Andreas_F=C3=A4rber?= , Rob Herring , Mark Rutland , devicetree@vger.kernel.org Subject: [RFC 09/11] dt-bindings: soc: realtek: rtd1195-chip: Extend reg node again Date: Sun, 3 Nov 2019 02:36:43 +0100 Message-Id: <20191103013645.9856-10-afaerber@suse.de> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20191103013645.9856-1-afaerber@suse.de> References: <20191103013645.9856-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 a third register to identify the chip. Whether needed and which register to specify depends on the family; RTD1295 family will want an efuse register. Signed-off-by: Andreas Färber --- I don't like specifying an efuse register here, which seems its own IP block. .../devicetree/bindings/soc/realtek/realtek,rtd1195-chip.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) -- 2.16.4 diff --git a/Documentation/devicetree/bindings/soc/realtek/realtek,rtd1195-chip.yaml b/Documentation/devicetree/bindings/soc/realtek/realtek,rtd1195-chip.yaml index e431cf559b66..249737e116d7 100644 --- a/Documentation/devicetree/bindings/soc/realtek/realtek,rtd1195-chip.yaml +++ b/Documentation/devicetree/bindings/soc/realtek/realtek,rtd1195-chip.yaml @@ -19,7 +19,7 @@ properties: reg: minItems: 1 - maxItems: 2 + maxItems: 3 required: - compatible @@ -37,4 +37,11 @@ examples: reg = <0x9801a200 0x8>, <0x98007028 0x4>; }; + - | + chip-info@9801a200 { + compatible = "realtek,rtd1195-chip"; + reg = <0x9801a200 0x8>, + <0x98007028 0x4>, + <0x980171d8 0x4>; + }; ...