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: 649787 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 2F120C636D4 for ; Thu, 2 Feb 2023 16:19:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232465AbjBBQTz (ORCPT ); Thu, 2 Feb 2023 11:19:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57482 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232766AbjBBQTl (ORCPT ); Thu, 2 Feb 2023 11:19:41 -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 CD86B6AC93 for ; Thu, 2 Feb 2023 08:19:38 -0800 (PST) Received: by mail-wm1-x32c.google.com with SMTP id bg13-20020a05600c3c8d00b003d9712b29d2so4113765wmb.2 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=XAwQkdodw8GGuqOGSLEWM4TN4YxBI6TKkNhkg1wry5krX7MOkwDJl+iGudqUHFMZ5a XR51YXzILL88MMy8Ho0p26MqFFdt9dB/ZFXn8QAXjl5/tQjLf9qJskjOS99Xd84lvHJF Wsj5hi+5/Awwx9JZUVkQSVHRRN5Tn3xKzXmhcAlrwRxYP07JSI9SvdY1UpqfTCw4sHsL dk33Ghu+FRsZ9ygiH1VRj4E4tp6FSm1FWW7oFEs3g4ks234fFEoiNY0lgiHWxjho4Mqo wJSZkR4j2eGqtRBv/SYHcOv/t/ZsULB/VJC4szhSTr83mO2eygbmCjZ+LSDGvplF9K2P 4IQg== X-Gm-Message-State: AO0yUKVCN/qoy7jbH/rxHin5yoIox+ygWk8e27NlnhoiTuFkHqTiW+uL aIOdlYuVP/CfKEsQXc/Htn27VQ== 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: devicetree@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: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: 649785 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 39B13C64EC3 for ; Thu, 2 Feb 2023 16:20:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232640AbjBBQT7 (ORCPT ); Thu, 2 Feb 2023 11:19:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232876AbjBBQTp (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 5861464690 for ; Thu, 2 Feb 2023 08:19:42 -0800 (PST) Received: by mail-wm1-x335.google.com with SMTP id l37-20020a05600c1d2500b003dfe46a9801so344148wms.0 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=crwEtRaHEm0ffAqGW1f6TxcWNE6j65+3Pf5PUtC/Lb/r+8mjXGRlbAtmcFSjEWZ7mq Fe7AuJ/ktmNGyl8AcOrXF02FS9U9ImH0ys8Za/Hso+H5FpgWE/rtcrSnAQBfjNqtHWc+ lR28aS00saSaCea5ysJFWYZYi+QpSTCsxMOfhUzmdDLx8rXAYAMKJ9kouWycvGTNM5u8 bujAfost889MHiAgHV8fyl2z9BSxIRxqQ04unQyQlQhfJ4QjlHp0rKF1dI1MmDLf+6JG TelIvgayaQJ/vxnR2T0OwTOmQKmRFcGQBaTjQJ2Bk2XF7MtlHnsr821V0CC2cqM7ZKIx HrKQ== X-Gm-Message-State: AO0yUKUFvCNgLja9UKpRIPYeGk9v3k00p9u+5EXRzTe+bNGbQE4Tqgw6 cLdr/XNnc37Bgdhaupfu86BVkg== 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: devicetree@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: 649786 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 0F443C64EC6 for ; Thu, 2 Feb 2023 16:20:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232159AbjBBQT6 (ORCPT ); Thu, 2 Feb 2023 11:19:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56800 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232870AbjBBQTp (ORCPT ); Thu, 2 Feb 2023 11:19:45 -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 198146B373 for ; Thu, 2 Feb 2023 08:19:43 -0800 (PST) Received: by mail-wm1-x32c.google.com with SMTP id n28-20020a05600c3b9c00b003ddca7a2bcbso1825716wms.3 for ; Thu, 02 Feb 2023 08:19:43 -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=mOJlPMXw/O6MLUd7YFMJPx23abtDD8dH+bS3qXpzF+2OCE7CF50qDroHLN+Hy7hUge 5Q5sv2pQ61fJXIhFO85JkfR5oIVWu2kcTgNFH/C3TOgNl2Gz/ApVZWL46pBPGn68DZtg /1xgivFr982eH8s2Hb810ntJ0ZWyT8pq2DNd9rmUESZQTRrYtAQCEVXZfXGotjqN/23O ZQxCRSQvhr8mB6wJtca9UuWID7zHOhhNQWgKCHjcViTIEvClwvkHv5FpKXvh3Jcd52No KdmWir1N71oSzpfpHlwO/xUrAMlk0STyPN0yPjhhs1zmAm+1Ca2xE2H8WpehUE6/fDX3 AqRQ== X-Gm-Message-State: AO0yUKVoHBA5TBb/K9h05I9N2SpywF07m+V8JNBzKilcOhKcf2jlJNh2 bTnOo6EQP9/o8hgn55YoMWTpRV4w0fPKk2+X 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: devicetree@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: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: 649784 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 F3D47C61DA4 for ; Thu, 2 Feb 2023 16:20:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232785AbjBBQUF (ORCPT ); Thu, 2 Feb 2023 11:20:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232981AbjBBQTs (ORCPT ); Thu, 2 Feb 2023 11:19:48 -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 83D1748592 for ; Thu, 2 Feb 2023 08:19:46 -0800 (PST) Received: by mail-wm1-x336.google.com with SMTP id j32-20020a05600c1c2000b003dc4fd6e61dso4099569wms.5 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=VhkGx75UdDisRMAlgukp8wfIzOlPhVvc+QTwsEw1GYdwTcTaUUGZX7jySTxBh9FM5o 4ReTh+tQlQJBI2WWeiVnx8Io9rtEgARpAGCDY8Lnxv0fIGRMm0i2LVO7TOvJzPzhEfJt xvxb9k4SlKU6kXPcCK5WlCpk5l3pbEQfwc78bLFJl1OxJSqs2ma+OsRqxjdcSc6li2jo DS86r4wfL0c6YN8w7eCqVlMY7Qws80QkTPTVONN5dZyK+/UyvqpB8sLYq6QKaDJ9vhJA WwNOvJfbBUR/4OPu3dXF5ZIJMIIP3KD3qpWzj7UsMb0TNvB5Kl6SWAFZf0AfjxwSvKL4 sALQ== X-Gm-Message-State: AO0yUKUtrCtN2bpd9Sb3M0DmgFt71YhVt2Na88fQEbRk1YpbXFGLCNNV Rt4d8mKchTBrGaWMoGuuSJ69iA== 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: devicetree@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: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: 649783 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 57228C636D4 for ; Thu, 2 Feb 2023 16:20:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233054AbjBBQUR (ORCPT ); Thu, 2 Feb 2023 11:20:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56390 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231542AbjBBQTw (ORCPT ); Thu, 2 Feb 2023 11:19:52 -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 EA44116AE5 for ; Thu, 2 Feb 2023 08:19:49 -0800 (PST) Received: by mail-wm1-x336.google.com with SMTP id k16so1833256wms.2 for ; Thu, 02 Feb 2023 08:19:49 -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=cBccKTwMwEKdGCONEYs37rIgo7Q+gDGi7AeaHN24sZ+58gupvt5gK1qNNrzsd9RK2b QAYOP4gcQx6aS0aEXrq66zZa9yOFzBgwiCI624nPfZFg1muGuv7rUUNDOhfRdytXPHKO 7gGB8B0W9LlJGAdNZZ6ZFnUyamik8Zz6TH4jOZxelVlq0EoIH5IhAmZdeMyzjSE/BMKY 07uQzLV4uKJxu2u2C0tLbpmSRFywfsIrYhPOSJUZBqnsi8nuezRQ5CA7KwlsNSahtzVx OO8P53s59LtHa4DZaVIbMf3r8J6SKqXNlooHuLqXyD1iHvNQKmUTvpJW1iShxeQYPnkM YXtA== X-Gm-Message-State: AO0yUKV07UDgqXUSByQJ37J6LAnIgg18b2g4n0HeXYd1J1hoy/MJy/fg aigfrhHvKHCwjk6Xw8P1knFwmA== 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: devicetree@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: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: 649782 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 6A83DC636D7 for ; Thu, 2 Feb 2023 16:20:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231245AbjBBQU2 (ORCPT ); Thu, 2 Feb 2023 11:20:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57454 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232405AbjBBQTy (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 6DBF06778D for ; Thu, 2 Feb 2023 08:19:52 -0800 (PST) Received: by mail-wm1-x32f.google.com with SMTP id k8-20020a05600c1c8800b003dc57ea0dfeso4132014wms.0 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=J05WOuGxfdZ3s5ZDsOeB6gNIX5Y/sSsGsmvPDCHg0mgc81vvPhexySeR7ialkOYsLn Z34tBX/PT6z7zPFk5GY723bvEvVour9OlviI3fZ3H8t7CWD7stNfgda9YSV3VWs1MLW2 i2TYonnEaZmDSz69I2gTeMog6LIzIdGyvdgGmqk80JG7wCB7CB/PW42RcYCPk4Ttzt3m JB81DpZTmV4Gtwf/lE19ImSd+FZJ1z9pPl9jqlVPay2mWd6PKWh0IffPHUWfS3scq2pj iIqY5RZ6XWxoHUaJW9O18Mc5yPpRlCxq6DK8PvTMz5u27KVXjFhte3aHvF4wdDYmUqQR F3XA== X-Gm-Message-State: AO0yUKWaYjhLTW8WSD1YpFeNku2oMT+gXFB/ZQ7pE8wAas0UJzfs5FVU qO5PnZR23ayC/sNl0cA17E37dA== 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: devicetree@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>; };