From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8A137C433E0 for ; Tue, 14 Jul 2020 02:15:28 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5693B2089D for ; Tue, 14 Jul 2020 02:15:28 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="XhC2jVsU" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5693B2089D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=jqn84Si5yfNHPYjdGqjDp57I3lkljDuE3N8uMu2Scp0=; b=XhC2jVsUF7ZJ8dh1QBZMBj+b+ E0LkD7gCkyntg+DtpNccn9AKn+x2rCR1th2yu+EL97d+vqaHH0k3i1onBtfzMWmVXxaqtfBpCO2SG 9WkQJKfRsDn4fgaDY/u1i7sdWTfHxdRcXkaV3PeClhkajr6xZu/rtVzOJT/1ThCmpvny1/wW6fBVL whKOLk7N3qHTc5J5dDxr6G20XSD/3SWXVrgG3yxxyugA2WVsqlrR8s+Qh2oIf7ncj3jF6Mum/ZPKS 0TQQMyYR17/P0bbsKiS9AGSmKrKZ+zjGHMK23HF74GPK9CUhb0tcLzP/o1miM9Quvyn6JV3G5yLon FTnxvjVHQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jvASJ-0007fR-KX; Tue, 14 Jul 2020 02:14:03 +0000 Received: from mail-io1-f65.google.com ([209.85.166.65]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jvASH-0007eP-5u; Tue, 14 Jul 2020 02:14:01 +0000 Received: by mail-io1-f65.google.com with SMTP id e64so15703178iof.12; 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=lJjT4+lp25uDeDq57ZL0ARKv7K48AbDBACXnesiMpUu4Y68erh2b/brH430s34chU9 tmZ7w5l91TvqhJMQm/DgFvDlSzX2g3Jsetc/YcbIOdETr1XbpIW3/YIwQOfPGwiqhAiH flV+KTYf+glaWBV4cKqX9Nc6oi8KoJTRpr9n0CGZp0Tj+4IqOyVTvs878mKNRA6B6Y6K terFYf6Wg9xRvNcBrgOG8YyeY+njRw5sBadcZnWfLXFeKcZnltLn6DuC412WiV1RXGet F3i97KUHzHmdAHmWKh14SgjnByyBBxUhf0CID+rN2gVfjPNV7of0bf5G62+PpQkE6kL9 s2Pw== X-Gm-Message-State: AOAM530ARcELZinQBe8pWQrmD/LnL5DWGAfzUs9yGgzuAwgPY/jCSYxQ HRhJIwMHc3etFAAEA4BHG2Wcmdr5/AgL X-Google-Smtp-Source: ABdhPJzrcMOoGSZYtZg0y6yOE5FDvN85POZPSvpYtiCv2Ey0dVSwjar8881k3UDJhMR9vQ7Ig3Lu2A== 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?= 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-Disposition: inline In-Reply-To: <20200623025106.31273-6-afaerber@suse.de> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200713_221401_271753_D33CEAE1 X-CRM114-Status: GOOD ( 16.55 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, James Tai =?utf-8?B?W+aItOW/l+WzsF0=?= , Edgar Lee , linux-realtek-soc@lists.infradead.org, linux-kernel@vger.kernel.org, Stanley Chang =?utf-8?B?W+aYjOiCsuW+t10=?= , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Jun 23, 2020 at 04:50:42AM +0200, Andreas F=E4rber 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=E4rber > --- > A SoC specific binding would defeat the purpose of the generic Linux dri= ver > 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 RTD12= 9x. > Iso syscon currently does not have a compatible, and it may need to di= ffer > 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,rtd119= 5-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 revi= sion. > + To identify the exact model within a family, further registers are nee= ded. > = > 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 =3D "realtek,rtd1195-chip"; > reg =3D <0x1801a200 0x8>; > }; > + - | > + chip-info@9801a200 { > + compatible =3D "realtek,rtd1195-chip"; > + reg =3D <0x9801a200 0x8>; > + iso-syscon =3D <&iso>; > + }; > ... > -- = > 2.26.2 > = _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel