From patchwork Tue Feb 7 09:08:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13131261 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 3853AC636D4 for ; Tue, 7 Feb 2023 09:09:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231354AbjBGJJD (ORCPT ); Tue, 7 Feb 2023 04:09:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50656 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231374AbjBGJJA (ORCPT ); Tue, 7 Feb 2023 04:09:00 -0500 Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 71B303800D for ; Tue, 7 Feb 2023 01:08:57 -0800 (PST) Received: by mail-wr1-x42f.google.com with SMTP id a2so12549337wrd.6 for ; Tue, 07 Feb 2023 01:08:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=+OyK3vHKrq6gGpuhtDDtXY/KeObiiU6Y5ZZooZk7kW0=; b=jvYb8Fe/lnTEFnJlPtF6I60aWZs5FQ7b5+0QoXEFHNDvcKOqUCx3nNYwzsL0/noqxH a03kWTOnwWz6/E7oc/YlW5Jls8zocALS+HCKiKP55mK8d1hKLQTuwZxPOFGcSXsdkFLq YQb3xWzTKUxAQ8aM06KmVBYbU4A/rPG2PTRG5jsIDQMrI8np41wXzYgaVWmk9gDyIFX/ FTMrX9gMG4jjFpPY+PnPmxhr+mdrl5WbtTQSo/s8K8v8UxJ4URORMGZsQLU28+aICQE+ P4p9okzVhyFqVBZOI0jkmKK6T4v3q2uC56afboZ6PVcKSFe8U4K4G8vgC4RiykuFoA03 etzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=+OyK3vHKrq6gGpuhtDDtXY/KeObiiU6Y5ZZooZk7kW0=; b=aJZgn1c14rYDl7E4qgnuYy3OL3TvfkUegjDWW+byzKawvk+mI36P5ly31NFgk3L5qE 9rOLE2YmiTRbq96Zew1OIb755hFf2C1/4JFmnsSq3tLLMczcjULHUNcj7hsmPL1jsntv xsc3fkriwFyDv/jamY0TdXbnJ75HhwyDqBo3LCVJkogz3y1baydFsqsRx8ExWgmG7X2X agd2ZEKsbN2GRycw9bfxH7WJ4/rHL4sNInOurUqb/9HDEXReh986bHn3qvtkL+H3DQ39 kaVGTSX+eeC3wAOMCYNu4VnU//XzXASTsSEvKaGvNpxyLeFtkC+tRc3yK5IJ0HYhD/NJ /KoQ== X-Gm-Message-State: AO0yUKWxz3ErjVFLMUJZRLlg1RZpME0KLGidikHNZInRHGoHvxEzAW2f a2toqwBYcdsZw7c04ZK404Ca53gGbfie5mg8 X-Google-Smtp-Source: AK7set/haKDLFxsOjIZu8mPzMNM4u94WH0hfDFhysehqvw49MWps3ViRosdVgx0jgK+3OdqNJMYa/g== X-Received: by 2002:adf:f80f:0:b0:2c3:f0a3:bd91 with SMTP id s15-20020adff80f000000b002c3f0a3bd91mr1970384wrp.11.1675760936014; Tue, 07 Feb 2023 01:08:56 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id h3-20020a056000000300b002c3e5652744sm5081955wrx.46.2023.02.07.01.08.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Feb 2023 01:08:55 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 1/5] arm64: dts: qcom: ipq6018: align RPM G-Link node with bindings Date: Tue, 7 Feb 2023 10:08:48 +0100 Message-Id: <20230207090852.28421-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@vger.kernel.org Bindings expect (and most of DTS use) the RPM G-Link node name to be "rpm-requests". Signed-off-by: Krzysztof Kozlowski Reviewed-by: Dmitry Baryshkov Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/ipq6018.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/ipq6018.dtsi b/arch/arm64/boot/dts/qcom/ipq6018.dtsi index d32c9b2515ee..bbd94025ff5d 100644 --- a/arch/arm64/boot/dts/qcom/ipq6018.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq6018.dtsi @@ -176,7 +176,7 @@ rpm-glink { qcom,rpm-msg-ram = <&rpm_msg_ram>; mboxes = <&apcs_glb 0>; - rpm_requests: glink-channel { + rpm_requests: rpm-requests { compatible = "qcom,rpm-ipq6018"; qcom,glink-channels = "rpm_requests"; From patchwork Tue Feb 7 09:08:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13131262 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 A714AC636CD for ; Tue, 7 Feb 2023 09:09:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231402AbjBGJJF (ORCPT ); Tue, 7 Feb 2023 04:09:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231407AbjBGJJD (ORCPT ); Tue, 7 Feb 2023 04:09:03 -0500 Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A3D783801D for ; Tue, 7 Feb 2023 01:08:58 -0800 (PST) Received: by mail-wr1-x42a.google.com with SMTP id g6so4840022wrv.1 for ; Tue, 07 Feb 2023 01:08:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=uS4nCbTqenRP6fhWwOZexR7WIgCiihn20gN4I6ZYpzs=; b=cfGY19mFm+RYVWbvNspRZEmV5towgaFv+Bo5mOMqjwya3iOzM5v/tAG9XUs9Ye5gKg o1CyHM9NA2vbqyIJbqRSXmD4IshGP7Wlbs3cFk6O5qTktTczmaB19/dtacpnKGlnYs6q TkT73hrNmcqr3iSfXieGKQ7K6PV0AoSxonY5gCdkgCZvOPXmw+BhMwIeBFzu+zoMbBUN leQtE7z/8o35yHydNfK55sbpfTmuCn6JbwbCAatTIRjThwHIQJVqiKA0ySFuoR9hjhrR gdzgNCe3zuiRjNEUeB5x2sDJYXNX1M6BRPWPP6iWcq+64fAlR4kEXvAB2WoEGMm7T4Hh NWng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=uS4nCbTqenRP6fhWwOZexR7WIgCiihn20gN4I6ZYpzs=; b=fVdPWQ0OLPybf7AtRpzDVA/25haPfr3Bv7E8AGXdCbh/ZxLbmqphHpZpEEDiZlByyZ Zfp4NsxlJ4SAi/nk25OzLHYf2zMOyTQo5XvgAJOGj0IHX8BeTYRAy9Xil7T9BcFzbIiB mpZi41m7mBn545NyvIEuSBziTi6DcvdcFYl/t+vmaFUAWV9ucdGruM8Rtc/7SBb7aBOt YmD3Vkz5rpT+bB0TQ4Dxk8hGafIDbmu0QJ16VCzTLea253z3Ov7BWTprf9iKnQLRYk5n kDstIa43a6MWm/POvaSKjZ7/70MeWlZryA5IOiwUKoHAKNHPpHV/5w7X50YdE/crIymc U+Rg== X-Gm-Message-State: AO0yUKUILXL3buZsEA1aQGX3QT9ag/PX8P9fohbNET5ENr3HGdWCtSlt DXb6vlIwvoAJV2bHy+iwUR5MMA== X-Google-Smtp-Source: AK7set+P8vGXvIg+k1B6RbgBQ+ZJvrn0VN0+IdsKA+pap4Uq407UloM5XNWG2wKeXDTjEkVw+wS47A== X-Received: by 2002:adf:c644:0:b0:2c3:d707:7339 with SMTP id u4-20020adfc644000000b002c3d7077339mr9161041wrg.6.1675760937208; Tue, 07 Feb 2023 01:08:57 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id h3-20020a056000000300b002c3e5652744sm5081955wrx.46.2023.02.07.01.08.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Feb 2023 01:08:56 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 2/5] arm64: dts: qcom: qcs404: align RPM G-Link node with bindings Date: Tue, 7 Feb 2023 10:08:49 +0100 Message-Id: <20230207090852.28421-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230207090852.28421-1-krzysztof.kozlowski@linaro.org> References: <20230207090852.28421-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@vger.kernel.org Bindings expect (and most of DTS use) the RPM G-Link node name to be "rpm-requests". Signed-off-by: Krzysztof Kozlowski Reviewed-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index 9c9890cf1b10..bc2ed73afb74 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -223,7 +223,7 @@ rpm-glink { qcom,rpm-msg-ram = <&rpm_msg_ram>; mboxes = <&apcs_glb 0>; - rpm_requests: glink-channel { + rpm_requests: rpm-requests { compatible = "qcom,rpm-qcs404"; qcom,glink-channels = "rpm_requests"; From patchwork Tue Feb 7 09:08:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13131263 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 6000BC636CC for ; Tue, 7 Feb 2023 09:09:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230467AbjBGJJH (ORCPT ); Tue, 7 Feb 2023 04:09:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231410AbjBGJJE (ORCPT ); Tue, 7 Feb 2023 04:09:04 -0500 Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C602238012 for ; Tue, 7 Feb 2023 01:08:59 -0800 (PST) Received: by mail-wr1-x42f.google.com with SMTP id g6so4840077wrv.1 for ; Tue, 07 Feb 2023 01:08:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=jUaBz8Wj2D5vq+Kh2IsKpU4Gz19YcWnTY9ua/0BPDPY=; b=YtG5XkZacx+Pi+rKPbhOpPtdVe0GYqqKaJUerSbckkBOl36WJUMu+WYk6IwyxdaAXB u5P2fu3D0RvYGSL/l14dTA1/uXdAOuRzOBzDoPJ0JgOKs+Qx+K9IxKOQo3WGcOXRzWak AVmZ6LgI+OfsKyzpiluJjnToseQsjSU27FKtMXLLO98X2BoJkw3f8tcBAbU7oCuTtRh6 ShlEBn+0nfJE55YkQaM5Y8E1zqHPvNrbeby59zcBwX45exVo5qlkeA0vEkWqq5plrO6e B3OvxzxzRunT1V9LHmaOZU4PwUQ//uX51dzViFIE42vl179sIzrx/t7npAWIjfFLDrx2 BKTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=jUaBz8Wj2D5vq+Kh2IsKpU4Gz19YcWnTY9ua/0BPDPY=; b=hdZQ/c3zhoBMWv3MBUGmck9ObODl2Lq0D0ai31tjI8vUttxdTOKaBOnIz82vw1qSEk e5275QCk+136cO8S9hptQMoNVtPi6SJ2rucbfmgK+NBItI2Ks4pyns/DjlytuXm2uSVP 4vpAcRO3GEX8H599goL1NZG854ilMfbugPnu8oAKh6O05GU7PgbcfN+Am+UI10zdz4YE 09N+5Xa6dYEIrEKL2zTLwGnZB/P1aH6jB+LRBaz66mRI9W+8EwbN7OblmtgmD4xn2n7/ 6dIJuTZYIWT52NCu1M82qnOFHXacHcYjVqNUC8XhgTe3NYqjnSlpBJjWsp4+Hf6/R5ev cqZg== X-Gm-Message-State: AO0yUKXpXVrmoJJNgjMGU3Zmz7T8dNJzoHCFrWzgH64IlcmTJSgq+T0L 4pp9qTe2EqDTiJnCy2L7reRc1w== X-Google-Smtp-Source: AK7set9TwHFF5oaEVbd1cKlgNkoD65nG9Tbft8M278dwOwakgmcz5S7So+GIVoG1dQxr9q0sySExlw== X-Received: by 2002:adf:e443:0:b0:2bf:94c3:19ac with SMTP id t3-20020adfe443000000b002bf94c319acmr1857014wrm.31.1675760938387; Tue, 07 Feb 2023 01:08:58 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id h3-20020a056000000300b002c3e5652744sm5081955wrx.46.2023.02.07.01.08.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Feb 2023 01:08:58 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 3/5] arm64: dts: qcom: msm8996: align RPM G-Link clock-controller node with bindings Date: Tue, 7 Feb 2023 10:08:50 +0100 Message-Id: <20230207090852.28421-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230207090852.28421-1-krzysztof.kozlowski@linaro.org> References: <20230207090852.28421-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@vger.kernel.org qcom,rpmcc bindings expect RPM clock controller to be named generic "clock-controller": rpm-glink: rpm-requests: 'qcom,rpmcc' does not match any of the regexes: '^regulators(-[01])?$', 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski Reviewed-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 55180586f7b6..e0d46dbd498f 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -483,7 +483,7 @@ rpm_requests: rpm-requests { compatible = "qcom,rpm-msm8996"; qcom,glink-channels = "rpm_requests"; - rpmcc: qcom,rpmcc { + rpmcc: clock-controller { compatible = "qcom,rpmcc-msm8996", "qcom,rpmcc"; #clock-cells = <1>; clocks = <&xo_board>; From patchwork Tue Feb 7 09:08:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13131264 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 A75DAC636D4 for ; Tue, 7 Feb 2023 09:09:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231458AbjBGJJX (ORCPT ); Tue, 7 Feb 2023 04:09:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51070 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231396AbjBGJJK (ORCPT ); Tue, 7 Feb 2023 04:09:10 -0500 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5619838031 for ; Tue, 7 Feb 2023 01:09:01 -0800 (PST) Received: by mail-wr1-x429.google.com with SMTP id i5so5653610wrc.0 for ; Tue, 07 Feb 2023 01:09:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=+V0td+k3vRfEw8Bu9Jwul2CDS45uwWMuZ82IxvYQ6WQ=; b=OldwJ0dzfzAiJ/yq4f8d8hWeAhv6lFumKWcuUAgXu3zBot1pLn95KHNJqsV/FY9qRJ Ll4czwMLLuFhsCnwk+HbpwwjLdWwa7vZcRXwZ9zZpZ5UQhQZgJMUrojwPUhkYPCcLqm/ R0B8Kv3WhRH7FRiUyK2OUiJwXBkGR3d6Zc7+PxkRnX25GQXTJ6c+cnvfYXLSGccO2HSU FidQj/xLlgnNFN8YSQiTUglTbOkMNouPa4BLBMn2FvL2mIIODj4i2Qa1YE7sPgyH7U53 2iZloq/WpRiq3ypfiFbu9RubJjOpBMug1eFBifbM1IxiGieKXeYEJRZ0wx+XWqpO+zUe eZbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+V0td+k3vRfEw8Bu9Jwul2CDS45uwWMuZ82IxvYQ6WQ=; b=Ggu9qnoW2cLezykZhy2yEkuWXLz36v23N3Hz/XsQsHOTF+xzd9w+jAxA0aX9YE6AwG ZvOdagW/2F0iHZufCHeHw/NdCQeXCWJEQkaRvTew40dstrEp/meWvaKblT+WXfUoGa5n UZ87lqT8PCfH3OgNSQWhLsav2stHlYmGTlX0z2uCniEVxem+U6OJqrNdKgI/ZG5t66a4 +qo0sht6HPJdUUhDxlpBTij0QtaG0GG2jsAg+1I82hHik5mfTe6baYgDSPC7hu/OZHGb C/gYraDou1KP/PLZLOCG149lwIOZOKEyAmNd+qMV+V7QGJbc7vBECJ1+iM23CvG1w1nJ jZ4g== X-Gm-Message-State: AO0yUKX3WP/yMAZngoT+RhABC7FCqmtgRRg2A8w/clw5e5aprS0Iz4HH avrogDxjdK0pEol+Oizn6t/PWQ== X-Google-Smtp-Source: AK7set9IbF+NHMd5cv0T0d1PstlMEWms36q701YcY/vQfkxkhI+gakmbLfqxVDP+CJ9M9ei73BvmEA== X-Received: by 2002:adf:f38e:0:b0:2c3:eaff:aaf0 with SMTP id m14-20020adff38e000000b002c3eaffaaf0mr1763722wro.16.1675760939794; Tue, 07 Feb 2023 01:08:59 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id h3-20020a056000000300b002c3e5652744sm5081955wrx.46.2023.02.07.01.08.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Feb 2023 01:08:59 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 4/5] dt-bindings: remoteproc: qcom,glink-rpm-edge: convert to DT schema Date: Tue, 7 Feb 2023 10:08:51 +0100 Message-Id: <20230207090852.28421-4-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230207090852.28421-1-krzysztof.kozlowski@linaro.org> References: <20230207090852.28421-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@vger.kernel.org Convert Qualcomm G-Link RPM edge binding to DT schema. Move it to remoteproc as it better suits the purpose - communication channel with remote processor. Signed-off-by: Krzysztof Kozlowski --- .../remoteproc/qcom,glink-rpm-edge.yaml | 92 ++++++++++++++++++ .../bindings/soc/qcom/qcom,glink.txt | 94 ------------------- 2 files changed, 92 insertions(+), 94 deletions(-) create mode 100644 Documentation/devicetree/bindings/remoteproc/qcom,glink-rpm-edge.yaml delete mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom,glink.txt diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,glink-rpm-edge.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,glink-rpm-edge.yaml new file mode 100644 index 000000000000..07cd67ec97c1 --- /dev/null +++ b/Documentation/devicetree/bindings/remoteproc/qcom,glink-rpm-edge.yaml @@ -0,0 +1,92 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/remoteproc/qcom,glink-rpm-edge.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm G-Link RPM edge + +description: | + Qualcomm G-Link edge, a FIFO based mechanism for communication with Resource + Power Manager (RPM) on various Qualcomm platforms. + +maintainers: + - Bjorn Andersson + +properties: + compatible: + const: qcom,glink-rpm + + label: + $ref: /schemas/types.yaml#/definitions/string + description: + Name of the edge, used for debugging and identification purposes. The + node name will be used if this is not present. + + interrupts: + maxItems: 1 + + mboxes: + items: + - description: rpm_hlos mailbox in APCS + + qcom,remote-pid: + $ref: /schemas/types.yaml#/definitions/uint32 + description: + The identifier for the remote processor as known by the rest of the + system. + + qcom,rpm-msg-ram: + $ref: /schemas/types.yaml#/definitions/phandle + description: | + RPM message memory resource (compatible:: qcom,rpm-msg-ram). + + rpm-requests: + type: object + $ref: /schemas/soc/qcom/qcom,smd-rpm.yaml# + unevaluatedProperties: false + description: + Qualcomm Resource Power Manager (RPM) over G-Link + + properties: + qcom,intents: + $ref: /schemas/types.yaml#/definitions/uint32-array + description: + List of (size, amount) pairs describing what intents should be + preallocated for this virtual channel. This can be used to tweak the + default intents available for the channel to meet expectations of the + remote. + + required: + - qcom,glink-channels + +required: + - compatible + - interrupts + - mboxes + +anyOf: + - required: + - qcom,remote-pid + - required: + - qcom,rpm-msg-ram + +additionalProperties: false + +examples: + - | + #include + + rpm-glink { + compatible = "qcom,glink-rpm"; + interrupts = ; + mboxes = <&apcs_glb 0>; + qcom,rpm-msg-ram = <&rpm_msg_ram>; + + rpm-requests { + compatible = "qcom,rpm-msm8996"; + qcom,glink-channels = "rpm_requests"; + + /* ... */ + }; + }; diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,glink.txt b/Documentation/devicetree/bindings/soc/qcom/qcom,glink.txt deleted file mode 100644 index 1214192847ac..000000000000 --- a/Documentation/devicetree/bindings/soc/qcom/qcom,glink.txt +++ /dev/null @@ -1,94 +0,0 @@ -Qualcomm GLINK edge binding - -This binding describes a Qualcomm GLINK edge, a fifo based mechanism for -communication between subsystem-pairs on various Qualcomm platforms. Two types -of edges can be described by the binding; the GLINK RPM edge and a SMEM based -edge. - -- compatible: - Usage: required for glink-rpm - Value type: - Definition: must be "qcom,glink-rpm" - -- label: - Usage: optional - Value type: - Definition: should specify the subsystem name this edge corresponds to. - -- interrupts: - Usage: required - Value type: - Definition: should specify the IRQ used by the remote processor to - signal this processor about communication related events - -- qcom,remote-pid: - Usage: required for glink-smem - Value type: - Definition: specifies the identifier of the remote endpoint of this edge - -- qcom,rpm-msg-ram: - Usage: required for glink-rpm - Value type: - Definition: handle to RPM message memory resource - -- mboxes: - Usage: required - Value type: - Definition: reference to the "rpm_hlos" mailbox in APCS, as described - in mailbox/mailbox.txt - -= GLINK DEVICES -Each subnode of the GLINK node represent function tied to a virtual -communication channel. The name of the nodes are not important. The properties -of these nodes are defined by the individual bindings for the specific function -- but must contain the following property: - -- qcom,glink-channels: - Usage: required - Value type: - Definition: a list of channels tied to this function, used for matching - the function to a set of virtual channels - -- qcom,intents: - Usage: optional - Value type: - Definition: a list of size,amount pairs describing what intents should - be preallocated for this virtual channel. This can be used - to tweak the default intents available for the channel to - meet expectations of the remote. - -= EXAMPLE -The following example represents the GLINK RPM node on a MSM8996 device, with -the function for the "rpm_request" channel defined, which is used for -regulators and root clocks. - - apcs_glb: mailbox@9820000 { - compatible = "qcom,msm8996-apcs-hmss-global"; - reg = <0x9820000 0x1000>; - - #mbox-cells = <1>; - }; - - rpm_msg_ram: memory@68000 { - compatible = "qcom,rpm-msg-ram"; - reg = <0x68000 0x6000>; - }; - - rpm-glink { - compatible = "qcom,glink-rpm"; - - interrupts = ; - - qcom,rpm-msg-ram = <&rpm_msg_ram>; - - mboxes = <&apcs_glb 0>; - - rpm-requests { - compatible = "qcom,rpm-msm8996"; - qcom,glink-channels = "rpm_requests"; - - qcom,intents = <0x400 5 - 0x800 1>; - ... - }; - }; From patchwork Tue Feb 7 09:08:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13131265 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 648CDC6379F for ; Tue, 7 Feb 2023 09:09:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231466AbjBGJJY (ORCPT ); Tue, 7 Feb 2023 04:09:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51110 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231411AbjBGJJL (ORCPT ); Tue, 7 Feb 2023 04:09:11 -0500 Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C99AB37F38 for ; Tue, 7 Feb 2023 01:09:01 -0800 (PST) Received: by mail-wr1-x42f.google.com with SMTP id a2so12549551wrd.6 for ; Tue, 07 Feb 2023 01:09:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=LdXmjFBd+X/kaLcO30rTkOZVMoICj5BRdipiUuVXnAU=; b=jnlC6v2dfupPC/SJL7x5vzuVp7piZhPcGzXho47cSg3fWxHCLpPn6g7BZd6uLeSK67 2AJafGlRqT9ak1aN2YmKLxYBK93gin0wcbxVe16Zf4bhlye9sTwbXutAM6jqXBdi2wVH 0sOxgvoKras6bBjvStmG8tHk/4Rpk6mWA9JrX3dOsG6uQPjOEc4yG9SJH3FwdB6kpF55 mEmEDGlBkxAl+i8KWVdO95UM8As745h2RlrvcYRfTlP86AFrN4/PMxYeNYS43vYF+ATf DiMT3MqpiFzY2CEydZ+fjwY7HyWUPPJBAsTir9U+ii4FYWr7BqPxS6i+3V+iPGkyNPQD /gTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=LdXmjFBd+X/kaLcO30rTkOZVMoICj5BRdipiUuVXnAU=; b=vrVr7c2LFWP/2c6RfgrhMSagn3mf68qvzgbL3AbYdb7CZWYoB5h4KwiFgq2FDKodAG HLfm7Pl2Y94NHeYoozK/j7cfMC9gAZYBfqGX6S4NwhNyRBw/oUL5c16kygtAaVOgKiB4 hh63A9lFx+v5O4m0PLz6M3UfN4TigsOXJxiwl9bO+CAO872vr0SeOTdXyINZvNhe/rWn 4DRH4GeYwOotprWUeQ+Iv4OG/f6PNnYM+KwxHXqCxz5KPSwjONP+ahkiWHPelcnIJrnn 3wKO5I+79CempqLiyzO8zJ9T1DJyueR2UzpoxAjo5okjc5tj11czNPQOMQeGbsq+l3CS yQrQ== X-Gm-Message-State: AO0yUKWSIgc/Jk7ujXI7Iu5k/Q8NUoGXxSLd78tiO/nHPps8U50FB1HQ r8rMUWfj1MuAJkqquaNgbcWskw== X-Google-Smtp-Source: AK7set8/W5KJaFEkz1RDDa+zwsnOV544Xcf8A2EUlXRFsKuAyZ13x0n0EkNmN471HkJxysliaMCEpg== X-Received: by 2002:a5d:5046:0:b0:2bf:ad61:6023 with SMTP id h6-20020a5d5046000000b002bfad616023mr1714314wrt.71.1675760941310; Tue, 07 Feb 2023 01:09:01 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id h3-20020a056000000300b002c3e5652744sm5081955wrx.46.2023.02.07.01.08.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Feb 2023 01:09:01 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 5/5] dt-bindings: remoteproc: qcom,glink-edge: correct label description Date: Tue, 7 Feb 2023 10:08:52 +0100 Message-Id: <20230207090852.28421-5-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230207090852.28421-1-krzysztof.kozlowski@linaro.org> References: <20230207090852.28421-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@vger.kernel.org Correct the description of 'label' property. Signed-off-by: Krzysztof Kozlowski --- .../devicetree/bindings/remoteproc/qcom,glink-edge.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,glink-edge.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,glink-edge.yaml index 8e133ab55ff3..15e6851e1ff8 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,glink-edge.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,glink-edge.yaml @@ -42,7 +42,9 @@ properties: maxItems: 1 label: - description: The names of the state bits used for SMP2P output + description: + Name of the edge, used for debugging and identification purposes. The + node name will be used if this is not present. mboxes: maxItems: 1