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 3EC2BC6FD1D for ; Tue, 14 Mar 2023 12:22:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230103AbjCNMWq (ORCPT ); Tue, 14 Mar 2023 08:22:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232135AbjCNMWZ (ORCPT ); Tue, 14 Mar 2023 08:22:25 -0400 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B0EDA42DA for ; Tue, 14 Mar 2023 05:18:22 -0700 (PDT) Received: by mail-lf1-x133.google.com with SMTP id x17so3609917lfu.5 for ; Tue, 14 Mar 2023 05:18:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678796216; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=sOtYL76D5jK41O7pBM1qGZdEy4AoWMXlrbpTzr4/jQs=; b=SIWLf11pCQbFwmH+geel07Z98Q+YPDfAf7LAgVY8s0BpVFXzOav74oRwdrQJHm5Cf5 GEs2KtiSPIuh5SVyXLibPJJGiWhTgDmHsJnZfMvfF+7wl8sBlT9eDqD1azKkgG/hVN35 /566R8f1HjXW1wlZPO0/kFZvQkqvNdsXhBDksc0WiuNjf5JoiIjK1+JXn0DOoyzzNcI/ VbCaxluoHhxsVQlBbANFsXZP37Vq0F2WXWvYooxWsjOLigM2FAgezypu27RN3rwvnRdK UGlKT7F6q5FWZRA8E7jfiOETqeCrsvre1/4EL8yBss+h1Ui+EJBS1CNr4Foe4qP6F/ug C+0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678796216; h=content-transfer-encoding:in-reply-to:from:references: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=sOtYL76D5jK41O7pBM1qGZdEy4AoWMXlrbpTzr4/jQs=; b=bMFiBkG1eJk8SnFAQzlXf8H5XB3bvl7QwX4cLkFbS/XYsxT36e68euOjqRSIC8IlVu JyDxpoNr7giep7CUsMEI9JREo8/KK6vTGsACBqRagQG22mJOy8du9X7dpOt+fJoS/BrI AC4dNr2K3aO0WVC+cBUIXSKaRQavZMwt309mSYxk06s8nrnHPAOexoJ9obfDfVIPDv3s y7IhbAXpQb71tKDap+rsDAjropCbC+bAW6EdLpS7QNMuopxQ/T4RhVW0Ik/PZdRQc4l6 TbDaMKNEgx4+O+HA1MeV5X7vRQ7gPcEMNLCACWtN7oGHXatsEs5I3HeAbyandMZ5gvSL yWiw== X-Gm-Message-State: AO0yUKXN+y3ruLPwt2NRUFKbsLcGKkGxUkh5qhpXAo58ElxJEK1nA7HH UCYEGq7nASMTyHulOOQgRYypaA== X-Google-Smtp-Source: AK7set9n5nUNAh7CFYJk66Co0AL3B+orRreGeRlsVyrcjHH+73GaHitnfT/IF2Vxz0FWwxPMgofwGA== X-Received: by 2002:ac2:4145:0:b0:4b5:2cf4:cc1d with SMTP id c5-20020ac24145000000b004b52cf4cc1dmr674225lfi.68.1678796215767; Tue, 14 Mar 2023 05:16:55 -0700 (PDT) Received: from ?IPV6:2001:14ba:a085:4d00::8a5? (dzccz6yyyyyyyyyyybcwt-3.rev.dnainternet.fi. [2001:14ba:a085:4d00::8a5]) by smtp.gmail.com with ESMTPSA id r28-20020ac252bc000000b004d594481d0asm385901lfm.34.2023.03.14.05.16.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 14 Mar 2023 05:16:55 -0700 (PDT) Message-ID: Date: Tue, 14 Mar 2023 14:16:54 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [PATCH v2 00/13] mailbox/arm64/ qcom: rework compatibles for fallback Content-Language: en-GB To: Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , Konrad Dybcio , Jassi Brar , Rob Herring , Krzysztof Kozlowski , Manivannan Sadhasivam , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org References: <20230314080917.68246-1-krzysztof.kozlowski@linaro.org> From: Dmitry Baryshkov In-Reply-To: <20230314080917.68246-1-krzysztof.kozlowski@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 14/03/2023 10:09, Krzysztof Kozlowski wrote: > Hi, > > Changes since v1 > ================ > 1. Rebase > 2. Make msm8994 fallback for several variants, not msm8953, because the latter > actually might take some clocks. Although the approach looks correct, I think that in some cases it tries to mark devices compatible judging from the current driver, not from the hardware itself. For the reference, on msm8994 the apcs is a clock controller for the l2 clocks (which we do not support yet). If I'm not mistaken, on msm8976 the apcs region contains a mux for the cluster1 clocks. On sdm630/660 the apcs region also seems to be involved in CPU clocks scaling. On the other hand, the sc7180/sm8150 part seems logical. > 3. Two new patches for SDX55. > 4. Minor corrections in bindings style. > v1: https://lore.kernel.org/all/20230202161856.385825-1-krzysztof.kozlowski@linaro.org/ > > Description > =========== > > If entire approach is accepted (and correct), there are no dependencies and > patches can be picked independently. Although the best in the same cycle, so > there will be no new `dtbs_check` warnings. > > Best regards, > Krzysztof > > Krzysztof Kozlowski (13): > dt-bindings: mailbox: qcom,apcs-kpss-global: correct SDX55 clocks > dt-bindings: mailbox: qcom,apcs-kpss-global: fix SDX55 'if' match > dt-bindings: mailbox: qcom,apcs-kpss-global: use fallbacks > mailbox: qcom-apcs-ipc: do not grow the of_device_id > arm64: dts: qcom: ipq8074: add compatible fallback to mailbox > arm64: dts: qcom: msm8976: add compatible fallback to mailbox > arm64: dts: qcom: msm8998: add compatible fallback to mailbox > arm64: dts: qcom: sdm630: add compatible fallback to mailbox > arm64: dts: qcom: sm6115: add compatible fallback to mailbox > arm64: dts: qcom: sm6125: add compatible fallback to mailbox > arm64: dts: qcom: qcs404: add compatible fallback to mailbox > arm64: dts: qcom: sc7180: add compatible fallback to mailbox > arm64: dts: qcom: sm8150: add compatible fallback to mailbox > > .../mailbox/qcom,apcs-kpss-global.yaml | 67 ++++++++++--------- > arch/arm64/boot/dts/qcom/ipq8074.dtsi | 3 +- > arch/arm64/boot/dts/qcom/msm8976.dtsi | 3 +- > arch/arm64/boot/dts/qcom/msm8998.dtsi | 3 +- > arch/arm64/boot/dts/qcom/qcs404.dtsi | 3 +- > arch/arm64/boot/dts/qcom/sc7180.dtsi | 3 +- > arch/arm64/boot/dts/qcom/sdm630.dtsi | 3 +- > arch/arm64/boot/dts/qcom/sm6115.dtsi | 3 +- > arch/arm64/boot/dts/qcom/sm6125.dtsi | 3 +- > arch/arm64/boot/dts/qcom/sm8150.dtsi | 3 +- > drivers/mailbox/qcom-apcs-ipc-mailbox.c | 11 +-- > 11 files changed, 60 insertions(+), 45 deletions(-) > -- With best wishes Dmitry