Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1419193ybh; Mon, 13 Jul 2020 19:15:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzhT5lxVU6jbSYeQyv9F7HSDEZbd2cHpQlq5FLHAItkRzEKVe90joIeu2m4f1WTtNhtwroq X-Received: by 2002:a50:fa0c:: with SMTP id b12mr2245975edq.226.1594692923612; Mon, 13 Jul 2020 19:15:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594692923; cv=none; d=google.com; s=arc-20160816; b=gj//4gnfsF0rsYAHbgKYbSm6jcYK5boJSMrrKsCP6gzK1dRu4X8dr3ZcPpQxV8E6f4 +0fm1gKfFzlaJBa8qbwlyQ4SF4vs0cm5JUOCBPWVTpFJ4UzP7AYCF1TN//9/7DsGQkDL FdQCE1RWS856Bov9ilvUBbJUW1IOIphwViY/7BITe2kcOyRkPfDH5aGRSzlUtUC+Vdwk qmTPi4W4Ej4vGM7LmzbTD6QE/KJc3pql5n2NQOkSvo9n7ZL5pv7u4gE4zKx07hMSYlSh 4YdiTGfGyrdlb11fZy456MbJA2JG3FOxduOD9QhPKwRIjNMOa/qFpqqGdJC9VHWMmaJe 53yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=C+dgJBiObKmhR4JP1UeGCITpVO+CO7lrYLHGkNo5jx4=; b=gF18gZvLZQWP/QiCeAY/H4FLHfW+xUSiizOkS0SwZIFr83EzcVBZM4MeuQVg2CqcLb /xdtlFF2tqtYpyROZvqu8Ikjx1Po9YbiIGAEz+xmCeM6bAre9hWvY9A+L1HmoK/7DzuP plzHJQ2K3x/M4oHkcPDMnZKf/g82MS7BBhag4GzFIry2CTYwGB4Z/8ptw5zX1qngDPtW pcR0Sfy+WLJNFjrk3gkUaHvNalw7DEFeLl1shA2jLpUJDHFqH28W/QnGVlwiiH+iDD0r 5K1VzTznU8tUtMDDP6pRAa0lmnLkQw0kig1VZl5uJj3FSAG5Gvd1q2oyhurTVjxS65uT m7gA== 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dm6si10188501edb.169.2020.07.13.19.15.00; Mon, 13 Jul 2020 19:15:23 -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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726602AbgGNCOB (ORCPT + 99 others); Mon, 13 Jul 2020 22:14:01 -0400 Received: from mail-io1-f67.google.com ([209.85.166.67]:34938 "EHLO mail-io1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726364AbgGNCOB (ORCPT ); Mon, 13 Jul 2020 22:14:01 -0400 Received: by mail-io1-f67.google.com with SMTP id v8so15720761iox.2; Mon, 13 Jul 2020 19:14:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=C+dgJBiObKmhR4JP1UeGCITpVO+CO7lrYLHGkNo5jx4=; b=C6y0HkcR/lr1mJEsKrrSWlO4joCXBKGeZ6jxMJNjjMFUzQhMK0DU4b7GV+3myKa5u+ mNNm9vsdv3ps3k0e9SgrIRaUEo5WrB4KONt/SG+CnEISilVXT/iDXNdTBPItI5WICYaA viwx59e+bfxObzaYuz4wwhZIgEj5IPFv6Y5aN/Lmb/HpZn9fKyfz8h33XKopMwWr8wUu pm4iTLcp36yYxiOyI6ASRsZhpXh9aEo0iNaiQTHnnRHxpjAFk4eS4bX0qra3IfjXOBX3 fpDQNkFGSigbZjVwe+Q1buPAm7sIDlZQMQIC40rK6XgKFYulw0tNpjKF1fR5KF1BvjYu hdpw== X-Gm-Message-State: AOAM530mlviz3xTW+g4+H6tRG1cgrmte6hoar71aEuw8sAQ3qjvCfjmF yCVFdqB9gDRMdBDmEfoscQ== X-Received: by 2002:a02:ba05:: with SMTP id z5mr3406590jan.127.1594692840298; Mon, 13 Jul 2020 19:14:00 -0700 (PDT) Received: from xps15 ([64.188.179.252]) by smtp.gmail.com with ESMTPSA id k3sm8450085iot.42.2020.07.13.19.13.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jul 2020 19:13:59 -0700 (PDT) Received: (nullmailer pid 1139098 invoked by uid 1000); Tue, 14 Jul 2020 02:13:58 -0000 Date: Mon, 13 Jul 2020 20:13:58 -0600 From: Rob Herring To: Andreas =?iso-8859-1?Q?F=E4rber?= Cc: linux-realtek-soc@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, James Tai =?utf-8?B?W+aItOW/l+WzsF0=?= , Stanley Chang =?utf-8?B?W+aYjOiCsuW+t10=?= , Edgar Lee , devicetree@vger.kernel.org Subject: Re: [PATCH v2 05/29] dt-bindings: soc: realtek: rtd1195-chip: Add iso-syscon property Message-ID: <20200714021358.GA1138124@bogus> References: <20200623025106.31273-1-afaerber@suse.de> <20200623025106.31273-6-afaerber@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200623025106.31273-6-afaerber@suse.de> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 23, 2020 at 04:50:42AM +0200, Andreas F?rber wrote: > Allow to optionally specify a phandle to iso syscon to identify the chip. > RTD1295 family will want to check the ISO_CHIP_INFO1 register. > > Signed-off-by: Andreas F?rber > --- > A SoC specific binding would defeat the purpose of the generic Linux driver > detecting the SoC based on registers. > Simply allowing it all for SoC families seems the most flexible. > > v1 -> v2: > * Instead of extending reg, allow optional iso-syscon property for RTD129x. > Iso syscon currently does not have a compatible, and it may need to differ > across SoC families. > > .../bindings/soc/realtek/realtek,rtd1195-chip.yaml | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/Documentation/devicetree/bindings/soc/realtek/realtek,rtd1195-chip.yaml b/Documentation/devicetree/bindings/soc/realtek/realtek,rtd1195-chip.yaml > index 86a1de214782..dfe33c95f68d 100644 > --- a/Documentation/devicetree/bindings/soc/realtek/realtek,rtd1195-chip.yaml > +++ b/Documentation/devicetree/bindings/soc/realtek/realtek,rtd1195-chip.yaml > @@ -11,6 +11,7 @@ maintainers: > > description: | > The Realtek DHC SoCs have some registers to identify the chip and revision. > + To identify the exact model within a family, further registers are needed. > > properties: > compatible: > @@ -19,6 +20,8 @@ properties: > reg: > maxItems: 1 > > + iso-syscon: true Needs a type $ref (phandle). > + > required: > - compatible > - reg > @@ -31,4 +34,10 @@ examples: > compatible = "realtek,rtd1195-chip"; > reg = <0x1801a200 0x8>; > }; > + - | > + chip-info@9801a200 { > + compatible = "realtek,rtd1195-chip"; > + reg = <0x9801a200 0x8>; > + iso-syscon = <&iso>; > + }; > ... > -- > 2.26.2 >