From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0EC1AC004D4 for ; Thu, 19 Jan 2023 13:58:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229787AbjASN6t (ORCPT ); Thu, 19 Jan 2023 08:58:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57072 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230288AbjASN6q (ORCPT ); Thu, 19 Jan 2023 08:58:46 -0500 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B969630D2 for ; Thu, 19 Jan 2023 05:58:45 -0800 (PST) Received: by mail-ej1-x62b.google.com with SMTP id ss4so5809547ejb.11 for ; Thu, 19 Jan 2023 05:58:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=v5VA13rKavxidD6QZf4qicQ0tLUJkUNd8HIS3LC6dxo=; b=PWCZl2VTRdVabv7tAsmmEjHi0KAPXIZzgyYn/fBfSjQVqBLbc2losYTOZ5hrPcVMFG nRHEZ5l43KQS0NdYKK9rU/yW/4TnDdnHnPS0jCi5Aa+4nImiaEWqr8oqRUzQelJzcRaE pZCegyUTU1/GhoYWmISS0X2bn/SvZXZGKuuU2AkSCazjPVvGyQ+wnk4J60XuG771DZ+K 53Iv+YPXIYOTYeldMvtlqr6/8NBhKVe3jrJ5plgg1qu2YnXk+tS7Zpji2Xia0cIsaoyT ArrfMwolKEatHRJzQIRhIAwIxISp4b9lrbwoy56Odo9JJlNCxi/JOMOEZY4oEzaEkdL0 maHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=v5VA13rKavxidD6QZf4qicQ0tLUJkUNd8HIS3LC6dxo=; b=iGnKm929wM4gSkfeWZDO+Lrj8+SX2dWr/c40nA5lAIIqCv0PB/YmUPNwpZHnFSAynO hykQPQNP7cQK0CUee9UI/bA3y8BAzFcQ1ES4RbXcgb79PkSUMp84gdgM1KJHm4oKqUO3 yqsSPMikpyMNmosDtBq0BQ3XMyTSNFdKYHbZg5bP90fnN+gJFMvTZJnpnchECJoi4sP8 Y75W/sutzB3mwZ46fTTrFGYrR1hB36+LlWZPhP2h9QR8A/HZQrokDoIHT0EdsCAgNyjT lJhkIWCGrQ7ytFWUnOFeScFwbe+ENPpkSCIh79OH9CTWf9xJ5nOSUcbN13KWvnYIP13T aJIA== X-Gm-Message-State: AFqh2kpSku0JM8hAyZiPwaZEoQ1ENSldFlvsKugHFzbvaqO0Oc8Y73IN BujoUhubaJOSnjBSsLE1OjfGLg== X-Google-Smtp-Source: AMrXdXtYefbql8K3mRe8ERJ+/0jQZceqnzFob0etHYSasfOZFhWUpP9pkwJrvofHlN7vpD7L+M0zWw== X-Received: by 2002:a17:906:5d1:b0:861:7a02:1046 with SMTP id t17-20020a17090605d100b008617a021046mr10824609ejt.37.1674136724343; Thu, 19 Jan 2023 05:58:44 -0800 (PST) Received: from [192.168.1.101] (abyk37.neoplus.adsl.tpnet.pl. [83.9.30.37]) by smtp.gmail.com with ESMTPSA id rf26-20020a1709076a1a00b00871a4ab4736sm5047319ejc.97.2023.01.19.05.58.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 19 Jan 2023 05:58:43 -0800 (PST) Message-ID: <851c2209-f9ad-3f70-972c-ab5920dcad88@linaro.org> Date: Thu, 19 Jan 2023 14:58:41 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH 3/6] drm/msm/hdmi: switch hdmi_pll_8960 to use parent_data Content-Language: en-US To: Dmitry Baryshkov , Andy Gross , Bjorn Andersson , Rob Clark , Sean Paul , Abhinav Kumar , Rob Herring , Krzysztof Kozlowski Cc: Stephen Boyd , David Airlie , Daniel Vetter , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org References: <20230119132219.2479775-1-dmitry.baryshkov@linaro.org> <20230119132219.2479775-4-dmitry.baryshkov@linaro.org> From: Konrad Dybcio In-Reply-To: <20230119132219.2479775-4-dmitry.baryshkov@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 19.01.2023 14:22, Dmitry Baryshkov wrote: > Replace parent_names usage with parent_data. Note, that this makes the > PLL default to board's `pxo_board' clock rather than just `pxo' clock, > as we are on a way to deprecate the global cxo/pxo clocks. > > Signed-off-by: Dmitry Baryshkov > --- Reviewed-by: Konrad Dybcio Konrad > drivers/gpu/drm/msm/hdmi/hdmi_pll_8960.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/gpu/drm/msm/hdmi/hdmi_pll_8960.c b/drivers/gpu/drm/msm/hdmi/hdmi_pll_8960.c > index be4b0b67e797..c3e7ff45e52a 100644 > --- a/drivers/gpu/drm/msm/hdmi/hdmi_pll_8960.c > +++ b/drivers/gpu/drm/msm/hdmi/hdmi_pll_8960.c > @@ -406,14 +406,14 @@ static const struct clk_ops hdmi_pll_ops = { > .set_rate = hdmi_pll_set_rate, > }; > > -static const char * const hdmi_pll_parents[] = { > - "pxo", > +static const struct clk_parent_data hdmi_pll_parents[] = { > + { .fw_name = "pxo", .name = "pxo_board" }, > }; > > static struct clk_init_data pll_init = { > .name = "hdmi_pll", > .ops = &hdmi_pll_ops, > - .parent_names = hdmi_pll_parents, > + .parent_data = hdmi_pll_parents, > .num_parents = ARRAY_SIZE(hdmi_pll_parents), > .flags = CLK_IGNORE_UNUSED, > };