From patchwork Thu May 4 16:17:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 679100 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 D5A14C77B7C for ; Thu, 4 May 2023 16:18:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229678AbjEDQSD (ORCPT ); Thu, 4 May 2023 12:18:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44996 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229564AbjEDQSC (ORCPT ); Thu, 4 May 2023 12:18:02 -0400 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 1514230E9 for ; Thu, 4 May 2023 09:18:01 -0700 (PDT) Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-3f18dacd392so5453145e9.0 for ; Thu, 04 May 2023 09:18:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20221208.gappssmtp.com; s=20221208; t=1683217079; x=1685809079; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=MweiIBWJQm7m5FMhKLIF4YwfT07xOnndyfZNi/Z26Uc=; b=geV7e9bxPy9HCRgRv9+8znyVHC6GhjelxXqPPT/QPuTWea2CK4qERIkXx5l5HdRYzM O5M3jC8fnjtqg5Ghc5wxpHkIPpih5SBV9j/Q2C0hAc7moCLPLceWseECAS/W9PyvshrM 7J3v71IURzIHtu656ypvqtPOY8NndaJ7B6k9J31kkVXehr2vco2ZiX2mf43dapfXlz0/ vkrp7YNZF6QLY9Jeyg+Y/pxAfBCZFg4q5vcT44qlO6I8x/3s4xBjMITY7aSOkvxaPTr7 IQUsshNw4eu/BCFqKkFPEtaKRYtdgYNQOKUwc9RIgrBDsGwy+9q35It/w8lu/FItzEUy qUNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683217079; x=1685809079; 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=MweiIBWJQm7m5FMhKLIF4YwfT07xOnndyfZNi/Z26Uc=; b=kqSK2Sbz4AiIGW2k/k00hN7G3/Cti5PQ94kDwbqPAvheQYDnCfRs8+MJaRdFg5SDvO EZULgh570DLK9qsud/ZAuR8tE1Fso0SIdBOGdDSOkHKCLpsYFOHWFwKWDpX5o/sx8YUu ofGqChDYwRVEzjd5lhPsoDlpNXS/wP4BCmuppcnncAzFDS1MG0H/rWwXsGvPEn20+Ozt NO/BOFAnbDnYE2zmWIdC29tR9j7K/17v9G+oQRD+3OfPrA88dfpWrvRgZsyRSQ9bV2lQ ZWBy/LhKtdpM6/YVAZbBTsgFimr+EyKiKAQKQqknrMoF4ZrfT4LtjxYddepoeQc2hnzS UvMg== X-Gm-Message-State: AC+VfDzAHqoUd00tAvkeLwx1HdSZo3kIZan/9jjMmplr4WUuCINJb0Fp iQnHZN9GE6Y77jk4PlX3jcaulg== X-Google-Smtp-Source: ACHHUZ4/KZ0p0Mz8iiTYD0sTn+cvsDm/0L96N4J41veiC/xud3xWyRcjyL75FvsX6Opdf1Otj7y7mA== X-Received: by 2002:a7b:cd87:0:b0:3f0:5519:9049 with SMTP id y7-20020a7bcd87000000b003f055199049mr185767wmj.8.1683217079584; Thu, 04 May 2023 09:17:59 -0700 (PDT) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:14d4:bf3e:d1a3:623]) by smtp.gmail.com with ESMTPSA id u19-20020a7bc053000000b003f09d7b6e20sm5336293wmc.2.2023.05.04.09.17.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 May 2023 09:17:59 -0700 (PDT) From: Bartosz Golaszewski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH 1/2] dt-bindings: soc: qcom: aoss-qmp: add compatible for sa8775p Date: Thu, 4 May 2023 18:17:54 +0200 Message-Id: <20230504161755.197417-1-brgl@bgdev.pl> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Bartosz Golaszewski Document the AOSS QMP compatible for SA8775P. Signed-off-by: Bartosz Golaszewski Reviewed-by: Konrad Dybcio --- Documentation/devicetree/bindings/soc/qcom/qcom,aoss-qmp.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,aoss-qmp.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,aoss-qmp.yaml index 798f15588ee2..9dc8e48c8af4 100644 --- a/Documentation/devicetree/bindings/soc/qcom/qcom,aoss-qmp.yaml +++ b/Documentation/devicetree/bindings/soc/qcom/qcom,aoss-qmp.yaml @@ -26,6 +26,7 @@ properties: items: - enum: - qcom,qdu1000-aoss-qmp + - qcom,sa8775p-aoss-qmp - qcom,sc7180-aoss-qmp - qcom,sc7280-aoss-qmp - qcom,sc8180x-aoss-qmp From patchwork Thu May 4 16:17:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 679641 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 710E4C7EE29 for ; Thu, 4 May 2023 16:18:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229686AbjEDQSF (ORCPT ); Thu, 4 May 2023 12:18:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229673AbjEDQSD (ORCPT ); Thu, 4 May 2023 12:18:03 -0400 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F15C435A2 for ; Thu, 4 May 2023 09:18:01 -0700 (PDT) Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-3f3331f928cso5606625e9.2 for ; Thu, 04 May 2023 09:18:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20221208.gappssmtp.com; s=20221208; t=1683217080; x=1685809080; 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=DIphhPWEW6QhcmnY41fehaOD6U9YlzY9aj8W7kOg/UY=; b=e7KJ8WwmpXY+57f1RUShDYhnKIjBlpjiFN1eTMVKS1hsdwA7IrbsLVryzSTqOImyCC W76MJAufjtEhtOeb59WrX67xTMu7kistTli6d60blS+PQf9mrBfPQUpbJkKt28t/lv17 2oBJpI5nkrI5zK4U3vLoTN1ziE/++oMWxcTYN3/1YGIFYyBOarLM/JSk7aBfcjM6lrnW Lnf0mZd+Lvl0DnY1/7G0hiYW3hJUoXrZGid8CsR8COj2E4r6vH8YJgGWrCOA4bwz54/C A5jntb33t8TH7TMf6h0obQqOrwtKdVpFf/TMYv91aIo85neF3I4xcRW/p1kBL1IyINi2 E6yA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683217080; x=1685809080; 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=DIphhPWEW6QhcmnY41fehaOD6U9YlzY9aj8W7kOg/UY=; b=TIR9r1nnaxjiKF47TrTmcluF3lQNGueqrMTrRQXme1gsmklaDMBLKCOBCeIe19noim POKAIqE8hSmJwiECHV9BZAzq9uFUCJv4hSIA5ceGdZ82vinjmZ6p6lbHPfPiBvX2DwBe tiBZsXC4clwvcYGVxCP/lmAbh15xqXsmzh6oGQq60RUWDYViIolOB/H+hj5iuBlvgBr1 5uEJMm3K2hmbaxOOm2aDy5CwkbBvTCGGGN07WcSNVb50s/ZjOBOcpg4MNXGzus77UilF E1zeH0wriliHvGBKbEQ8Sg4jBMot6Fog4wA3//kYxyQE0G2M2rOXaIkgXwmbLDi0kBje J0pw== X-Gm-Message-State: AC+VfDy0xhWNyPUnPkgBfVLu/Zhovp/xVUWFq0C7dzwosU89tWXVy8/Y rqac+FRpFlIn63BALWOOAKQAMw== X-Google-Smtp-Source: ACHHUZ6zM0Qu/02PWwFJOw+0PQcAqjiuO/4pf2cnPLzI1JY9nb7q4IJdzOQpub6VMV6otNzuwWEVRw== X-Received: by 2002:a05:600c:218c:b0:3f1:8aaa:c20c with SMTP id e12-20020a05600c218c00b003f18aaac20cmr206926wme.7.1683217080528; Thu, 04 May 2023 09:18:00 -0700 (PDT) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:14d4:bf3e:d1a3:623]) by smtp.gmail.com with ESMTPSA id u19-20020a7bc053000000b003f09d7b6e20sm5336293wmc.2.2023.05.04.09.17.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 May 2023 09:18:00 -0700 (PDT) From: Bartosz Golaszewski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH 2/2] arm64: dts: qcom: sa8775p: enable AOSS Date: Thu, 4 May 2023 18:17:55 +0200 Message-Id: <20230504161755.197417-2-brgl@bgdev.pl> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230504161755.197417-1-brgl@bgdev.pl> References: <20230504161755.197417-1-brgl@bgdev.pl> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Bartosz Golaszewski Enable the always-on subsystem controller on SA8775P platforms for use by upcoming support for other peripherals. Signed-off-by: Bartosz Golaszewski --- arch/arm64/boot/dts/qcom/sa8775p.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sa8775p.dtsi b/arch/arm64/boot/dts/qcom/sa8775p.dtsi index 0737ba38fefe..c5e2e3256bc4 100644 --- a/arch/arm64/boot/dts/qcom/sa8775p.dtsi +++ b/arch/arm64/boot/dts/qcom/sa8775p.dtsi @@ -9,6 +9,7 @@ #include #include #include +#include #include #include @@ -752,6 +753,16 @@ pdc: interrupt-controller@b220000 { interrupt-controller; }; + aoss_qmp: power-management@c300000 { + compatible = "qcom,sa8775p-aoss-qmp", "qcom,aoss-qmp"; + reg = <0x0 0x0c300000 0x0 0x400>; + interrupts-extended = <&ipcc IPCC_CLIENT_AOP + IPCC_MPROC_SIGNAL_GLINK_QMP + IRQ_TYPE_EDGE_RISING>; + mboxes = <&ipcc IPCC_CLIENT_AOP IPCC_MPROC_SIGNAL_GLINK_QMP>; + #clock-cells = <0>; + }; + spmi_bus: spmi@c440000 { compatible = "qcom,spmi-pmic-arb"; reg = <0x0 0x0c440000 0x0 0x1100>,