Received: by 2002:ac0:cd04:0:0:0:0:0 with SMTP id w4csp280429imn; Fri, 1 Jul 2022 15:07:50 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vJuQSQrz5NxhOBnrcN/8q1BSR7mcpLSO/wiI3f3iL1+nQzTRsNdBc248gsEGbGNdNedRXA X-Received: by 2002:a63:a749:0:b0:40c:57e0:86c0 with SMTP id w9-20020a63a749000000b0040c57e086c0mr14188020pgo.265.1656713270276; Fri, 01 Jul 2022 15:07:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656713270; cv=none; d=google.com; s=arc-20160816; b=HEM6CnBGkdBhMxnLFygp4A3boFziMVtoNEc9PAaQyqNURMGLT4e9t1Kr4RQGo+72TX jYeePFW5xtq9Og4Nn6OCE+NVGrfu36ycIKbhWb/41J4JIXgqrAsGJiPTQbqM+kvn+3r5 NeCtpXBYg8Re038RO7hEMPTvg/T26sop5upNZh1VqxdizZgfJcCBJvlx2LtQ+V6TO31p fUpgVpGPgoyqFTA2hHgbP1gwjEBC74Fte4j6qaMVbelOccPLBO0tehrPIOXdu6JcfCs+ Lhw6pYhAyJ1x0tXyMHQxZvT48VIdBFdNanu8VhyocaAk1Zziyq4XAITmU1fl+W2Trr5i TNkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=J86v2cLDP22dhdMQY1gkogeTSb0Yh6JFnGz+u5RmAN4=; b=jmKQVq42QVIB1CjTv0DjcOG/9W39u2GoizKlrm9wj2cDe8x0RSviPVqyhdjDjnDQxx 63uIlY69QbgkaFu0qvLr5bpSde3M8u69ASOjxgUGKVLKUSprz4NKDFg95ycWx0pO8hQ6 vIG1PUrKF8vh4+7TdwvcHbOBPuZOUaPCDrEvI5ik2Wexxnxgcj7lUse9uvHDfPgi7KVJ 0qZLkaOOe5iE56rMm8vl7FzXpO0wr8BhoskXEKNAbtWThBZeNmKVVk+RPLMgj6cTh4OQ dnejYWz5DffmNZCzSTvqSWCltbxzheu/cpHUdHPF29Y+yuPe559vWwH3iMMix9qayjVr vS5Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o7-20020a170902d4c700b00153b2d16554si4190886plg.348.2022.07.01.15.07.38; Fri, 01 Jul 2022 15:07:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S231299AbiGAVhM (ORCPT + 99 others); Fri, 1 Jul 2022 17:37:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54530 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229572AbiGAVhH (ORCPT ); Fri, 1 Jul 2022 17:37:07 -0400 Received: from mail-il1-f180.google.com (mail-il1-f180.google.com [209.85.166.180]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8197D5C94E; Fri, 1 Jul 2022 14:37:05 -0700 (PDT) Received: by mail-il1-f180.google.com with SMTP id h20so2151982ilj.13; Fri, 01 Jul 2022 14:37:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=J86v2cLDP22dhdMQY1gkogeTSb0Yh6JFnGz+u5RmAN4=; b=n7EBcob2aoNHxC3VdPMo1ya4BTxVa2InRSrwDJr5w049qokmz0zxnfDLxuHFZws8jm A5ScfalNpF+UP1plY/q37I0bzHDx73uikxv1F5dlGwoPEhjH7t9wYitbioLlFXW87S3q 4RTQzDHDBM/BweJzZCFhh2AmQ2fEyDn5syFUMETKUSi7BKgu4+qun5L9MLo/LlZTZzZl MrT2+MzRW48jskGRyv9amINACQYWIp9nFT32LaE+3xpg0o16amIqIm2ZYanWkBqa5NBz w3qa9QqpWULIwdcftW2HRlLzKchu1IhpPCuj+BCAMRb91VowQAR70xHfAlFxJM4MGFaN JSAQ== X-Gm-Message-State: AJIora9dVxF842sfFyDyKgt4SJ0PXP1ND7j+1/sF+U8iyD5XG95UNJtZ j0lffUs3KOHfJ8vPtaLs+w== X-Received: by 2002:a05:6e02:1c85:b0:2da:956b:6bc with SMTP id w5-20020a056e021c8500b002da956b06bcmr9686339ill.36.1656711424773; Fri, 01 Jul 2022 14:37:04 -0700 (PDT) Received: from robh.at.kernel.org ([64.188.179.248]) by smtp.gmail.com with ESMTPSA id x5-20020a026f05000000b0033eb2f2ccfasm100716jab.43.2022.07.01.14.37.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Jul 2022 14:37:04 -0700 (PDT) Received: (nullmailer pid 1599831 invoked by uid 1000); Fri, 01 Jul 2022 21:37:02 -0000 Date: Fri, 1 Jul 2022 15:37:02 -0600 From: Rob Herring To: =?iso-8859-1?Q?N=EDcolas_F=2E_R=2E_A=2E?= Prado Cc: Chunfeng Yun , Greg Kroah-Hartman , Matthias Brugger , AngeloGioacchino Del Regno , kernel@collabora.com, Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-usb@vger.kernel.org Subject: Re: [PATCH v2 2/4] dt-bindings: usb: mtk-xhci: Make all clocks required Message-ID: <20220701213702.GA1591697-robh@kernel.org> References: <20220623193702.817996-1-nfraprado@collabora.com> <20220623193702.817996-3-nfraprado@collabora.com> <93c6b7201533325cf7758637dd194a372f3c00c6.camel@mediatek.com> <20220629185546.z6rn7xp3ejpmaupi@notapiano> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220629185546.z6rn7xp3ejpmaupi@notapiano> X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 29, 2022 at 02:55:46PM -0400, N?colas F. R. A. Prado wrote: > On Tue, Jun 28, 2022 at 08:57:45AM +0800, Chunfeng Yun wrote: > > Hi N?colas, > > > > On Thu, 2022-06-23 at 15:37 -0400, N?colas F. R. A. Prado wrote: > > > All of the clocks listed in the binding are always wired to the XHCI > > > controller hardware blocks on all SoCs. The reason some clocks were > > > made > > > optional in the binding was to account for the fact that depending on > > > the SoC, some of the clocks might be fixed (ie not controlled by > > > software). > > > > > > Given that the devicetree should represent the hardware, make all > > > clocks > > > required in the binding. Subsequent patches will make the DTS changes > > > to > > > specify fixed-clocks for the clocks that aren't controllable. > > > > > > Signed-off-by: N?colas F. R. A. Prado > > > > > > --- > > > > > > Changes in v2: > > > - Undid clock list changes that allowed middle clocks to be missing > > > from > > > v1 and made all clocks required instead > > > - Rewrote commit message and title > > > > > > Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml | 4 + > > > --- > > > 1 file changed, 1 insertion(+), 3 deletions(-) > > > > > > diff --git a/Documentation/devicetree/bindings/usb/mediatek,mtk- > > > xhci.yaml b/Documentation/devicetree/bindings/usb/mediatek,mtk- > > > xhci.yaml > > > index 63cbc2b62d18..1444d18ef9bc 100644 > > > --- a/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml > > > +++ b/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml > > > @@ -67,7 +67,6 @@ properties: > > > maxItems: 1 > > > > > > clocks: > > > - minItems: 1 > > > items: > > > - description: Controller clock used by normal mode > > > - description: Reference clock used by low power mode etc > > > @@ -76,9 +75,8 @@ properties: > > > - description: controller clock > > > > > > clock-names: > > > - minItems: 1 > > > items: > > > - - const: sys_ck # required, the following ones are optional > > > + - const: sys_ck > > > - const: ref_ck > > > - const: mcu_ck > > > - const: dma_ck > > > > This patch causes more check warning, I prefer to leave dt-bindings > > unchanged, but just fix mt8195's dts warning instead, thanks a lot > > Hi Chunfeng, > > the warnings reported by Rob's bot only happen if patches 3 and 4 aren't applied > to adapt the devicetrees. They are ABI breaking changes, but I understood this > as the desired solution from the discussion we had with Krzysztof on v1 [1]. The warnings have nothing to do with patches 3 and 4 as those are for dts files. It's examples in bindings that are the problem. Rob