Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6060772rdb; Thu, 14 Dec 2023 07:23:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IEB8CLpCj/Ar0r1zqTeidh3UaBcXd+jJ9vB6kv1rBOwSgrNB5551JSdTwsISAR7qwErF+qN X-Received: by 2002:a05:6a00:1951:b0:6b7:18c1:c09a with SMTP id s17-20020a056a00195100b006b718c1c09amr6550656pfk.5.1702567386301; Thu, 14 Dec 2023 07:23:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702567386; cv=none; d=google.com; s=arc-20160816; b=yaCAjlym7o1mRUIfxgWuUP4QqPo667FJVSWviAgqqU9psRhLyZA8mO1ARYr1iFydCz 2MtoHFsDW2idS+MxT7zlxXaL6yG58x6PzOOi/n+YPRxfCPt8MXLlcTjfDLg79uXVgSX1 ZOIIoUyGCJxEAXfnebYN3doU60OO0uHFn1EM19IXygtgnnsbUozZgGNovHTo6960X3O2 pBzbmduU3cfL4FXJEKztUb28BOzEXfRWHxoumJqqBXPok5cdcb0AvzyemhRnFvxaZvve dm2c+x7nx/4pifHcTBtMjlEhqShHqStzhUTpfAzM1Nv8QRQEjxbCQDqsGRR2pLJzxRVn 0TkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=IcT2Jb1TBj0DcJUl7sM6tUpyzWt4ekggVFEBQkp4qCE=; fh=bN6FYJbEX5T7pvZupMhUBwTh12MzmTP2d6Pekj2xdtU=; b=RpCxB0dBhPMy/JZ1913+sW9ykFSOSZBAXq2thQnfWfsOIrmjIowhkPeXat8Uo0RG5F QQ5vEhTVIPGT5CuJceM4Z5mvMZZePpryh6AVZoazrr5569fNG5Do2ZQyLiZvf/DmHhDH WdeXALVyJEVM2LWstIAD4XyeO1WFIzz4KUrJ51pFluc1WL/D6h9fbckZD2a90BMOQFql okbc17TdqFeD2srSLdMFZsxYbnQbv0DrokMe4D3EEnbFPP8GN1m5KTX1+csksUQvdAvE ve4ZH35r1MHCUiRXquVXF/FhEDZP/+oSt4JV5B4YqYFoDsvhVCm/O7CxuTRJFqTXvBmB wjzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HaYtexrN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id 7-20020a630c47000000b005c69605f795si10960456pgm.75.2023.12.14.07.23.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 07:23:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HaYtexrN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 7307582A7E25; Thu, 14 Dec 2023 07:23:02 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1573747AbjLNPWq (ORCPT + 99 others); Thu, 14 Dec 2023 10:22:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1573678AbjLNPWp (ORCPT ); Thu, 14 Dec 2023 10:22:45 -0500 Received: from mail-pg1-x535.google.com (mail-pg1-x535.google.com [IPv6:2607:f8b0:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E6D53128 for ; Thu, 14 Dec 2023 07:22:51 -0800 (PST) Received: by mail-pg1-x535.google.com with SMTP id 41be03b00d2f7-5ca5b61f101so579640a12.0 for ; Thu, 14 Dec 2023 07:22:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702567371; x=1703172171; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=IcT2Jb1TBj0DcJUl7sM6tUpyzWt4ekggVFEBQkp4qCE=; b=HaYtexrNJbGiaDO9zlSIZeh6h74aZvIK+U9xf0Sq+Oep5wgHxBwC4U1we8x5XwUSwY Qz0lrqTmLMzoysyXFxkgFuopeliNDMjhoHD7oBhp1gXLKGJ4hV6dQ1soFe50iQhiD/GV mDr+C+F77vJPUoI8JGTF/MhlRUVQ6Ff/uwnwkDPdBxmtu5+k/v8M8ock2LiXp24ESrtW 1bizF1Qjh5sFA+Wc2LK5Zf9NDwDJc/oMq/YRVFfMWSJqJMp/w5YQX5ekj55+IYIDegXN j7JDU+ey9gOZw/jF1/SOVJL5MoNvupR4gBy0W8/8TG6FsVJQx++7GnHWAT6cMEtVd7Cy C4Rw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702567371; x=1703172171; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=IcT2Jb1TBj0DcJUl7sM6tUpyzWt4ekggVFEBQkp4qCE=; b=mJB3sD2Fpywlnb2wj4Svoo/eXhPH9MBOUMl/2yWu0ij7EqPIrDHYnVrjQB4DCCJ9zQ 8ETAOavP/QJdxKezoVLm9SCZAVnAoZXp7SX1SnlLDgpgaSHO/k1SSuxRyfgkxQjPrLyo mtcb2vrOPxPcyAEoRgIFVNYLDVIHs0QzCDQu0EVVWWUfKoGxO2FWAqtFQoR72SbqhQQn BrPBI2pr78aDOLkPcLkqTSP+l48x4ny5qlNs2WmdgVhW8xZP9qrSVxeJtVT3Jod7HTWy u7wIifGtr6CTCgEu4aKjyeb2WPnBiuI2virWLB+hCX1PtHBQ2uklpehP8vmnnfRr/4DL 4erg== X-Gm-Message-State: AOJu0YxaJqGo19raweKMamtHI7kETzH6Tk7gLSeI9bNKQjwQij1yH6vx f87tCwVLkto9cm6Z2n84qQ3cVU1WXoRTXFp5j7FMjg== X-Received: by 2002:a17:90a:590e:b0:286:55f1:5257 with SMTP id k14-20020a17090a590e00b0028655f15257mr4847377pji.17.1702567371411; Thu, 14 Dec 2023 07:22:51 -0800 (PST) MIME-Version: 1.0 References: <20231214105243.3707730-1-tudor.ambarus@linaro.org> <20231214105243.3707730-2-tudor.ambarus@linaro.org> <0d3ae184-5ded-42ab-97cf-13bbb296083a@linaro.org> In-Reply-To: <0d3ae184-5ded-42ab-97cf-13bbb296083a@linaro.org> From: Sam Protsenko Date: Thu, 14 Dec 2023 09:22:40 -0600 Message-ID: Subject: Re: [PATCH 01/13] dt-bindings: clock: google,gs101: fix CMU_TOP gate clock names To: Tudor Ambarus Cc: peter.griffin@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, mturquette@baylibre.com, sboyd@kernel.org, conor+dt@kernel.org, andi.shyti@kernel.org, alim.akhtar@samsung.com, gregkh@linuxfoundation.org, jirislaby@kernel.org, catalin.marinas@arm.com, will@kernel.org, s.nawrocki@samsung.com, tomasz.figa@gmail.com, cw00.choi@samsung.com, arnd@arndb.de, andre.draszik@linaro.org, saravanak@google.com, willmcvicker@google.com, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org, linux-serial@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.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 (pete.vger.email [0.0.0.0]); Thu, 14 Dec 2023 07:23:02 -0800 (PST) On Thu, Dec 14, 2023 at 9:16=E2=80=AFAM Tudor Ambarus wrote: > > > > On 12/14/23 15:07, Sam Protsenko wrote: > > On Thu, Dec 14, 2023 at 4:52=E2=80=AFAM Tudor Ambarus wrote: > >> > >> The gs101 clock names are derived from the clock register names under > >> some certain rules. In particular, for the gate clocks the following i= s > >> documented and expected in the gs101 clock driver: > >> > >> Replace CLK_CON_GAT_CLKCMU with CLK_GOUT_CMU and gout_cmu > >> Replace CLK_CON_GAT_GATE_CLKCMU with CLK_GOUT_CMU and gout_cmu > >> > >> For gates remove _UID _BLK _IPCLKPORT and _RSTNSYNC > >> > > > > Doesn't it break existing gs101 device tree? > > No, compilation went fine at this point. The TOP gates are not used in > the device tree at this point. And since the bindings patch was just > applied I think we should fix it, so that we avoid name clashes as > described below (I found a clash with a gate from PERIC0). > Ok, in that case feel free to add: Reviewed-by: Sam Protsenko > > > >> The CMU TOP gate clock names missed to include the required "CMU" > >> differentiator which will cause name collisions with the gate clock na= mes > >> of other clock units. Fix the TOP gate clock names and include "CMU" i= n > >> their name. > >> > >> Fixes: 0a910f160638 ("dt-bindings: clock: Add Google gs101 clock manag= ement unit bindings") > >> Signed-off-by: Tudor Ambarus > >> --- > > > > (snip) > > Thanks for the review! > ta