Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp132830pxa; Tue, 4 Aug 2020 01:18:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz7674vdYmM21FVDDjXbLwZniYdjDtz5HKiwHV3UvKpOqcsZlKSfZnEPLmzUOS1hUGCDbAM X-Received: by 2002:a05:6402:c85:: with SMTP id cm5mr19819428edb.350.1596529101937; Tue, 04 Aug 2020 01:18:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596529101; cv=none; d=google.com; s=arc-20160816; b=JMfPyErPnEB4Zv0Q48RSFYQ77NVD3mN20sCA0Lqwk5pqYcSwxIGbUe1isRKgQzqmP3 e8CmQi8++ApA2FPJbrCE9UeVmIK1S6g3x4/ZmOeRPsHO7/0KGtQDQTDm5AqAUlE87IlG 794X+R3aKumgO5HZ34W3NF9h8/8bqKOyXgVwdWyy604zdFEf1hQEP32vSXKNjfl1Brns X+QCZEyaOoO42mpoBuk4k0aLtoOg7xCyZ4cQ/T+V6fRCAUbkE1+MC0FL3uO+wgBYz6H8 r6JK2WLYtW05Eeb8I9TrvlU2fYdD7eBAXikHnra976rTUrXvG/iTn2YdnfGig287A1At AI6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id; bh=JCgMtViZUEzc1dC8SepPmL8slwvgXOSlSs0SVkdaXPc=; b=A/Dy6ouEcDC1HjFEwmcioCRoV+prOJbsLiBUjzo/NRtA/kTSh0dHRnepA0ELOwLgWP jFr0286AkHNIJ+JU0dOPh1QF//xRq/G62LeWoUJIZgkmfPthKWOE2/ZH2zr5fHRLEgpB 1Y+TjqT5zLKT8JF9UzrE4XcAPJ6W/zkVciqvR3f7R/WRrsnNg3jAuoxRHUT/8lwh1ws5 EvLFAiXR4BCqR9C4OpQww3XL0qg51jl/Ea4ZNoS1wDO5Ybf0NVX3Q7SLBh3fKgfURYUq +T+pgrdxkXEu9NgbirZzY6euOr9W3ODC5cgGb/Tq4uNfKFDAT7yqEUGmdELKpNTvqpPP 51MQ== 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 x2si768704edj.273.2020.08.04.01.17.58; Tue, 04 Aug 2020 01:18:21 -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 S1729792AbgHDIP3 convert rfc822-to-8bit (ORCPT + 99 others); Tue, 4 Aug 2020 04:15:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726877AbgHDIP2 (ORCPT ); Tue, 4 Aug 2020 04:15:28 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A0ED3C06174A for ; Tue, 4 Aug 2020 01:15:28 -0700 (PDT) Received: from lupine.hi.pengutronix.de ([2001:67c:670:100:3ad5:47ff:feaf:1a17] helo=lupine) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k2s6M-0003dI-1b; Tue, 04 Aug 2020 10:15:14 +0200 Received: from pza by lupine with local (Exim 4.92) (envelope-from ) id 1k2s6L-00031T-0C; Tue, 04 Aug 2020 10:15:13 +0200 Message-ID: <053da16ed682cc016b0a66a834fb58d4d9410dc2.camel@pengutronix.de> Subject: Re: [v2,3/6] dt-binding: reset-controller: ti: add generic-reset to compatible From: Philipp Zabel To: Crystal Guo , robh+dt@kernel.org, matthias.bgg@gmail.com Cc: srv_heupstream@mediatek.com, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, seiya.wang@mediatek.com, stanley.chu@mediatek.com, yingjoe.chen@mediatek.com, fan.chen@mediatek.com, yong.liang@mediatek.com, devicetree@vger.kernel.org, Rob Herring Date: Tue, 04 Aug 2020 10:15:12 +0200 In-Reply-To: <20200803061511.29555-4-crystal.guo@mediatek.com> References: <20200803061511.29555-1-crystal.guo@mediatek.com> <20200803061511.29555-4-crystal.guo@mediatek.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT User-Agent: Evolution 3.30.5-1.1 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2001:67c:670:100:3ad5:47ff:feaf:1a17 X-SA-Exim-Mail-From: p.zabel@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2020-08-03 at 14:15 +0800, Crystal Guo wrote: > The TI syscon reset controller provides a common reset management, > and should be suitable for other SOCs. Add compatible "generic-reset", > which denotes to use a common reset-controller driver. > > Signed-off-by: Crystal Guo > --- > Documentation/devicetree/bindings/reset/ti-syscon-reset.txt | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/devicetree/bindings/reset/ti-syscon-reset.txt b/Documentation/devicetree/bindings/reset/ti-syscon-reset.txt > index d551161ae785..e36d3631eab2 100644 > --- a/Documentation/devicetree/bindings/reset/ti-syscon-reset.txt > +++ b/Documentation/devicetree/bindings/reset/ti-syscon-reset.txt > @@ -25,6 +25,7 @@ Required properties: > "ti,k2l-pscrst" > "ti,k2hk-pscrst" > "ti,syscon-reset" > + "generic-reset", "ti,syscon-reset" > - #reset-cells : Should be 1. Please see the reset consumer node below > for usage details > - ti,reset-bits : Contains the reset control register information > -- > 2.18.0 My understanding is that it would be better to add a mtk specific compatible instead of adding this "generic-reset", especially since we can't guarantee this binding will be considered generic in the future. I think there is nothing wrong with specifying compatible = "mtk,your-compatible", "ti,syscon-reset"; in your device tree if your hardware is indeed compatible with the specified "ti,syscon-reset" binding, but I may be wrong: Therefore, please add devicetree@vger.kernel.org to Cc: for binding changes. regards Philipp