Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1221512pxm; Wed, 23 Feb 2022 21:38:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJycwXjvSnf1FUi8txIe7qgaQrHTYL3B56HJM6v1zUtYH6IxAPXgzNGW5o7ceXWjgJUrDi9a X-Received: by 2002:a05:6402:1d51:b0:412:86c3:7580 with SMTP id dz17-20020a0564021d5100b0041286c37580mr752184edb.353.1645681097870; Wed, 23 Feb 2022 21:38:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645681097; cv=none; d=google.com; s=arc-20160816; b=Esxs12YV6y2kOECRE+WCaBxh7ANVwYf0FwUkqnFARxK4TxFBOylCnnFsj7cjkKawii MaHIw2O6agiVjrc9j4LwuKVrGJQiCkqMxoSvOvRkfS9YHq+nSL+TT5nYmo07A6LQXGaT 0ib59M/et48ZrbxDJkdugB+XfczxwOQQbx35s689Rqp1JtG5BEerCXlfuudtjXDeY8xF Ukn4utIYkBOKVhSlJhC292+iha6IIglJttjCCnLmmsJYXOUU3MCbrD5DeiU374zPxBHb 854iTndyrCTRIOOKH8JgisG5pj35iBXQqd47LTzv+0V/+Sm2KGLPtYQaikTfpVsB50uw pqKg== 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=YX+8SJVk0oliJ3pEu4ZMjuzH+FEJiz0kXUJ+6yLv9a4=; b=svqomIw+u60PCtSjjN7RLleiNt09IplqRM4Vv1gK000IQccl6lp8IBK04sgK6WjvOE 0J8TqQdhQVZbaic0PUmCJa+jUHGx35c0OSglniT7VLmRMKkxuO7VadS2T8XVt+hHGqO1 cTA5CA/wsIK1O56eBWrgClrPHnBnHd9v2H/DoDcrT3OR9ibwosYFTuMnwZE70zeRbpKY AX40543vnhYcUDGYJrgL2C+ZGHDf+P2BZ5t/OZ12UXSQXFAmYlVH+dLPxmZy03Tues35 IPlkh6acsS64om66I1TWuGbBaIq9XYq8TYGiUw100SAxdnAN5jvp9ibGNpLzy5mzSPMn RrEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GA90Bpj8; 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 u1si922877ejf.526.2022.02.23.21.37.55; Wed, 23 Feb 2022 21:38:17 -0800 (PST) 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=GA90Bpj8; 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 S229778AbiBXDur (ORCPT + 99 others); Wed, 23 Feb 2022 22:50:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229774AbiBXDuq (ORCPT ); Wed, 23 Feb 2022 22:50:46 -0500 Received: from mail-oo1-xc31.google.com (mail-oo1-xc31.google.com [IPv6:2607:f8b0:4864:20::c31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F082620D82F for ; Wed, 23 Feb 2022 19:50:16 -0800 (PST) Received: by mail-oo1-xc31.google.com with SMTP id u47-20020a4a9732000000b00316d0257de0so1692438ooi.7 for ; Wed, 23 Feb 2022 19:50:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=YX+8SJVk0oliJ3pEu4ZMjuzH+FEJiz0kXUJ+6yLv9a4=; b=GA90Bpj8f/3QLmmY2xQqr8xq+ilH5tEUvsH11kAFRgyfYarduXU7XRPIiOH5yE81IB o2uD+ecmbi5A1PhoB++9M+aZgJwciRkK2iES4b0oYLvjRmOx7+XEb7rT5NC8D9vJ/Tun sk85rMK4Hi05XxQFYG3O/8cCI44k4R6QOM7XQTPHiORfV9KQ9pbi4OVmOKzFZHm3FC89 SW5hxuG1YIqDQJ+jusCORyRQOdu02/7RgaL1zFTNDUbTZTgw9OHUObyxynkBt4qPa3zn OVkkkBHUEEvvOJFQB4WCgFUbgXzXIH+B0NU4g+8fe/pp9t3SzNmZbaNKuOk5pMcCAAEu 9e9w== 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:in-reply-to; bh=YX+8SJVk0oliJ3pEu4ZMjuzH+FEJiz0kXUJ+6yLv9a4=; b=NTWmPRbXTGWxnzS0luGzduUYCriwV8FTkP7P1bfWSg3cfpK3uw+xv/gZ2b/rdx8tGi 276kB4RIxKfTWAHlFmzpRZD29QvRAfmGmugW+5lqPQVKd2mziBnukagLCpWZIGRNPm8/ LTDXxeu/QPB+zVPj35m9y9TINemT3Cd/9f0WoznQGoXhS71R8h6QwkA8CexdWdqZoSAX RaWyegXJ/cI+T0W+54yOZQWxqBfxPz8Miy+tbo4krzBoiRcBfdEYaTracVA7D5RlH1Ai sbxOeuLYbZzq890nvawK5MvOhvmXotZFnULvZt/J6EedDZM6JzutQ/GngytvBzN51bTd 4A7w== X-Gm-Message-State: AOAM533xowSuvrLHEMmG4dAbyOElqOv73xNCCq0QgJw5DUkePYhZwLfA rLYgTg7AAvJRbMWN4K+OcIQ18Q== X-Received: by 2002:a05:6870:832a:b0:cc:f848:1651 with SMTP id p42-20020a056870832a00b000ccf8481651mr316226oae.347.1645674616380; Wed, 23 Feb 2022 19:50:16 -0800 (PST) Received: from builder.lan ([2600:1700:a0:3dc8:3697:f6ff:fe85:aac9]) by smtp.gmail.com with ESMTPSA id o2sm645821otl.9.2022.02.23.19.50.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Feb 2022 19:50:15 -0800 (PST) Date: Wed, 23 Feb 2022 21:50:14 -0600 From: Bjorn Andersson To: Ansuel Smith Cc: Andy Gross , Michael Turquette , Stephen Boyd , Rob Herring , Philipp Zabel , Taniya Das , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 07/16] clk: qcom: gcc-ipq806x: drop hardcoded pxo and cxo source clk Message-ID: References: <20220217235703.26641-1-ansuelsmth@gmail.com> <20220217235703.26641-8-ansuelsmth@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220217235703.26641-8-ansuelsmth@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=unavailable 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 Thu 17 Feb 17:56 CST 2022, Ansuel Smith wrote: > We now define these clk in dts. Drop pxo and cxo hardcoded in the gcc > probe function. > As noted on the previous patch, this breaks booting with existing dtbs. So I would like to split this with 1-2 releases in between to avoid any problems. Reviewed-by: Bjorn Andersson on the change though. Regards, Bjorn > Signed-off-by: Ansuel Smith > --- > drivers/clk/qcom/gcc-ipq806x.c | 11 +---------- > 1 file changed, 1 insertion(+), 10 deletions(-) > > diff --git a/drivers/clk/qcom/gcc-ipq806x.c b/drivers/clk/qcom/gcc-ipq806x.c > index f6db7247835e..a4bf78fe8678 100644 > --- a/drivers/clk/qcom/gcc-ipq806x.c > +++ b/drivers/clk/qcom/gcc-ipq806x.c > @@ -3119,23 +3119,14 @@ MODULE_DEVICE_TABLE(of, gcc_ipq806x_match_table); > > static int gcc_ipq806x_probe(struct platform_device *pdev) > { > - struct device *dev = &pdev->dev; > struct regmap *regmap; > int ret; > > - ret = qcom_cc_register_board_clk(dev, "cxo_board", "cxo", 25000000); > - if (ret) > - return ret; > - > - ret = qcom_cc_register_board_clk(dev, "pxo_board", "pxo", 25000000); > - if (ret) > - return ret; > - > ret = qcom_cc_probe(pdev, &gcc_ipq806x_desc); > if (ret) > return ret; > > - regmap = dev_get_regmap(dev, NULL); > + regmap = dev_get_regmap(&pdev->dev, NULL); > if (!regmap) > return -ENODEV; > > -- > 2.34.1 >