Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp814274ybz; Wed, 22 Apr 2020 08:27:46 -0700 (PDT) X-Google-Smtp-Source: APiQypIH1GIRRw9Sdr6Vzh5y8jgnv35WAkPF2sI/toaarAAdskbRxhc7AzmHIAenAzGj5bWiZV9z X-Received: by 2002:aa7:cc88:: with SMTP id p8mr23740814edt.387.1587569266589; Wed, 22 Apr 2020 08:27:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587569266; cv=none; d=google.com; s=arc-20160816; b=lf7VrYVC+zUPrNxDDtw7Rp3YXxiEyvlILC+7W99irkI6cWzjECLmH0UJiFhejzeEJ1 JfQ/VJRQoN9p/PsO0X/x785Wf/3EyzXX7i7FdoaEKBz2e84vpPi67bH3P0xF86xMgOSw 7EQR31Hv2xRMUr2DO1kWZrBTfBV4HA8kXek9Yiw21bootYt7jqQ7Zs+MpKGXkEny8zZ+ uUvs0iJdv1iCefgiSZkC2hVMVviWYUzT2/6wvmCBzXghZT0eKVFzcgN1hrCTkbeap9xO nP5A2tLJu4VLNPyclgB4giAzcyRIz4icO5EeffkFbhG2eXSZOcijk++bqgAZ4MCMKcZG sAaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:date:message-id:autocrypt :openpgp:from:references:cc:to:subject:dkim-signature; bh=7KLnGzWeW3EFDToZpaMnHwlCm6fWuF31T365B+kB9j0=; b=Lj5BFUJIF+4pjgI8ukULOMtAfxyhY+/422xVvWwTWPaqn8nkftnEPAwn18UAOergZr pxB0MU9UuhiNfT1ji0nJ/Mdr/JUJSdTat92Wl/k9MVGiUsYNojeDf3xMzwcPfl6n2WkS Y/c/S6OMWL5s19vKIsmeSe8BejmouW11nn3PybkoPg7vY1B3soTtPAWXVY+8RatrSuob FrOsILl2dypK/DvLNy7IOTk++eOL2FICMwYsdlfKSG2s5eCJXK754ccSIu5OVZgbCpXK GtMibtvTY3PlDkHIttVTl4FYbiBMsfISqJTFU4K8ohFN9hcHWZIroSmSv7Qrj/N/7KIk Fk/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Dkam1NYV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i12si2736939edx.421.2020.04.22.08.27.20; Wed, 22 Apr 2020 08:27:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Dkam1NYV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726245AbgDVP0L (ORCPT + 99 others); Wed, 22 Apr 2020 11:26:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726078AbgDVP0K (ORCPT ); Wed, 22 Apr 2020 11:26:10 -0400 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F3F6C03C1AC for ; Wed, 22 Apr 2020 08:26:10 -0700 (PDT) Received: by mail-wr1-x441.google.com with SMTP id d15so1292282wrx.3 for ; Wed, 22 Apr 2020 08:26:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:openpgp:autocrypt:message-id:date :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=7KLnGzWeW3EFDToZpaMnHwlCm6fWuF31T365B+kB9j0=; b=Dkam1NYVfL0KGg4nTOt1SMdt8ZCsv5xtALhqlp3QcYy7gbFCrQaMQnHEcD6KU72EH5 od1w3+h7RrZolrnKO3bsfx88utwVEay5diFTXRzNfC+d4gg70M3g1lrCZMdscy7yFCpH hKt1TFu7/Lc+cfn6ENr/huqYcJZTApCCl9WFjZjoIzeOJYrma4EADvxko+7cE45IMPzJ BqYG5OMDsuQNSClsVzpBwbTG/M7dDWUcygSuSnhfwmjy00NaHuuuSDRZs5VjPJ3201CA Vu5kSTTi4gzMCQzcYWuqAijiqZktJPxPiT2Sd703pu00pSStLORMOvuRZpzIl8BoZ1S9 oqJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:autocrypt :message-id:date:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=7KLnGzWeW3EFDToZpaMnHwlCm6fWuF31T365B+kB9j0=; b=JY90J4zukVapaY/sSNwZhByc4hdGdidSvzoAAnZvzt54izZXFqW4itHavuh5P7zatY MVTKM+PPi6g8aJ1ojeHTW5Y461DQ37pnh5/UDPCmAU4kax0euqMP0BeUul635wmngKJs vBOFyKAnWTB+AT/SJiKyIFWMaOCRcMM4/TeoeDBye6z2Xu98PIHLWPrqG8xrLgMPkNSw 4JScydoDqLJTmb4iRgCcGTu4xWeE22nRFNf+cFB4zC2Y4gd2InbilVxnbT//altq2xLO lwQu4INlwkhcQA4zy+9USaBhQhuCLWhQ3IBBH43/rUULwkqOAfsSDGvAN6ckmHkIcpMl 0Glw== X-Gm-Message-State: AGi0PuYDy/3DoxZikUbBwjQe/Zhcl8ZYC9lIXet0rBGJR9Mbq66eNgjU EP+OipQTNqsSHrmOeJk0OnfhCar5QLM= X-Received: by 2002:a5d:6589:: with SMTP id q9mr28801882wru.136.1587569168587; Wed, 22 Apr 2020 08:26:08 -0700 (PDT) Received: from [192.168.0.136] ([87.120.218.65]) by smtp.googlemail.com with ESMTPSA id s24sm8378638wmj.28.2020.04.22.08.26.06 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Apr 2020 08:26:07 -0700 (PDT) Subject: Re: [PATCH 1/2] cpufreq: qcom: fix compatibility issue with old binding To: Ansuel Smith Cc: Ilia Lin , Andy Gross , Bjorn Andersson , Viresh Kumar , Nishanth Menon , Stephen Boyd , Rob Herring , "Rafael J. Wysocki" , Sricharan R , linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20200422140827.1726-1-ansuelsmth@gmail.com> From: Georgi Djakov Openpgp: preference=signencrypt Autocrypt: addr=georgi.djakov@linaro.org; prefer-encrypt=mutual; keydata= mQINBFjTuRcBEACyAOVzghvyN19Sa/Nit4LPBWkICi5W20p6bwiZvdjhtuh50H5q4ktyxJtp 1+s8dMSa/j58hAWhrc2SNL3fttOCo+MM1bQWwe8uMBQJP4swgXf5ZUYkSssQlXxGKqBSbWLB uFHOOBTzaQBaNgsdXo+mQ1h8UCgM0zQOmbs2ort8aHnH2i65oLs5/Xgv/Qivde/FcFtvEFaL 0TZ7odM67u+M32VetH5nBVPESmnEDjRBPw/DOPhFBPXtal53ZFiiRr6Bm1qKVu3dOEYXHHDt nF13gB+vBZ6x5pjl02NUEucSHQiuCc2Aaavo6xnuBc3lnd4z/xk6GLBqFP3P/eJ56eJv4d0B 0LLgQ7c1T3fU4/5NDRRCnyk6HJ5+HSxD4KVuluj0jnXW4CKzFkKaTxOp7jE6ZD/9Sh74DM8v etN8uwDjtYsM07I3Szlh/I+iThxe/4zVtUQsvgXjwuoOOBWWc4m4KKg+W4zm8bSCqrd1DUgL f67WiEZgvN7tPXEzi84zT1PiUOM98dOnmREIamSpKOK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A3zFVRfLiT6NUjDQ0vdphTnsdA7h01MliZLQ2lLL2Mt5lsqU+6sup Tfql1omgEpjnFsPsyFebzcKGbdEr6vySGa3Cof+miX06hQXKe99a5+eHNhtZJcMAIO89wZmj 7ayYJIXFqjl/X0KBcCbiAl4vbdBw1bqFnO4zd1lMXKVoa29UHqby4MPbQhjWNVv9kqp8A39+ E9xw890l1xdERkjVKX6IEJu2hf7X3MMl9tOjBK6MvdOUxvh1bNNmXh7OlBL1MpJYY/ydIm3B KEmKjLDvB0pePJkdTw== Message-ID: Date: Wed, 22 Apr 2020 18:26:06 +0300 MIME-Version: 1.0 In-Reply-To: <20200422140827.1726-1-ansuelsmth@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Ansuel, On 4/22/20 17:08, Ansuel Smith wrote: > Binding has changed from operating-points-v2-kryo-cpu to > operating-points-v2-qcom-cpu. Also check for old binding in driver > probe. > > Fixes: a8811ec764f9 cpufreq: qcom: Add support for krait based socs The correct format is: Fixes: %h (\"%s\") > Signed-off-by: Ansuel Smith > --- > drivers/cpufreq/qcom-cpufreq-nvmem.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/drivers/cpufreq/qcom-cpufreq-nvmem.c b/drivers/cpufreq/qcom-cpufreq-nvmem.c > index a1b8238872a2..8a0411efc79a 100644 > --- a/drivers/cpufreq/qcom-cpufreq-nvmem.c > +++ b/drivers/cpufreq/qcom-cpufreq-nvmem.c > @@ -278,6 +278,10 @@ static int qcom_cpufreq_probe(struct platform_device *pdev) > return -ENOENT; > > ret = of_device_is_compatible(np, "operating-points-v2-qcom-cpu"); > + if (!ret) > + ret = of_device_is_compatible(np, > + "operating-points-v2-kyro-cpu"); There is a typo in the compatible string. Thanks, Georgi > + > if (!ret) { > of_node_put(np); > return -ENOENT; >