Received: by 2002:a05:6359:322:b0:b3:69d0:12d8 with SMTP id ef34csp591877rwb; Wed, 10 Aug 2022 13:23:23 -0700 (PDT) X-Google-Smtp-Source: AA6agR74rY+sc1VEwRrK74H16gL0QV/nWfQsLNOoNEc90SKGOMuyLIFQ/B/fqJXQg55Z+/eefKza X-Received: by 2002:a63:d308:0:b0:41d:9d48:96ca with SMTP id b8-20020a63d308000000b0041d9d4896camr10640695pgg.363.1660163003054; Wed, 10 Aug 2022 13:23:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660163003; cv=none; d=google.com; s=arc-20160816; b=IlmH0k5A8f43oJ9TD1/7x0/q0YWwRY4WH6KvO9t77NpuXOSjJqtBG36DqHTYvLYPCD /yF9UialdrSOzWUbTeV7JDQAb8QhnbNBSwGi9fHQ9XDs9u4HJJd1VCbnzDv8eCo8NjTD oUBmILSZ7EeZD/7Qhi7pilm/qSNBLs+IhEOd7MOJ9VsbZbUwIkB9e8LxiaAHqUCfexT1 POKLm3I208Ui8Jl1w66kxFvOp/LmWUwRJzVeRY+OH/S5h7Szkp3JXaTjoGRgfmcr2Foe +3YQ+APaNab4DGWxy+kkUMbBu19379xB3suSNZ2eSaURxS56EZz3PVf//g6/ksJKYQel 8sAQ== 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=wufSRqh/QVijGNaq/aAL4S6kr3FJOGsDXoMinL9NFkQ=; b=00od51oNxBrB4wM15q2U0IKXeGfLQte8PxqY3bZYIglj+/Cf0vnqWgc1pRFSCAmVA6 t93n5FVr3MsrGafW+Ergxrt7VQjN2GGEu6/Wdk8qSsQZeIQ2RgQ9qE9zvqxght2Oy0e/ kBnN8K51MHihaiXrbmzh5no5PB3CBFRRAKRrGqNiwInjXi6Y2nmAPZEWutZj7VthDNgO 8Fw0nARoYcd7y5DXJE3JdjtKhkKFqcJvuETee4bq9wmD6phep9fpGG/YkVgDIaZ/GrLB h1KdCnIdai5OW3+vkOlWYTT1poiWXGMIm0pKWHyzK9nZk98bUtd/US1MqDgTnGfx6nOB fijA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LXS7pfWV; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x185-20020a6331c2000000b00419c3bbce5bsi19924653pgx.795.2022.08.10.13.23.08; Wed, 10 Aug 2022 13:23:23 -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=@linaro.org header.s=google header.b=LXS7pfWV; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233155AbiHJTvO (ORCPT + 99 others); Wed, 10 Aug 2022 15:51:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48148 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232578AbiHJTvM (ORCPT ); Wed, 10 Aug 2022 15:51:12 -0400 Received: from mail-ot1-x330.google.com (mail-ot1-x330.google.com [IPv6:2607:f8b0:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 10FA086C26 for ; Wed, 10 Aug 2022 12:51:11 -0700 (PDT) Received: by mail-ot1-x330.google.com with SMTP id x1-20020a056830278100b00636774b0e54so11306825otu.4 for ; Wed, 10 Aug 2022 12:51:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc; bh=wufSRqh/QVijGNaq/aAL4S6kr3FJOGsDXoMinL9NFkQ=; b=LXS7pfWVJyH5+9g4Izlsrw3QCK89LKUhaAHp5PyyAybFmK+2tcHA6rw4Qhm3UpQHLg dNr+xBXZVwW5tdJ5LNEpA5dFjcQ6aiuAnYIFqZBfm4KTzmx0X6M67UWHgAO5DKnCt5ct zX9KsxzwDqU/wIREG0lFidsRNh1UAjHYzHpF5rwWmfHA6Awz7PYTk4QslNbpBuvC3SQ9 PU4vqDIE30AI9OomcvRsYk/JJITDIv3oSAQnGzoUMQNzJaGh1Oexs8iWx7v6uzbOxOf8 Q4i+9pyUxUq4kNWQcloP+g98YZTZsjqLc4FhPQOGcIk/zlClbgYXupz5AGUvpY45sQGp 5qLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc; bh=wufSRqh/QVijGNaq/aAL4S6kr3FJOGsDXoMinL9NFkQ=; b=CKdHFAI56/GmeJ921VZO8seyQSr6rncbvVM9lKHPv8bsFuc/CiVn0n9eosEEDP6Y5S k/VJC4YNBXrrH0HxBhJnq64amyrGkFwk2MqFYGdCoQlANWq72PTlwslj6D/DlFjuYerm n9Xeln9WSfMAJP2nahnWxyuMmyk4Q0wzUSe9EiJMPAotEnUZ6IkajlKGmNailxXwHy5D tylY8WHCpUKUjP6vzG3I/m3tAydOFMWrx/Ts+CWgVvwefIFVU4vRsDkqFieXAX7xp3qT uNyZool39la20jyHU4O3Mv05AQkRY/kn6uo6Kf75i8H+j3W6b1BJt4vTwEgg4bEvRXY2 baVw== X-Gm-Message-State: ACgBeo1tvw8gNi8Iuvlic5CpM5X+nHo4MPVHpUWKKSt9anG7eZY4oFQL 5680TKpWzcdpBZ8YVbNMwJKKYQ== X-Received: by 2002:a9d:53c8:0:b0:61e:ddc0:bfae with SMTP id i8-20020a9d53c8000000b0061eddc0bfaemr10427715oth.266.1660161070280; Wed, 10 Aug 2022 12:51:10 -0700 (PDT) Received: from ripper (104-57-184-186.lightspeed.austtx.sbcglobal.net. [104.57.184.186]) by smtp.gmail.com with ESMTPSA id bk12-20020a056830368c00b00636e6dea5e5sm819363otb.23.2022.08.10.12.51.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Aug 2022 12:51:09 -0700 (PDT) Date: Wed, 10 Aug 2022 12:53:45 -0700 From: Bjorn Andersson To: Rudraksha Gupta Cc: agross@kernel.org, david@ixit.cz, devicetree@vger.kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, robh+dt@kernel.org Subject: Re: [PATCH v2 1/2] ARM: msm8960: Rename cxo_board to cxo-board and add alias Message-ID: References: <20220808234723.5184-2-guptarud@gmail.com> <20220809000300.6384-1-guptarud@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220809000300.6384-1-guptarud@gmail.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On Mon 08 Aug 17:02 PDT 2022, Rudraksha Gupta wrote: > This patch renames cxo_board to be up to date with the current naming > style. It also adds an alias. > > Signed-off-by: Rudraksha Gupta > --- > v2: > - Group the correct changes together > > arch/arm/boot/dts/qcom-msm8960.dtsi | 2 +- > drivers/clk/qcom/gcc-msm8960.c | 2 +- Clock and dts patches goes through two different paths towards mainline, so they should be separated. > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/arm/boot/dts/qcom-msm8960.dtsi b/arch/arm/boot/dts/qcom-msm8960.dtsi > index 0e099aa7c889..2ed969785b78 100644 > --- a/arch/arm/boot/dts/qcom-msm8960.dtsi > +++ b/arch/arm/boot/dts/qcom-msm8960.dtsi > @@ -58,7 +58,7 @@ cpu-pmu { > }; > > clocks { > - cxo_board { > + cxo_board: cxo-board { > compatible = "fixed-clock"; > #clock-cells = <0>; > clock-frequency = <19200000>; > diff --git a/drivers/clk/qcom/gcc-msm8960.c b/drivers/clk/qcom/gcc-msm8960.c > index 051745ef99c8..56ce05a846dd 100644 > --- a/drivers/clk/qcom/gcc-msm8960.c > +++ b/drivers/clk/qcom/gcc-msm8960.c > @@ -3624,7 +3624,7 @@ static int gcc_msm8960_probe(struct platform_device *pdev) > if (!match) > return -EINVAL; > > - ret = qcom_cc_register_board_clk(dev, "cxo_board", "cxo", 19200000); > + ret = qcom_cc_register_board_clk(dev, "cxo-board", "cxo", 19200000); This breaks compatibility with existing DTB files. What you probably want is to make sure that any clocks with parent name of "cxo", should have a .fw_name = "cxo", then you can make a phandle-based reference in DT and these global names doesn't matter (and in the end we can remove this board_clk from the driver). Regards, Bjorn > if (ret) > return ret; > > -- > 2.25.1 >