Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp1211191pxb; Fri, 22 Apr 2022 23:38:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzQqpUOYDpiNOzNnkaKgU2rRy+lQdGSF48eovmmwdtdvOeNQUKVDrUUrDjPBZgtRukRH8kk X-Received: by 2002:a05:6402:d05:b0:425:b5c8:faeb with SMTP id eb5-20020a0564020d0500b00425b5c8faebmr8595903edb.273.1650695925732; Fri, 22 Apr 2022 23:38:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650695925; cv=none; d=google.com; s=arc-20160816; b=MTo+7jnRxVqijWoef/rNnGjPix0cbdY/Hk3Mv+NIAUm2H9CQ2M3r2v0zaro1aEAKLq ipaAzvGjMLCZ/YEfnepb0qsVExWrJrgmGpDzfDVvNn8eHdABUZJEkqQKuIkac9hnegO2 R1JP4ntVmPJGedZ7D0up1Kfu/Jsi8PXXBuFsFTWnRQ7sEgYyWyDpd98Rnih3hlcMq15P uHCdIf3mSnTySrspeFwJor7fjduav0R5kwxGASV+Fm4Ux7s/8XbRn6T7dUDQ/vY18v1M 2lB3V4ZWAg2y8Gh5aMYPAY53QUMJFuiFsOSpibGLVcCnuA5Ea7/br+3XOo4fCkA9smKW Wl9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:user-agent:date:to:cc:from:subject :references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=WldRlKLekZz3B0lS5WxElPU3dJenUXUhiRktaOJG57o=; b=WkrMiiSdL7y1opBsEBaRHjNXtIvEQdJhjSYVeRfYiWOwYyWI5Z0eV2SYdf/1n9Z1+W z+ih1iteKjarSJZxlh1KN20fW+ZmiJ+TtnovNmGft6knxWOiqr9Pb4OaGRkhX+9cabj9 srI3bx7qZoUNAQpIgleiVXSjaszCY2GQVATSlSjC5oMn90IfQqwvTXMx0E85WHO7Exzr JcoFrSbu0jPoQ7XeDPuHiIH6ZeFUD9OyXEMRRg5mudNAfxfxrnGDRB1Oaorz0/h2NnJh /5X9HGtuTR61gk/zZgE61M4MphFYCtxarLskr9vgegcwTsJ2lwPFuAepxmPGbOeS8+IY YhJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OP0hdxPZ; 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 c12-20020a170906154c00b006ef5939a850si8203408ejd.336.2022.04.22.23.38.20; Fri, 22 Apr 2022 23:38:45 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OP0hdxPZ; 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 S232484AbiDWDRA (ORCPT + 99 others); Fri, 22 Apr 2022 23:17:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34246 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232414AbiDWDQs (ORCPT ); Fri, 22 Apr 2022 23:16:48 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8AEC0C60; Fri, 22 Apr 2022 20:13:52 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 4CDECB8335D; Sat, 23 Apr 2022 03:13:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 01299C385A0; Sat, 23 Apr 2022 03:13:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1650683630; bh=cAjB3SwesxGlhRGXCKftp+OPMZZqvtJP/UCppIG/HvA=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=OP0hdxPZNSvivrDZoK0G6hQtq+j61ny5knTMEfFwL0Con60lrQ1oaYhaVVB7LJ79V 4baTC7tvXP6FwN2rTlcdvLumGdhHfS5Qp7ChLxmqiIWwFSto95M54Hr22HFEufPOH9 wcvdrNcMMsrwnBUx9GgqLbmL4vCFpwta7TugRPl/HoeVcjHIbDoovqdeEPo1Giy4xz BI+QlrKhBYdyynnPalzlwH7TZpHZYtEgXMlN0xYKK2g+gP05Im1V8alSHjBifY9ZvG dWicF5RDot33bfL5HKhXthcURnzQj2IVoal3mZGePG8EB32p2jltoqMle4zwgRtlb8 pNAlaYY498otg== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: References: <20220422230013.1332993-1-bjorn.andersson@linaro.org> <20220423014824.912ACC385A0@smtp.kernel.org> Subject: Re: [PATCH v2 1/2] dt-bindings: clock: Add Qualcomm SC8280XP GCC bindings From: Stephen Boyd Cc: Krzysztof Kozlowski , Michael Turquette , Rob Herring , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, quic_tdas@quicinc.com To: Bjorn Andersson Date: Fri, 22 Apr 2022 20:13:48 -0700 User-Agent: alot/0.10 Message-Id: <20220423031350.01299C385A0@smtp.kernel.org> X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 Quoting Bjorn Andersson (2022-04-22 20:02:57) > On Fri 22 Apr 18:48 PDT 2022, Stephen Boyd wrote: >=20 > > Quoting Bjorn Andersson (2022-04-22 16:00:12) > > > Add binding for the Qualcomm SC8280XP Global Clock controller. > > >=20 > > > Signed-off-by: Bjorn Andersson > >=20 > > Why no cover letter? > >=20 >=20 > I didn't have anything useful to write in it. Will provide you one in > the future... Thanks! > > > + clocks: > > > + items: > > > + - description: XO reference clock > >=20 > > "clock" is redundant in all these descriptions. Please remove. > >=20 >=20 > You don't think it's a little bit odd to have description such as > "Sleep", "PCIe 2a pipe" or First EMAC controller reference"? >=20 > I mean I agree that it's obviously clocks we're talking about, but to me > that makes it seems like the descriptions are cut short, just for the > sake of avoiding "clock". Alright, keeping clock is OK as long as >=20 > > > + - description: Sleep clock > > > + - description: UFS memory first RX symbol clock > > > + - description: UFS memory second RX symbol clock > > > + - description: UFS memory first TX symbol clock > > > + - description: UFS card first RX symbol clock > > > + - description: UFS card second RX symbol clock > > > + - description: UFS card first TX symbol clock > > > + - description: Primary USB SuperSpeed pipe clock > > > + - description: gcc_usb4_phy_pipegmux_clk_src there is a better name for this and the other non-word descriptions. USB4 phy pipe gmux clock source? > > > + - description: gcc_usb4_phy_dp_gmux_clk_src > > > + - description: gcc_usb4_phy_sys_pipegmux_clk_src > > > + - description: usb4_phy_gcc_usb4_pcie_pipe_clk > > > + - description: usb4_phy_gcc_usb4rtr_max_pipe_clk > > > + - description: Primary USB4 RX0 clock > > > + - description: Primary USB4 RX1 clock > > > + - description: Secondary USB SuperSpeed pipe clock > > > + - description: gcc_usb4_1_phy_pipegmux_clk_src > > > + - description: gcc_usb4_1_phy_dp_gmux_clk_src > > > + - description: gcc_usb4_1_phy_sys_pipegmux_clk_src > > > + - description: usb4_1_phy_gcc_usb4_pcie_pipe_clk > > > + - description: usb4_1_phy_gcc_usb4rtr_max_pipe_clk > > > + - description: Secondary USB4 RX0 clock > > > + - description: Secondary USB4 RX0 clock > > > + - description: Multiport USB first SupserSpeed pipe clock > > > + - description: Multiport USB second SuperSpeed pipe clock > > > + - description: PCIe 2a pipe clock > > > + - description: PCIe 2b pipe clock > > > + - description: PCIe 3a pipe clock > > > + - description: PCIe 3b pipe clock > > > + - description: PCIe 4 pipe clock > > > + - description: First EMAC controller reference clock > > > + - description: Second EMAC controller reference clock > > > + > > > + clock-names: > > > + items: > > > + - const: bi_tcxo > > > + - const: sleep_clk > >=20 > > And "_clk" postfix is redundant in all these strings. Remove? > >=20 >=20 > In this case I think they should include _clk, as they actually matches > the clock names in the documentation. >=20 I'd really rather not have clock-names at all because we spend a bunch of time comparing strings with them when we could just as easily use a number.