Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp2675419rdh; Mon, 30 Oct 2023 04:42:09 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEmfrkzAqzyEr2GwiG6S0rx0/Bln50DsO4yCfhnCqwa8UCHTW2YlOHQp6B8sT77Hy9p0REy X-Received: by 2002:a17:902:da8d:b0:1cc:548d:423b with SMTP id j13-20020a170902da8d00b001cc548d423bmr1167852plx.60.1698666129355; Mon, 30 Oct 2023 04:42:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698666129; cv=none; d=google.com; s=arc-20160816; b=WNo8jsAngmE27qY8SxM/fOkvp3b8ih8TrcO3L+mBsOaIeEd9ImzRW/xyGtDYGbdxWZ XDLs48g6uiV32V7nvKH6OfioJ1NaDBRB62eG7J755FABjQju6INSszzUyiSpkJnzwXFx 9AUku/nBBSUpOZLxzTcUae0ohqGm7Cu7t5mV2EQHqw3aE1CylH/OM/ZmhRAzvCCh25Fo BJHGrdBEDuwFNJYJvAZCOYg1uGcLJT508Zx7cq/ucJfz1yg19ejqUfrTVzuwpyTpR3w/ 5z4fTX7PgoqCf6EHvyzprEidCrgqCmgpt9/6dZgKYJX/qxrb1WIxKmFyMPOYNel2jAXB ESMA== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=iinK/pAwY7bqmpG6cnd6VP1rAV8TSvtxTDIRbcMCAbs=; fh=2V6W5dld/Dwbd6z74mPW+lblPIdxBpQS+4zCNyDIVP4=; b=gouwqK5lQZXFv1KMIbsnw5Yw0lMlwtY5WnQx9zZ0nQnzDTKSZPmDXyOqBfuafV8J4K TB22ZcAgjNvbTpU1EzPGvTWMI5vTEEYUnmLmhx8uMKZd5/NYa5YRqRg/wHqFHxDN69SP Cg3gbffDcJqc6xHQ96ekzmcwt1pLRF+8FtHv7oL3JHHMB66tDQ9zf7GoerqA1m5SE07b bPD0SF7R+j67VKc9uPKlIXltb5tIXhC6mfzjc5PIMqTFcsmQZdYVHnlyGwFBw1B0cA8S Lzmg80WSmXprbkxxutjYvG+hRvHLw2WhH6qQq/O/eOF8L5Yw67IuxKfvBdecPixcnt9m 8cZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eGe08F3j; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id e2-20020a17090301c200b001cc476c896dsi1758701plh.543.2023.10.30.04.42.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 04:42:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eGe08F3j; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 959F680A44F7; Mon, 30 Oct 2023 04:42:06 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233073AbjJ3Ll5 (ORCPT + 99 others); Mon, 30 Oct 2023 07:41:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48132 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233019AbjJ3Llz (ORCPT ); Mon, 30 Oct 2023 07:41:55 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8BD60D6; Mon, 30 Oct 2023 04:41:53 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 65602C433C7; Mon, 30 Oct 2023 11:41:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698666113; bh=bz6igKuHupvtiNkw5ZoF2Pc2VCrbtGARD3I17VSwiOo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=eGe08F3jZZRbIVv+zeX+3ej6MJOvO8BbTuxF4TM8a4QQEctmK5gGGcGSSrzPNndtC ++VoH2AX4C14RrLR/AZaPILnRnqbco6FVT/+kFNOPVVS4NE5dsascnNysqFp4ref2/ +FhTtbmC5KSDCu0/tN8hKJsUP/uouNiN74inofe4YyiFOWmX19x6lgeqQgqZ15HHBo e9SCP0HtWw8R25pl1Ah0ULmwyJhAn/zzalSfkR5zM3k5cVeF+YyUyFXn2gcwh7xeBi HQvC/sgdxancozu84+rwT7jgtaLXhNgGdNFHS/HDr0+t5M+G3J9yvvo0cMS5Wvs38g xx5X8cpT2eRLg== Date: Mon, 30 Oct 2023 11:41:47 +0000 From: Conor Dooley To: Artur Weber Cc: Stanislav Jakubek , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Florian Fainelli , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] dt-bindings: clock: brcm,kona-ccu: convert to YAML Message-ID: <20231030-afternoon-traps-f7b20de220e2@spud> References: <20231027-bulldog-component-5b84e4660465@spud> <5bd796c5-3e9a-4aa5-b284-27fb4fc8ea48@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="3lNzro6sSew2kpsK" Content-Disposition: inline In-Reply-To: <5bd796c5-3e9a-4aa5-b284-27fb4fc8ea48@gmail.com> X-Spam-Status: No, score=-1.7 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Mon, 30 Oct 2023 04:42:06 -0700 (PDT) --3lNzro6sSew2kpsK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Oct 29, 2023 at 10:16:14PM +0100, Artur Weber wrote: >=20 > On 28/10/2023 13:30, Stanislav Jakubek wrote: > > On Fri, Oct 27, 2023 at 03:47:48PM +0100, Conor Dooley wrote: > > > On Tue, Oct 24, 2023 at 06:45:21PM +0200, Stanislav Jakubek wrote: > > > > Convert Broadcom Kona family clock controller unit (CCU) bindings > > > > to DT schema. > > >=20 > > > I didn't cross-check the clock-output-names, but this conversion most= ly > > > looks good to me. > > >=20 > > > > Changes during conversion: > > > > - remove "dmac" from clock-output-names for brcm,bcm11351-master= -ccu, > > > > it is not used in DT nor the dt-bindings > > > > - remove "uartb4" from clock-output-names for brcm,bcm21664-slav= e-ccu, > > > > it is not used in DT nor the dt-bindings > > >=20 > > > This I'm not sure about - they _were_ documented in the text-form > > > dt-binding, even if they weren't used in the dts. If the clock > > > controller does actually produce these clocks, removing them doesn't > > > make sense to me. > >=20 > > Hi Conor. Looking at downstream, I was not able to find these clocks, t= hough > > I admit that I'm not familiar enough with the downstream mess to be 100% > > confident. > >=20 > > From what I can tell, the BCM21664 arch/arm/mach-hawaii/clock.c (e.g. = [1]) > > doesn't contain any mention of uartb4, only uartb, uartb2 and uartb3. > > And similarly, for the BCM281XX arch/arm/mach-capri/clock_capri.c (e.g.= [2]) > > I wasn't able to find any mention of dmac, only dmac_mux_apb and dma_axi > > (though these two don't seem to be supported on mainline yet). >=20 > I've done some digging in the downstream kernel; for the BCM21664, I'm > almost certain that the uartb4 clock doesn't exist. Broadcom helpfully > left in "RDB" files containing the entire register layout of all of the > components; and even in the RDB for the slave clock manager[1] (used by > the other uart clocks), there is no uartb4, nor is it mentioned > anywhere else in the kernel (judging by a quick grep in the kernel > sources). >=20 > As for the BCM281XX clocks, there indeed doesn't seem to be an exact > "dmac" clock but there is a "dmac" clock gate register[2], which is > used for the dma_axi clock, so perhaps that's what this is referring > to? Also not 100% certain. I'm 99% sure I was happy with this otherwise, so thanks for doing the investigation guys :) Reviewed-by: Conor Dooley Cheers, Conor. --3lNzro6sSew2kpsK Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZT+WegAKCRB4tDGHoIJi 0sxPAPwLvrTjRs6fj26uMHvW8nOf+sn8iPT13yt8UCj0kyWmIgD8CiKefsXxXRls oDopVlrjt1bwZ+qq7+OGZg3ey9hxQwI= =emOG -----END PGP SIGNATURE----- --3lNzro6sSew2kpsK--