From patchwork Thu Feb 2 16:18:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 650250 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 53CD2C636D6 for ; Thu, 2 Feb 2023 16:19:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232470AbjBBQTz (ORCPT ); Thu, 2 Feb 2023 11:19:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232776AbjBBQTl (ORCPT ); Thu, 2 Feb 2023 11:19:41 -0500 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D12636ACB7 for ; Thu, 2 Feb 2023 08:19:38 -0800 (PST) Received: by mail-wm1-x334.google.com with SMTP id hn2-20020a05600ca38200b003dc5cb96d46so4095823wmb.4 for ; Thu, 02 Feb 2023 08:19:38 -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=InCMd7d3rDvyvxG0lrJq3ckZX1j24uW1L0pdJpej8Jg=; b=SoAnuGhEAB/7UN45UWN4515akWCbP3rRTCBdMD6ZK7mAOK21bG3hVSP+JaM32hbOVZ /Qb3RVHfwjvs+8pnVJ5g8naLs3rccfhxnj9HNnt2d3rutXzACMPqtUz3ik6GAdcVYYll zboWei6d3zsJ69kRfnVDPAjgDmBUdmxWcfUHWHU8c++z0EDT3KqiRVfLVPKGmYZREF6m tRzgYapHVWEd3Fj5NWExs7S2OommVVDxcIlpcuwlFhRqxd2zxn6DeSFZtl8jk8VgFFs6 7xIDnYMDkEV+jrd/V/DzwFGYp7JlBgH8i7IO1rwdBAFbaOUNfeky+U3619G648tHiYhJ zYAQ== 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=InCMd7d3rDvyvxG0lrJq3ckZX1j24uW1L0pdJpej8Jg=; b=43zU4NPGnwoAW7Wy/gKuJcuN7x2LithGBiP5u33zbLE7KcwE2hlTKNDRIge0BOANqL xO9bL1gkWc7Cd6c79axXi3U6qTIidQ60yqYPO4asq1fRBP4Up14mbO3luN78W+INY20M 6lswmeggrXOSsyIihGJjL/Z3rw8mPJ60JXwhuXo3QZpWA7UO3meSSloczCU5hvsDY/vn MI/8SmHt4WVROvHJXSp9dFr/KoT8vKs/l0fa3uGxEwM/2wnUwSMGeG/RO/RWCLFbqeYf lbNhtQj0ksJ5Hh00oHmMouDhq9ialm2yiC+2AlcBu6OyGW4FybJAli/boi6Kg9RWQWXH w7Ug== X-Gm-Message-State: AO0yUKXTOASutTJuCsm4wL4Eplf8MM+5+3PN5AcC62NPAt31/ELHpF4A leMLwSWbZ7Oi0OrjBX3JsyBhSQ== X-Google-Smtp-Source: AK7set8nbITGUHpI8FG7HCp9wyF9hjQcwiYkzyOtFpZi6i7u6V1DOcemHr5rhhF+6zsmiIA13Vyvyw== X-Received: by 2002:a05:600c:5118:b0:3dc:1dc3:7a05 with SMTP id o24-20020a05600c511800b003dc1dc37a05mr6403019wms.10.1675354777424; Thu, 02 Feb 2023 08:19:37 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id h16-20020a05600c351000b003dc521f336esm212416wmq.14.2023.02.02.08.19.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Feb 2023 08:19:37 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Jassi Brar , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 01/13] dt-bindings: mailbox: qcom,apcs-kpss-global: use fallbacks Date: Thu, 2 Feb 2023 17:18:44 +0100 Message-Id: <20230202161856.385825-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230202161856.385825-1-krzysztof.kozlowski@linaro.org> References: <20230202161856.385825-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Rework the compatibles and group devices which have similar interface (same from Linux driver point of view) as compatible. This allows smaller of_device_id table in the Linux driver and smaller allOf:if:then: constraints. Signed-off-by: Krzysztof Kozlowski --- .../mailbox/qcom,apcs-kpss-global.yaml | 66 +++++++++++-------- 1 file changed, 39 insertions(+), 27 deletions(-) diff --git a/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml b/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml index 943f9472ae10..c38bbdd9d7db 100644 --- a/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml +++ b/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml @@ -18,27 +18,44 @@ properties: oneOf: - items: - enum: - - qcom,ipq6018-apcs-apps-global - qcom,ipq8074-apcs-apps-global + - const: qcom,ipq6018-apcs-apps-global + - items: + - enum: + - qcom,msm8939-apcs-kpss-global + - qcom,qcs404-apcs-apps-global + - const: qcom,msm8916-apcs-kpss-global + - const: syscon + - items: + - enum: - qcom,msm8976-apcs-kpss-global - - qcom,msm8996-apcs-hmss-global + - qcom,msm8994-apcs-kpss-global + - const: qcom,msm8953-apcs-kpss-global + - const: syscon + - items: + - enum: - qcom,msm8998-apcs-hmss-global - qcom,qcm2290-apcs-hmss-global - - qcom,sc7180-apss-shared - - qcom,sc8180x-apss-shared - qcom,sdm660-apcs-hmss-global - - qcom,sdm845-apss-shared - qcom,sm4250-apcs-hmss-global - - qcom,sm6125-apcs-hmss-global - qcom,sm6115-apcs-hmss-global + - qcom,sm6125-apcs-hmss-global + - const: qcom,msm8953-apcs-kpss-global + - items: + - enum: + - qcom,sc7180-apss-shared + - qcom,sc8180x-apss-shared - qcom,sm8150-apss-shared + - const: qcom,sdm845-apss-shared + - items: + - enum: + - qcom,ipq6018-apcs-apps-global + - qcom,msm8996-apcs-hmss-global + - qcom,sdm845-apss-shared - items: - enum: - qcom,msm8916-apcs-kpss-global - - qcom,msm8939-apcs-kpss-global - qcom,msm8953-apcs-kpss-global - - qcom,msm8994-apcs-kpss-global - - qcom,qcs404-apcs-apps-global - const: syscon reg: maxItems: 1 @@ -69,17 +86,11 @@ allOf: - if: properties: compatible: - enum: - - qcom,msm8916-apcs-kpss-global - - qcom,msm8994-apcs-kpss-global - - qcom,msm8996-apcs-hmss-global - - qcom,msm8998-apcs-hmss-global - - qcom,qcs404-apcs-apps-global - - qcom,sc7180-apss-shared - - qcom,sdm660-apcs-hmss-global - - qcom,sdm845-apss-shared - - qcom,sm6125-apcs-hmss-global - - qcom,sm8150-apss-shared + contains: + enum: + - qcom,msm8916-apcs-kpss-global + - qcom,msm8953-apcs-kpss-global + - qcom,sdm845-apss-shared then: properties: clocks: @@ -110,9 +121,9 @@ allOf: - if: properties: compatible: - enum: - - qcom,ipq6018-apcs-apps-global - - qcom,ipq8074-apcs-apps-global + contains: + enum: + - qcom,ipq6018-apcs-apps-global then: properties: clocks: @@ -126,9 +137,9 @@ allOf: - if: properties: compatible: - enum: - - qcom,ipq6018-apcs-apps-global - - qcom,ipq8074-apcs-apps-global + contains: + enum: + - qcom,ipq6018-apcs-apps-global then: properties: '#clock-cells': @@ -163,7 +174,8 @@ examples: #define GCC_APSS_AHB_CLK_SRC 1 #define GCC_GPLL0_AO_OUT_MAIN 123 apcs: mailbox@b011000 { - compatible = "qcom,qcs404-apcs-apps-global", "syscon"; + compatible = "qcom,qcs404-apcs-apps-global", + "qcom,msm8916-apcs-kpss-global", "syscon"; reg = <0x0b011000 0x1000>; #mbox-cells = <1>; clocks = <&apcs_hfpll>, <&gcc GCC_GPLL0_AO_OUT_MAIN>; From patchwork Thu Feb 2 16:18:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 649697 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 E051EC64EC3 for ; Thu, 2 Feb 2023 16:19:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232474AbjBBQT4 (ORCPT ); Thu, 2 Feb 2023 11:19:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57508 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232785AbjBBQTl (ORCPT ); Thu, 2 Feb 2023 11:19:41 -0500 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EDA2B60CBE for ; Thu, 2 Feb 2023 08:19:39 -0800 (PST) Received: by mail-wm1-x32a.google.com with SMTP id bg26so1853680wmb.0 for ; Thu, 02 Feb 2023 08:19:39 -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=W2wX+q+afWofp2hztFL4hCPCg5BnR0pZqpdU6WpFTEg=; b=HdMhJ1kjN3EKYbFBudHxLNaG8C7OND1d3B9t7FdtxyGdeLhG2RLu9ydJ8DQyyOcP/C 7pGUzZLEG+s8hPrDoZ+/rneFW44uXeJssAiBMiQFgo2CYi3RfKClMoWJEJIkGO+3b1vs rRgE1dXqXHpI6hRjnHRaIJeDuVqkJxxyIOtsTRXt4t46CZF72QUOHGJkvBhQFGYiTkpD f2NwyQI+QSsK69plc6lX1v+xB/FE4OKIY8nDmmv1rPoSu9DKIJEtsc6mslHYuAB5MYVl BbFOZYjAmLNepj9y0+sKWEFk5Q3Y4OtTCHmz5nbKUXrZq5trTearJhhsxuOw911qJVcw PyNg== 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=W2wX+q+afWofp2hztFL4hCPCg5BnR0pZqpdU6WpFTEg=; b=LkvTSEVuzaM7WrkYBk3Cciko7PoPJE3VeQgTX3B4Hk/yogN759oiXMGS+vo6gkxs0v RAslInkfaNxDZXEGPuJ2ilFRLLaNH0W6WgFM1QepXDUrY4mTRT9LCvjY9DIl14E7SHRc arrtcKlKW/fxCbX6KFrEsuURNGKyAdD4Sc9e0jK1vYrjLwqbNBpH5Tnx+ItHpoDZ790O VZlUkHrEgJPKmj+pZ/8sK/GUeLmpZ03pDwsdz7KnYve65ooV7RY/JdzScRKI4GgM8Dvm TnGUy8cv1Cfymep+aa10wicJv1qAhYlIPY230/WDxBTeQdZnZKYFh6Yi5npmHvNCb0mW D6Jg== X-Gm-Message-State: AO0yUKWbMjuIe4RU++0Gw0/JzpqSfCk4MyfoAFFc/VhPB3R35DhyFqNv J/4wo1jg9XLrnqB8tldx9f6Alw== X-Google-Smtp-Source: AK7set/5z2h1bmANvwPsAs1Sq0Zli0vsPFeC0uokxH4aItnb8qU6ZrdaQiZIkBxpSdyjpSQp1NxNcQ== X-Received: by 2002:a7b:c388:0:b0:3db:2e6e:7826 with SMTP id s8-20020a7bc388000000b003db2e6e7826mr7176231wmj.5.1675354778532; Thu, 02 Feb 2023 08:19:38 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id h16-20020a05600c351000b003dc521f336esm212416wmq.14.2023.02.02.08.19.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Feb 2023 08:19:38 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Jassi Brar , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 02/13] dt-bindings: mailbox: qcom,apcs-kpss-global: document missing sdx55 Date: Thu, 2 Feb 2023 17:18:45 +0100 Message-Id: <20230202161856.385825-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230202161856.385825-1-krzysztof.kozlowski@linaro.org> References: <20230202161856.385825-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add missing compatible (in top-level) for qcom,sdx55-apcs-gcc which is already used in the Linux driver and DTS. Signed-off-by: Krzysztof Kozlowski --- .../devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml b/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml index c38bbdd9d7db..4ae97b7c784d 100644 --- a/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml +++ b/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml @@ -56,6 +56,7 @@ properties: - enum: - qcom,msm8916-apcs-kpss-global - qcom,msm8953-apcs-kpss-global + - qcom,sdx55-apcs-gcc - const: syscon reg: maxItems: 1 From patchwork Thu Feb 2 16:18:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 650249 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 52C01C64EC5 for ; Thu, 2 Feb 2023 16:19:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232506AbjBBQT6 (ORCPT ); Thu, 2 Feb 2023 11:19:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57572 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232828AbjBBQTo (ORCPT ); Thu, 2 Feb 2023 11:19:44 -0500 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2208F62786 for ; Thu, 2 Feb 2023 08:19:41 -0800 (PST) Received: by mail-wm1-x336.google.com with SMTP id j32-20020a05600c1c2000b003dc4fd6e61dso4099303wms.5 for ; Thu, 02 Feb 2023 08:19:41 -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=A8TFBPo8Ik7unXzigxuHt3Uqoz8brKDN9WgByPaSgg0=; b=di+DTSEME47k+eUSJH20fVKTnFF0bGKgtVJ1zywshrewXPYmEYB1GmHr+yDaq/LWX+ MPNFC6WgLl7t77OFuvUBmKvdgh/fJxHSS860AKs3w0RaUO/h7FJnV2PZYdoQ+Y3VUsaZ K4Wu1J0jbPGZPgt6X3ExY/1s9G5rvpQXqAlZrVyolR1gxTBVBiqnapcEQ5jfqf3zNu1Y rth0jYQRkV3Lr2PrQQUMp6aZyBBZqLt6UMiFy/M/Ea52Y3mDDbbf8d9hQsctvBbeJBYU kHkZD6IXqMMDi40H+4oCXooi+1aRAKZukIJSNOeKoUKKn/nY3E/IPUQoR4vyt2+27zol PNeg== 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=A8TFBPo8Ik7unXzigxuHt3Uqoz8brKDN9WgByPaSgg0=; b=DOyYn/9Gdr5b8qfsghlqXxZ+BUs983Z0w8vWBhY5ve2Dpz8hURUdGDmQWHrV008rsk hsyjjgIbnCG972S2iqYv4etRFL7CX/6IrI44MCj+iin/vHpAVu8HgwRASoZ/Y0aasqIs ld8LQOAvliiCByzXTqrUMb7Shepoo3LxHvZ8geoq8GyFM4JExgBt2mrLInEPr3VirB3c 6kpPc+nA/w0BSnYXL+j4NUlYxYV4u/JExiFpTVVnRngGRrU0VCU9ZgZ2d1r+8/Z7B8Kk j270ojnNwroyT5EzNpIYq+utniidZDvB9jBbl4rBx2My1YB/tfwgD8sPehNdqfO7vj1i QezA== X-Gm-Message-State: AO0yUKWnwSRugmltlQ8CFK9+KdjZAeTZRHlaVcyJasAsyXRGOmmmwyYj 2qoZXEYB0bazI/b03UHHuz0Ivg== X-Google-Smtp-Source: AK7set+mwutHWqAinDWHeXsdufMWMjyvrW/Zq+XZNJUM8vbew9Gvd3OVGfZSvkvC08mv4huWkIazOg== X-Received: by 2002:a05:600c:198b:b0:3df:3bd6:63e5 with SMTP id t11-20020a05600c198b00b003df3bd663e5mr4851702wmq.12.1675354779683; Thu, 02 Feb 2023 08:19:39 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id h16-20020a05600c351000b003dc521f336esm212416wmq.14.2023.02.02.08.19.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Feb 2023 08:19:39 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Jassi Brar , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 03/13] mailbox: qcom-apcs-ipc: do not grow the of_device_id Date: Thu, 2 Feb 2023 17:18:46 +0100 Message-Id: <20230202161856.385825-4-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230202161856.385825-1-krzysztof.kozlowski@linaro.org> References: <20230202161856.385825-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Re-organize the compatible devices and add a comment to avoid unneeded of_device_id growth with every new SoC. These devices have quite a lot of similarities and they can use only one compatible fallback for driver binding. Signed-off-by: Krzysztof Kozlowski --- drivers/mailbox/qcom-apcs-ipc-mailbox.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/mailbox/qcom-apcs-ipc-mailbox.c b/drivers/mailbox/qcom-apcs-ipc-mailbox.c index 0e9f9cba8668..4143209de2c8 100644 --- a/drivers/mailbox/qcom-apcs-ipc-mailbox.c +++ b/drivers/mailbox/qcom-apcs-ipc-mailbox.c @@ -142,17 +142,19 @@ static int qcom_apcs_ipc_remove(struct platform_device *pdev) /* .data is the offset of the ipc register within the global block */ static const struct of_device_id qcom_apcs_ipc_of_match[] = { { .compatible = "qcom,ipq6018-apcs-apps-global", .data = &ipq6018_apcs_data }, - { .compatible = "qcom,ipq8074-apcs-apps-global", .data = &ipq6018_apcs_data }, { .compatible = "qcom,msm8916-apcs-kpss-global", .data = &msm8916_apcs_data }, - { .compatible = "qcom,msm8939-apcs-kpss-global", .data = &msm8916_apcs_data }, { .compatible = "qcom,msm8953-apcs-kpss-global", .data = &msm8994_apcs_data }, + { .compatible = "qcom,msm8996-apcs-hmss-global", .data = &msm8996_apcs_data }, + { .compatible = "qcom,sc7180-apss-shared", .data = &apps_shared_apcs_data }, + { .compatible = "qcom,sdx55-apcs-gcc", .data = &sdx55_apcs_data }, + /* Do not add any more entries using existing driver data */ + { .compatible = "qcom,ipq8074-apcs-apps-global", .data = &ipq6018_apcs_data }, + { .compatible = "qcom,msm8939-apcs-kpss-global", .data = &msm8916_apcs_data }, { .compatible = "qcom,msm8976-apcs-kpss-global", .data = &msm8994_apcs_data }, { .compatible = "qcom,msm8994-apcs-kpss-global", .data = &msm8994_apcs_data }, - { .compatible = "qcom,msm8996-apcs-hmss-global", .data = &msm8996_apcs_data }, { .compatible = "qcom,msm8998-apcs-hmss-global", .data = &msm8994_apcs_data }, { .compatible = "qcom,qcm2290-apcs-hmss-global", .data = &msm8994_apcs_data }, { .compatible = "qcom,qcs404-apcs-apps-global", .data = &msm8916_apcs_data }, - { .compatible = "qcom,sc7180-apss-shared", .data = &apps_shared_apcs_data }, { .compatible = "qcom,sc8180x-apss-shared", .data = &apps_shared_apcs_data }, { .compatible = "qcom,sdm660-apcs-hmss-global", .data = &msm8994_apcs_data }, { .compatible = "qcom,sdm845-apss-shared", .data = &apps_shared_apcs_data }, @@ -160,7 +162,6 @@ static const struct of_device_id qcom_apcs_ipc_of_match[] = { { .compatible = "qcom,sm6125-apcs-hmss-global", .data = &msm8994_apcs_data }, { .compatible = "qcom,sm8150-apss-shared", .data = &apps_shared_apcs_data }, { .compatible = "qcom,sm6115-apcs-hmss-global", .data = &msm8994_apcs_data }, - { .compatible = "qcom,sdx55-apcs-gcc", .data = &sdx55_apcs_data }, {} }; MODULE_DEVICE_TABLE(of, qcom_apcs_ipc_of_match); From patchwork Thu Feb 2 16:18:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 649696 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 3E343C05027 for ; Thu, 2 Feb 2023 16:20:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231643AbjBBQT6 (ORCPT ); Thu, 2 Feb 2023 11:19:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232855AbjBBQTp (ORCPT ); Thu, 2 Feb 2023 11:19:45 -0500 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 61CCA6C12D for ; Thu, 2 Feb 2023 08:19:42 -0800 (PST) Received: by mail-wm1-x335.google.com with SMTP id q10-20020a1cf30a000000b003db0edfdb74so4288563wmq.1 for ; Thu, 02 Feb 2023 08:19:42 -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=TQm/aDJypA6VJNqGggGRp8pi0c1RvwX6CqC3v3eJ3U0=; b=qYYHf38oLxoDJOgkZhrNKVmD32GCEmsYgyVsdUx/d5qBzpZZQ/sdG/AA2L5L6HZ3lp Zqxevh1vQ8fatYCBYD/1Pzk7956nyqNrpsfQhtOuv8pcnOoMxG5O4TU6R5HuVZffP1eD rFXH7xy/SCiXaNGqSNbiUnK4xiz5o3LcvjxI8TwIVlL3EdDWi4RNgsrPHNYArHkARJzE IJLGXw4JH04k6P1m0fx49+9+/msR33fGPYzudV9+XQQvG+bA2M1V3s77/p1eY4Qelwak lVkmQIXvxvWi+nB812slOE7d7Q8nxz9342SnRUiM5Yp9GQgTnZ89d0m/Rg6Z06ayRDii GqAA== 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=TQm/aDJypA6VJNqGggGRp8pi0c1RvwX6CqC3v3eJ3U0=; b=Y3nmCLzwZLHyvpsD2g5P25Z3iu1paYzFY+L0P4ekRIvUJ3IKMghsy6mP+oOUaYzgJd 8TEZCN09e+jy6l+3A6g5f6gjevYT10AeAj0IRjLVNV8XNDo3MbTDNz1WUfPf4onEUs7E kJE7tBmcxG53P8kqBPb/XghpR9S8KgR5wm+sjXgXeIVRplEtDBSJHMwcoakWC7Q0xLlg RvYotj4Fe4uUBPgMRv7iVChgT/+EHpgBsT12Qxt1HndJiWcoi8OpoX16uwImcPPe5E8X /m3KlXMRY3cH/C+72lLKqzwI1zG8LyZyaIyc34qZTl8yZZ1H5Gx+ZciGQb89TfB3p3IO YmCw== X-Gm-Message-State: AO0yUKWPYycmBhsrIqo9EnaStuMty3eJYcTgQr3UBSry9M7c1rNSYO5k WZ3eu4FPHzwibp72bAmHGIaMfKcXPLJEzD3+ X-Google-Smtp-Source: AK7set/GiVfTA094E34/ENFp26eFww8Anyqigx3Ix110eu/NZTrC1rcWcIsmFrQQIRSyf/htJl1avA== X-Received: by 2002:a05:600c:3489:b0:3dc:de85:5007 with SMTP id a9-20020a05600c348900b003dcde855007mr6638666wmq.21.1675354780878; Thu, 02 Feb 2023 08:19:40 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id h16-20020a05600c351000b003dc521f336esm212416wmq.14.2023.02.02.08.19.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Feb 2023 08:19:40 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Jassi Brar , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 04/13] arm64: dts: qcom: ipq8074: add compatible fallback to mailbox Date: Thu, 2 Feb 2023 17:18:47 +0100 Message-Id: <20230202161856.385825-5-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230202161856.385825-1-krzysztof.kozlowski@linaro.org> References: <20230202161856.385825-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org IPQ8074 mailbox is compatible with IPQ6018. Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/ipq8074.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/ipq8074.dtsi b/arch/arm64/boot/dts/qcom/ipq8074.dtsi index 0e3d1d906a22..4cbbe3add2c6 100644 --- a/arch/arm64/boot/dts/qcom/ipq8074.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq8074.dtsi @@ -680,7 +680,8 @@ watchdog: watchdog@b017000 { }; apcs_glb: mailbox@b111000 { - compatible = "qcom,ipq8074-apcs-apps-global"; + compatible = "qcom,ipq8074-apcs-apps-global", + "qcom,ipq6018-apcs-apps-global"; reg = <0x0b111000 0x1000>; clocks = <&a53pll>, <&xo>; clock-names = "pll", "xo"; From patchwork Thu Feb 2 16:18: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: 650248 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 23D02C636D4 for ; Thu, 2 Feb 2023 16:20:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232658AbjBBQT7 (ORCPT ); Thu, 2 Feb 2023 11:19:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57180 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232888AbjBBQTq (ORCPT ); Thu, 2 Feb 2023 11:19:46 -0500 Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 220D06A327 for ; Thu, 2 Feb 2023 08:19:44 -0800 (PST) Received: by mail-wm1-x329.google.com with SMTP id l37-20020a05600c1d2500b003dfe46a9801so344214wms.0 for ; Thu, 02 Feb 2023 08:19:44 -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=Bvde7TRSc+XcvQpUicM3HCo0A7W0vz9q6qwUldao3rg=; b=x5c3UB8Bj+KlldXNEvRvLneBXOLJ10bFnWBopPG6nMZHfM+8ZNTxtwxOpymB/s5WkL yABC8THSJC16qlBSXBpAs61wuHs7fqF25p0GtC1yJsX3mJiUoWnaI/xCTZstbTx6gZNf GUokT1YZZ1/Gkeiq+ippsaXocyoUv86LWby7NtL83H7XdtKollJ8h4iwCvPkb8x40VFs SCvrT779yJ5SdBYXTFN/cC/y8isUHcL1WcgF6foLfrVOptUsIs4oJEZHfxUtH2zJKrVb NPhQqfBpdF5Khoqv5MzuAJpU7SmOEAotjGspsk3JYQa+ZmaO31UFh8YTcL3g4y5dCm17 DFQQ== 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=Bvde7TRSc+XcvQpUicM3HCo0A7W0vz9q6qwUldao3rg=; b=z8MjhabddKe+3tIGCBO1HsdbcizX9YCktwIfUl51jyV6dPL26ujQr9qWWZK0ogXshL m6VQHTZkEyYx6h1RWNJWk2YYQsWiSXYpkYvwF9JNSqD+t/xK+C5GwqqZn63mtmOPO4tH ZA+r4fzcepnS7XYfhigfqccje2mQl9eDkHRb8/0iXq+qSc6Ak5rijL23RixXfAoc4sgd RALE+m7GCBS5acvQSewgeFIFPQLRPyXYy22Y/t0vUiAUX6Srx2ngYPzqYVveSBAG8dHh NW45IZIhjiLAVvBFfV06MHrzmx+Ljp8qtUV+o52wejZq6eBBfMiyrepDP5ldqmmrPnnP QEPg== X-Gm-Message-State: AO0yUKWGoZOpsF5uCnl44zkiTN0OlAMkquIz3b8HIJK3yiE0cRLEHQUo 6A55tNABWRPKTGRj7McODp+iGg== X-Google-Smtp-Source: AK7set/tzDxe3/7brUDVCpGjm2oWuYghTrMOZPr4KOplroPKoawcTSFfMMo/hig3LS6S763yUmI4Jg== X-Received: by 2002:a05:600c:1d96:b0:3dd:af7a:53db with SMTP id p22-20020a05600c1d9600b003ddaf7a53dbmr6756393wms.11.1675354782673; Thu, 02 Feb 2023 08:19:42 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id h16-20020a05600c351000b003dc521f336esm212416wmq.14.2023.02.02.08.19.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Feb 2023 08:19:42 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Jassi Brar , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 05/13] arm64: dts: qcom: msm8976: add compatible fallback to mailbox Date: Thu, 2 Feb 2023 17:18:48 +0100 Message-Id: <20230202161856.385825-6-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230202161856.385825-1-krzysztof.kozlowski@linaro.org> References: <20230202161856.385825-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org MSM8976 mailbox is compatible with MSM8953. Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/msm8976.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/msm8976.dtsi b/arch/arm64/boot/dts/qcom/msm8976.dtsi index 2d360d05aa5e..a18eebd8f66e 100644 --- a/arch/arm64/boot/dts/qcom/msm8976.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8976.dtsi @@ -1027,7 +1027,8 @@ intc: interrupt-controller@b000000 { }; apcs: mailbox@b011000 { - compatible = "qcom,msm8976-apcs-kpss-global", "syscon"; + compatible = "qcom,msm8976-apcs-kpss-global", + "qcom,msm8953-apcs-kpss-global", "syscon"; reg = <0x0b011000 0x1000>; #mbox-cells = <1>; }; From patchwork Thu Feb 2 16:18: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: 649695 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 95367C05027 for ; Thu, 2 Feb 2023 16:20:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232539AbjBBQUA (ORCPT ); Thu, 2 Feb 2023 11:20:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232926AbjBBQTr (ORCPT ); Thu, 2 Feb 2023 11:19:47 -0500 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A4EC63874 for ; Thu, 2 Feb 2023 08:19:45 -0800 (PST) Received: by mail-wm1-x32f.google.com with SMTP id d4-20020a05600c3ac400b003db1de2aef0so1837705wms.2 for ; Thu, 02 Feb 2023 08:19:45 -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=DgeAUb8nlJmXzc8cpw6rDfJT0U0Yi27jRpa30uyE/SQ=; b=PPZUN+ebJgHxincZRdcVIWQHbELBuf72NhLldy4dp7P+P1uUQJiCWTUL94g0deJy4d EgsFgiG2qvC1ssAI/qreen7G08Dp7s1DeJhJP3wuBh/uaGJwPesiH7AKEgga9wzlk91G owIzCRcPrs9wEqQy6vEDir5zPtDXUaShI3ixg7A24hqyTl0h+doXs89do8OF0D8wTgOg PiQXhkI4EvwAczir3B3kG2KI51Kkvf2++P53TRfeY9EH0YUV+KPMh/7s4xoaGsE5w1oZ gHM8VPygeaBSZK8VWsMqgn/f8mzFWkm9I0QpTG63tTb8OqmBhEnMMpMpeXNKchN/Igva 56lw== 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=DgeAUb8nlJmXzc8cpw6rDfJT0U0Yi27jRpa30uyE/SQ=; b=IFf281drAoTOZBr0UPro0qeVWrLDUslTWcFxr5687zRlV8jRZ5uyvK67J474fmQ58N opr1KVjFCSBNYiQupBJusANAy+rAQjvbq3Hy8VCw/vPiPtczGkz59JZsp1615qPJwduU XD5eM4q91fkPySx87LEkUATk84JaA8unRjZxJCtOCbVe/5V5T61ABb4BwniBikXMnxcO nCuLvJ38emHyfK9mE2fjhetDi7BqQ7ijpqF39vXh09WrdE7hwT0RijXdjnQZi7Arrf+o D+O/afUqLYwSLy/XWrNA6Z431bJKpM1uoGQRsQDgVJ7+5L/AJv6bmlYCYtCZKg61nFEM aIfQ== X-Gm-Message-State: AO0yUKXhCFepeHX0/CWyRhVR5BNMddPjBIv4OE42+YgrgXs4L4d7Zrqt rCr+vXquyr8ZXBhDjZvM9kVpRg== X-Google-Smtp-Source: AK7set+OXfKZljGHSc3JwzuuWUDftF9vo/5sXNWHKceOefcOUR5p7vViZiOZxF4KPB/8K6QdH6Qocw== X-Received: by 2002:a05:600c:4f53:b0:3dd:97d6:8f2a with SMTP id m19-20020a05600c4f5300b003dd97d68f2amr6586138wmq.33.1675354783910; Thu, 02 Feb 2023 08:19:43 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id h16-20020a05600c351000b003dc521f336esm212416wmq.14.2023.02.02.08.19.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Feb 2023 08:19:43 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Jassi Brar , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 06/13] arm64: dts: qcom: msm8994: add compatible fallback to mailbox Date: Thu, 2 Feb 2023 17:18:49 +0100 Message-Id: <20230202161856.385825-7-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230202161856.385825-1-krzysztof.kozlowski@linaro.org> References: <20230202161856.385825-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org MSM8994 mailbox is compatible with MSM8953. Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/msm8994.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/msm8994.dtsi b/arch/arm64/boot/dts/qcom/msm8994.dtsi index 9ff9d35496d2..8afd9ec29ac8 100644 --- a/arch/arm64/boot/dts/qcom/msm8994.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8994.dtsi @@ -351,7 +351,8 @@ intc: interrupt-controller@f9000000 { }; apcs: mailbox@f900d000 { - compatible = "qcom,msm8994-apcs-kpss-global", "syscon"; + compatible = "qcom,msm8994-apcs-kpss-global", + "qcom,msm8953-apcs-kpss-global", "syscon"; reg = <0xf900d000 0x2000>; #mbox-cells = <1>; }; From patchwork Thu Feb 2 16:18: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: 650247 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 E32C9C636D4 for ; Thu, 2 Feb 2023 16:20:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232685AbjBBQUB (ORCPT ); Thu, 2 Feb 2023 11:20:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56822 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232948AbjBBQTs (ORCPT ); Thu, 2 Feb 2023 11:19:48 -0500 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6708A6B375 for ; Thu, 2 Feb 2023 08:19:45 -0800 (PST) Received: by mail-wm1-x32a.google.com with SMTP id bg26so1853946wmb.0 for ; Thu, 02 Feb 2023 08:19:45 -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=sdvxk4K8UkI7vr33u4ZlD0OvMvVuptkdT6rfsFjNwhQ=; b=qWhiUsQDmOzc3KM7VK7rsM5y1TjYRlXOJseMoEzNdRBkQb6eFm1S9JmGRgrMmf4/Kn K0TPAgAVcMHzLZj+95bCN37KqH6gHO+oRezv7sNNqw8OJX2a/hgi0OyAAJMgy7enxIxc nqyAQfWvAha4lBQs9lNM78rcy58oMYvn9d+GyGmUOWk5Kr2nwAZQNtYL7czB3q/Icxrb Fi1FzGFR5kp3L3/bTU23aKAVx384IMAUhXRwIrRBfUjLc+lyYduyl/dHqq3scGUKhzMr tXP38aB3r+pSievKBfUhAkINVjLl61xwlxSAOWqzLH8Er4Vhxyhq74a/s9bNZKDEJbTm G1SA== 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=sdvxk4K8UkI7vr33u4ZlD0OvMvVuptkdT6rfsFjNwhQ=; b=qI+BYmHtD/LOqixEWlJDpPIjVX4H/sHr6/BO0fh2M6UXMFmrbjue7hJz/BXV7crVme CXdJavDtecmucTpi8ibISPN899eYsRtjOlymn1gUcNsjNqg5+I83F0/BNBL6z3v/PkXL i0KnrRRsTuNG9mrf0alztWRKg5SCW2+VT2+FbJPTthAG8WxU1PqJkSr7Tf+LUF6RN1pP 1fA/89BFUrKTjxRdwXkwVqR8R4so2GInOCda1LdMe4+c66DHwsSbdk2rvggJ4FPNNSj4 V9UBhcNM9i4L2qEQxuEOcn93id2+inio7chDTteQFd+lnbcx0LZwir96JrZzyrXpWesD /S9Q== X-Gm-Message-State: AO0yUKXd8DH4BgylVtSnXNQDgXDk6DtF5TccE3VH2R33YgEw6aHYCoZd VXnRonXVZ/vR/eZw/lCaakc8Mw== X-Google-Smtp-Source: AK7set8SmzO+W6/8siPFiSDH0ZrVBMTrTjzHTdqjx7Xv4qiJze3y+6NClLcOPVE3yZvI0NrupltgIQ== X-Received: by 2002:a05:600c:cca:b0:3db:bc5:b2ae with SMTP id fk10-20020a05600c0cca00b003db0bc5b2aemr6020523wmb.41.1675354784998; Thu, 02 Feb 2023 08:19:44 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id h16-20020a05600c351000b003dc521f336esm212416wmq.14.2023.02.02.08.19.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Feb 2023 08:19:44 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Jassi Brar , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 07/13] arm64: dts: qcom: msm8998: add compatible fallback to mailbox Date: Thu, 2 Feb 2023 17:18:50 +0100 Message-Id: <20230202161856.385825-8-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230202161856.385825-1-krzysztof.kozlowski@linaro.org> References: <20230202161856.385825-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org MSM8998 mailbox is compatible with MSM8953. Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi index 8bc1c59127e5..f4df41f7d957 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -2490,7 +2490,8 @@ glink-edge { }; apcs_glb: mailbox@17911000 { - compatible = "qcom,msm8998-apcs-hmss-global"; + compatible = "qcom,msm8998-apcs-hmss-global", + "qcom,msm8953-apcs-kpss-global"; reg = <0x17911000 0x1000>; #mbox-cells = <1>; From patchwork Thu Feb 2 16:18: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: 649694 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 553DCC636D4 for ; Thu, 2 Feb 2023 16:20:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232771AbjBBQUF (ORCPT ); Thu, 2 Feb 2023 11:20:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232963AbjBBQTs (ORCPT ); Thu, 2 Feb 2023 11:19:48 -0500 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8403B53B39 for ; Thu, 2 Feb 2023 08:19:46 -0800 (PST) Received: by mail-wm1-x32c.google.com with SMTP id bg13-20020a05600c3c8d00b003d9712b29d2so4114103wmb.2 for ; Thu, 02 Feb 2023 08:19:46 -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=y6qXO567C4FZuG9ulSewZ/lPjHuEg4qhl6//+GYZr+g=; b=cmH3CmUhswBvenZwfhc/qFZShC7TgNT1VdUSNenYCEYe8be4ygVqnMJsYnEc36vBYQ EUcdBTNyOLTzwEQqMHImmdHlWPtER1Qk4DmVWMZ2cWzDLjVqte3h4iEp1UvPGMlIzQZA XTf+MvcD5lLBZoLKJAFtbsWXmOH2ZLRFS3nWs1ukrJiednctUZB1TQhhgjy6r8bqf+Wv GSdn10e7lUu39h0mqGgSdg1eA7gIjAZu/+vkCY28NA63kiIg/s/818uovut09Gin7/ru S9ctd/CT5GdSbX4pLetoB4fgllaDw0iYBmXZRxGC2HWXQVfATLEgyh+e9L11vh4ajdIG dS9g== 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=y6qXO567C4FZuG9ulSewZ/lPjHuEg4qhl6//+GYZr+g=; b=sMOd7IBKIgghVkO69O+MzY+U/7eZVIqremALRCQP/Y5jf0N3bzCv9nL9h3r3kE74vp i1z2StYs1Qk9OcNqs8F+vsbxArkJr6/IRjiXbmuMk5UZuVN18973Kdqog+x6Zqc1RJWd OyhHclTypaiWPUm9qJYgAVZ1Yjmpv2nZxWBGFWQsxkdeoTUPrkBUaIHKiRywUolDhhYS 4CYLuiExPCs/7tTdWfkIou9FAx7A17VyWgrckTpNR7hnbblavlZVgagyVkwz5kr4yRUf wjvpv1cEMvSUO3i5Hda7cX/jpb4AJDSFP2sPYo5r89K84j32fW6Lcsn2kC+DwsbCHZPe YTww== X-Gm-Message-State: AO0yUKUfGPuRR8G96doRAsAGrQPzR2QexLLdQ/rDJrKn3rY0JotUIRG8 ma0ZbATQ7ImsIHHAuG7kjAGNMw== X-Google-Smtp-Source: AK7set9bklhbitjy14zLOWUYMQqEfIQBO24LYFVRsmGE8imCl0CAegTsM5/CHB/MF6KpfS4CAK6NKA== X-Received: by 2002:a05:600c:1d11:b0:3de:3381:24f2 with SMTP id l17-20020a05600c1d1100b003de338124f2mr6657825wms.30.1675354786157; Thu, 02 Feb 2023 08:19:46 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id h16-20020a05600c351000b003dc521f336esm212416wmq.14.2023.02.02.08.19.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Feb 2023 08:19:45 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Jassi Brar , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 08/13] arm64: dts: qcom: sdm630: add compatible fallback to mailbox Date: Thu, 2 Feb 2023 17:18:51 +0100 Message-Id: <20230202161856.385825-9-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230202161856.385825-1-krzysztof.kozlowski@linaro.org> References: <20230202161856.385825-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org SDM630 mailbox is compatible with MSM8953. Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/sdm630.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qcom/sdm630.dtsi index 5827cda270a0..95469a45a1f2 100644 --- a/arch/arm64/boot/dts/qcom/sdm630.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm630.dtsi @@ -2268,7 +2268,8 @@ gnoc: interconnect@17900000 { }; apcs_glb: mailbox@17911000 { - compatible = "qcom,sdm660-apcs-hmss-global"; + compatible = "qcom,sdm660-apcs-hmss-global", + "qcom,msm8953-apcs-kpss-global"; reg = <0x17911000 0x1000>; #mbox-cells = <1>; From patchwork Thu Feb 2 16:18: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: 650246 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 C79E2C636D4 for ; Thu, 2 Feb 2023 16:20:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232879AbjBBQUI (ORCPT ); Thu, 2 Feb 2023 11:20:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232997AbjBBQTt (ORCPT ); Thu, 2 Feb 2023 11:19:49 -0500 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E005125B1 for ; Thu, 2 Feb 2023 08:19:47 -0800 (PST) Received: by mail-wm1-x32f.google.com with SMTP id k8-20020a05600c1c8800b003dc57ea0dfeso4131813wms.0 for ; Thu, 02 Feb 2023 08:19:47 -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=BoMXeKnsBn9bGKhU85ct9VeYJmN7vekWfB8yOeCumio=; b=FXd36WiQtISj9JTyCDvqu8GqGDTcn+ZlzeHhicsywNk3qqclTVCvmfEtwVX0qZxJ1O CipUAFrzCSxEENyXhpRVfb73yndGCx1RbUE4Iv9Bn6r4x/WF1BEu+7jy0p4KdUqugyP+ 1rNbL3/6VD3YAWwD/qA0VsynLf5OU3QJr8E4gmKOXK50mAM2HkerfyX0gwiY9XW1OgN3 OOV2RkCPCxhROcnnX6NxRUIozeRVVzuIyYxOY+7OFSHWxywoPm6DYCUTPQqaEghiUpkB 7dCNKh4qRtintFPbfVEAzr89lSUf4rvfKANoEiN2karq9RZnOANGy9X4O13qWqPYjIAa 51JA== 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=BoMXeKnsBn9bGKhU85ct9VeYJmN7vekWfB8yOeCumio=; b=oITj4Df/gI6Hfh+qZ60vW75kKEgPS6OYikkt/PLz+rD0IihjJALC958oGSfkRm79aJ 8bBz5+O0wvasa9R93mJarhrfI8QI+Oi7rSYCHVkCy0eOqq+GpDOAdkBUhxX4K3DJ834p lUivdRqvThtnBwSixOJSg9XIUoxFvv/XKtwL1tS67jsRNxrn7nHwSx3ILFVgfGJOvpyb OGcHCG1skbUpO17CkOVG1/zEx22DD2ddS69y2e8dXixafijgxP4Yy0pFw2ME27yjs3Oq PuscaX/+eJmpMlH2uwTkw1LljcK2Pv+lmxMi2b2x+GFhbGeWyx4vZJwZTuUuplkKQ4jj zRlg== X-Gm-Message-State: AO0yUKUYTi8PiJzwLzmVAXG6qA+BsvNdGYlv3JR75Ilb+WWU7+4kPLF3 Hq0A5uz51S0+0nyT7LXpCflbUA== X-Google-Smtp-Source: AK7set+LQmzwXJ3pNYuNfoCLMeLz7R5bDcF/Hx7PirX4ID2ekvu5R6AMgGu86wtny4D1OgVJYIPpYA== X-Received: by 2002:a05:600c:154f:b0:3db:1d7e:c429 with SMTP id f15-20020a05600c154f00b003db1d7ec429mr6701102wmg.40.1675354787220; Thu, 02 Feb 2023 08:19:47 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id h16-20020a05600c351000b003dc521f336esm212416wmq.14.2023.02.02.08.19.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Feb 2023 08:19:46 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Jassi Brar , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 09/13] arm64: dts: qcom: sm6115: add compatible fallback to mailbox Date: Thu, 2 Feb 2023 17:18:52 +0100 Message-Id: <20230202161856.385825-10-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230202161856.385825-1-krzysztof.kozlowski@linaro.org> References: <20230202161856.385825-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org SM6115 mailbox is compatible with MSM8953. Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index 50cb8a82ecd5..9dd230617af4 100644 --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi @@ -1945,7 +1945,8 @@ wifi: wifi@c800000 { }; apcs_glb: mailbox@f111000 { - compatible = "qcom,sm6115-apcs-hmss-global"; + compatible = "qcom,sm6115-apcs-hmss-global", + "qcom,msm8953-apcs-kpss-global"; reg = <0x0f111000 0x1000>; #mbox-cells = <1>; From patchwork Thu Feb 2 16:18:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 649693 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 081BEC05027 for ; Thu, 2 Feb 2023 16:20:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232960AbjBBQUK (ORCPT ); Thu, 2 Feb 2023 11:20:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56990 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229974AbjBBQTu (ORCPT ); Thu, 2 Feb 2023 11:19:50 -0500 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE8D4303F2 for ; Thu, 2 Feb 2023 08:19:48 -0800 (PST) Received: by mail-wm1-x32e.google.com with SMTP id m16-20020a05600c3b1000b003dc4050c94aso1819674wms.4 for ; Thu, 02 Feb 2023 08:19:48 -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=OjhYi+0GpGdSn17lU5bVC4FkG9TB87E0c+itsVukMac=; b=LuQWUu+2efxxK8kBGFaDYm8ojGFMeaHvObZwLcUQX4ktnTz+OdgEUZX596AkwljIXq LdkI7+uNtlAshnjWt8fnrY8sXLS+An/47qx2tBIBzn1x9783SHAzTI1gcn5htv32S6e6 5e8tXkD2gLIGtFMiJUZLtFI8r+++mjUlZTrrfg8U1SHjvEtdZuQVC0Xv0+WD7aU9XUKY VLqGfatUOVhDsR2aPmwqx7HlZJi7ReNHnMSt3EWug6R2Ouv4jC2yBr2alfA1lRDs3kn6 GAJVywceSgsxWdnQ1UGU8e1LT2UaM75iwqrBejDkxPSZPQyxmOdffbt32V0jlzm8r3zQ dlyg== 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=OjhYi+0GpGdSn17lU5bVC4FkG9TB87E0c+itsVukMac=; b=eFsnaXdiX5+uR9z7ab78E39278ux2KXT9cDqQj2tSdcRK0faE+037vdxkJ1Gg4i2FQ RNYVPyezEKD1mNR5ymA9B1PIRZpjVveidAmrl8goTUKO98vtXnI9LBKgKq2ndh3iW6WW lsPew2OUNtaPeByeDeDGxeo65k1FtO1Ulir323NKkSWPOA+2rX+7od/aYNfYXjk6cbvT ilUpyjtJJ37UIsBTiB0rEgJEUJf2oh1L8MImtbOlKPd/0y/kOylvtWjTO7W4LLZtFGcV HNJYe45Jn1fX4T8Jky2XvSr3AfYopDj72Mj0IZvSwW2MFuV2EitllwBwE2WZZdX93gaW lLsw== X-Gm-Message-State: AO0yUKUYpSZyLs43TqsNQzm/3XNsBO+mxp9feqY2GzDTSlISfLW/HA4L HnlnUexpIeH3Jjf4oZSQYUVN8w== X-Google-Smtp-Source: AK7set/r8h1uhffeyfBEN2l3ALK4St2Emp5CxY82HdUs1mFadGoDBKfZk3xGPjPBstJAFcePpDxiHg== X-Received: by 2002:a05:600c:548d:b0:3db:114:a67f with SMTP id iv13-20020a05600c548d00b003db0114a67fmr6483884wmb.17.1675354788501; Thu, 02 Feb 2023 08:19:48 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id h16-20020a05600c351000b003dc521f336esm212416wmq.14.2023.02.02.08.19.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Feb 2023 08:19:48 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Jassi Brar , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 10/13] arm64: dts: qcom: sm6125: add compatible fallback to mailbox Date: Thu, 2 Feb 2023 17:18:53 +0100 Message-Id: <20230202161856.385825-11-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230202161856.385825-1-krzysztof.kozlowski@linaro.org> References: <20230202161856.385825-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org SM6125 mailbox is compatible with MSM8953. Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/sm6125.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm6125.dtsi b/arch/arm64/boot/dts/qcom/sm6125.dtsi index 65033227718a..7990265274ca 100644 --- a/arch/arm64/boot/dts/qcom/sm6125.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6125.dtsi @@ -1211,7 +1211,8 @@ apps_smmu: iommu@c600000 { }; apcs_glb: mailbox@f111000 { - compatible = "qcom,sm6125-apcs-hmss-global"; + compatible = "qcom,sm6125-apcs-hmss-global", + "qcom,msm8953-apcs-kpss-global"; reg = <0x0f111000 0x1000>; #mbox-cells = <1>; From patchwork Thu Feb 2 16:18:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 650245 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 DDDF7C61DA4 for ; Thu, 2 Feb 2023 16:20:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232971AbjBBQUW (ORCPT ); Thu, 2 Feb 2023 11:20:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231939AbjBBQTy (ORCPT ); Thu, 2 Feb 2023 11:19:54 -0500 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2FCB4611DC for ; Thu, 2 Feb 2023 08:19:51 -0800 (PST) Received: by mail-wm1-x32f.google.com with SMTP id m16-20020a05600c3b1000b003dc4050c94aso1819716wms.4 for ; Thu, 02 Feb 2023 08:19:51 -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=b99oypO4bJC2iYysDhsqz1eGOYtj457EQWA47nTPG14=; b=KDicPQ81bvPG1npzsATdBaXv5XaB6EwXkZRZW4pjogsJoyhTt4HpeX0tkYnIHOl8Pj yzGO6GFXG+FXPF4Upv6UEy7jLM+hZ6fW2wD5haMSYZQHhKgpC86faoUwz8zqFaDhxqmf OG/QcWq4x2cXgnO1Wvcof8TIVqiBOuTX3Q3PMxwrUkze0NBjmUyL22ZL69RWHRkyq7p7 2lDSTcoLRzGpEnPhsPzjk2wOtNP0wKtX90R0wuR+GIWDIdQyFRBNQQ2ZYFSINF49zv3l ymnwcWNvseqAB1VRn4xiJj73m3mTeUzgYTSyqzXFq8vsin2104pyZARtQSAvJ/1BQAR6 vxow== 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=b99oypO4bJC2iYysDhsqz1eGOYtj457EQWA47nTPG14=; b=B8zo0mT4SJ1BDQm+V2ngz0Lbi+4ky6jd2I5giZUjIwJSlWdDcSZn9KNY/VpBb2ozYl VjkLh1nVhtX5JNTSGBThA1IfXql6zfoxIFKkWgO+4bqj0EOkHJd+/2Rn0gFgK4rnjtK9 DId7ejxLZBkJQZRX6t2Zu4xcxnGeSeO2h1RDWQqEsFwJ1hPDf0JX8x6uE9i3fVCf12q1 F9E5KhWNLql3aj3Ly26KwXDiTPtQ3bulE2JUW839bl3pCjpY/xY245+EhA3QOR/rNJUr bBJ9pwjDdUp6xqoJvenmTiRANva3vAPPo5IWgPChOx30HDMR65xSq/PMSWNyaShVojsP yk0Q== X-Gm-Message-State: AO0yUKUPGrEbz0A0xXqZgleJ+ftFveCoufE4kQ2V2uThOZSktsmD+EtO sgyrdEtWGHGnnkbp1d13RXJnAg== X-Google-Smtp-Source: AK7set9dNgM/hfGhbWVV6OBm3MRQbVyJ6rk0whRN0HIe6Rh3fHL732ZN6m8m3mazt4H7pkPmgyZKuA== X-Received: by 2002:a05:600c:3783:b0:3de:e8c5:d826 with SMTP id o3-20020a05600c378300b003dee8c5d826mr5942525wmr.28.1675354789773; Thu, 02 Feb 2023 08:19:49 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id h16-20020a05600c351000b003dc521f336esm212416wmq.14.2023.02.02.08.19.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Feb 2023 08:19:49 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Jassi Brar , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 11/13] arm64: dts: qcom: qcs404: add compatible fallback to mailbox Date: Thu, 2 Feb 2023 17:18:54 +0100 Message-Id: <20230202161856.385825-12-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230202161856.385825-1-krzysztof.kozlowski@linaro.org> References: <20230202161856.385825-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org QCS404 mailbox is compatible with MSM8916. Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index 9c9890cf1b10..15fd12fcfdca 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -1302,7 +1302,8 @@ intc: interrupt-controller@b000000 { }; apcs_glb: mailbox@b011000 { - compatible = "qcom,qcs404-apcs-apps-global", "syscon"; + compatible = "qcom,qcs404-apcs-apps-global", + "qcom,msm8916-apcs-kpss-global", "syscon"; reg = <0x0b011000 0x1000>; #mbox-cells = <1>; clocks = <&apcs_hfpll>, <&gcc GCC_GPLL0_AO_OUT_MAIN>; From patchwork Thu Feb 2 16:18:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 649692 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 5762EC05027 for ; Thu, 2 Feb 2023 16:20:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233061AbjBBQUW (ORCPT ); Thu, 2 Feb 2023 11:20:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232176AbjBBQTy (ORCPT ); Thu, 2 Feb 2023 11:19:54 -0500 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 48198233C3 for ; Thu, 2 Feb 2023 08:19:52 -0800 (PST) Received: by mail-wm1-x32f.google.com with SMTP id k16so1833356wms.2 for ; Thu, 02 Feb 2023 08:19:52 -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=VIHAu8tErojOfd5QM6R7iQDgiVIIMil5Ve6NCJeQni8=; b=UN7676/ZYa6qNZqbxHWnomlCPvt7hGIGl21qZJjrxchrzk+SQrtErrzhQaz02tVt3+ TZ3JoSbTtV1gkaZPt9Ke9tcej+bgffJkA8jumefl1J1hEn+Hi5kx6Rj1fu9L1AlAEoWW wuluiPdrcPjEKZ/C7K+i5lgIeJhYd41nDhK/v9t7kej/+HQlvu1Fz35VQp0S+sfvrWHz 6VAOQQmefy64jNJAagkigbHn3r6zdkX86qijJ3p/TYM09Uhh6z3MqNhARqKmUQEqtBK+ YvvWwnxieQH5L5Rvy+uvxXBdOPSjv3YBx80VcF9ueSLrUcqri9T8CkpCU2VxDeHjB9ib p1zw== 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=VIHAu8tErojOfd5QM6R7iQDgiVIIMil5Ve6NCJeQni8=; b=6912SExCG/u2BFx8JbYh523VhsyXt36iWs9ilAMkVRleIzIkhLMlz/LmvTny+0AxrN 6iNmWvWD7iRCXBvEFVI4bFLOIbIOVJvmDdGLtGILGMlpCwgAe7OmlL0ZOdk5xAS5BW7y vpu8aEA5BQMaDrDrP0wO+WJsk8VNF0mf5Tg6OTriFjNg63KvmnDKHpvk1wGI+snD5kr+ 3SgzJYAtUWoajQN0J6763qn+NTb/+/u1gsEYuTwYVZUVt0rg//0B8TNuRs0OGchEjbNq YDCTV9QgZoort687x+P098KaOaVi1PSKwpDqyFNlyRvGX16WoCsQU8dNq41VDZEjq+fE SAhg== X-Gm-Message-State: AO0yUKUnsEpm9mwazSgL6QQkSKTmafNwlToOsCC09wz09BS/MKUOpZvc rx54xXQpZ6GAC2kMEIzdF6M2gQ== X-Google-Smtp-Source: AK7set9OK48HvsEFkcdF7CCyK2Suis+biRyvfw3q6OS34scf3NYBnCG/wg+M1/0iVMp6Rb7w3T53ng== X-Received: by 2002:a05:600c:4f83:b0:3db:1a41:663a with SMTP id n3-20020a05600c4f8300b003db1a41663amr6641290wmq.20.1675354790833; Thu, 02 Feb 2023 08:19:50 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id h16-20020a05600c351000b003dc521f336esm212416wmq.14.2023.02.02.08.19.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Feb 2023 08:19:50 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Jassi Brar , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 12/13] arm64: dts: qcom: sc7180: add compatible fallback to mailbox Date: Thu, 2 Feb 2023 17:18:55 +0100 Message-Id: <20230202161856.385825-13-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230202161856.385825-1-krzysztof.kozlowski@linaro.org> References: <20230202161856.385825-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org SC7180 mailbox is compatible with SDM845. Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/sc7180.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi index ebfa21e9ed8a..61d99c02a290 100644 --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi @@ -3407,7 +3407,8 @@ msi-controller@17a40000 { }; apss_shared: mailbox@17c00000 { - compatible = "qcom,sc7180-apss-shared"; + compatible = "qcom,sc7180-apss-shared", + "qcom,sdm845-apss-shared"; reg = <0 0x17c00000 0 0x10000>; #mbox-cells = <1>; }; From patchwork Thu Feb 2 16:18:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 650244 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 734E2C61DA4 for ; Thu, 2 Feb 2023 16:20:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232923AbjBBQU1 (ORCPT ); Thu, 2 Feb 2023 11:20:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232145AbjBBQTy (ORCPT ); Thu, 2 Feb 2023 11:19:54 -0500 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6CC1266FBD for ; Thu, 2 Feb 2023 08:19:52 -0800 (PST) Received: by mail-wm1-x32c.google.com with SMTP id n28-20020a05600c3b9c00b003ddca7a2bcbso1826089wms.3 for ; Thu, 02 Feb 2023 08:19:52 -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=VtgKBnPRCwb98a3FyvDw8aR7YxIqb2SNRFrW+A++kN4=; b=RC8duqK7n91NBKeQMiIyph7LDzlPaClogDiFaNToN/m6hkm6nUraHVjI5ZrmBmAK4i fKP14QUUMsTvhSzHFZ+qbr5wOZ18UShuriq2jgToiZNDT9mol1C7OcWeFYyBcaAD1jBY j6LUhNuSurEB+eugEqSv4k4/UNsVqKMuTsnPRR9TxRIFka3WyuPSFNTi44q0FQB28PHc h8l9Rg4wUOFCmqm0EhL84oxLJrfQmsvYB8YTy+iRuRR9qa7xjkWmpy90V48BBQ9lO/wB +3TFJLcYZJBHG/hoXV1q//lJSW/SKPxBwPLsxdmmjT7nXISaQq+m3bV1Kg8vQrWAaxQa VtOw== 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=VtgKBnPRCwb98a3FyvDw8aR7YxIqb2SNRFrW+A++kN4=; b=c9jt3lTzf6omY+K1ymGIvrpWgSMEzKoJ4uq8BDdFp8LD8Un3VJL764CV5c6SYnQNnp CxZr2IMEA3TuEebbN0v2Bisrwf+TWeNisAJ40H/5R4BJYL8oUNsemeDro9Silsfn1AGN 8sF84ZoR3bYX8WWR5O1dx6dzc0F8fL/xqv4Z+Ry5WR4JmS5rCn2stYWXeYdDDDo9qDoO OBe0eAKDkdKjpEq0kc16KAcb+iZFlmnSlW4ODK6fazs/Yzh1XtbVss6SQ9qlYbDnQ7CT aKRzpRKpxWLtftEOVLpb570JzhGNtnIbRHRnmBtZ6b643u+oXM49ksV23BkhUdtUrc5u 4Hew== X-Gm-Message-State: AO0yUKVWswGFOZboR3MMSS/fsPRpDdCkoeEu3z7iWMJMvjCRm7+0azNs yxTWJDhOr7V4B5X4ixxfP2NGEA== X-Google-Smtp-Source: AK7set+vIk6UpkuGODD1j0SYtAncrTjWyvRYc/zd/hzQaegDljSJXvxzHTMGQvuuSIvf2Q2vqUUnZw== X-Received: by 2002:a05:600c:354c:b0:3db:1a41:6629 with SMTP id i12-20020a05600c354c00b003db1a416629mr6392726wmq.22.1675354791974; Thu, 02 Feb 2023 08:19:51 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id h16-20020a05600c351000b003dc521f336esm212416wmq.14.2023.02.02.08.19.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Feb 2023 08:19:51 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Jassi Brar , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 13/13] arm64: dts: qcom: sm8150: add compatible fallback to mailbox Date: Thu, 2 Feb 2023 17:18:56 +0100 Message-Id: <20230202161856.385825-14-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230202161856.385825-1-krzysztof.kozlowski@linaro.org> References: <20230202161856.385825-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org SC8150 mailbox is compatible with SDM845. Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/sm8150.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi index fd20096cfc6e..6c6fea74d438 100644 --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi @@ -4097,7 +4097,8 @@ intc: interrupt-controller@17a00000 { }; apss_shared: mailbox@17c00000 { - compatible = "qcom,sm8150-apss-shared"; + compatible = "qcom,sm8150-apss-shared", + "qcom,sdm845-apss-shared"; reg = <0x0 0x17c00000 0x0 0x1000>; #mbox-cells = <1>; };