From patchwork Sat May 7 20:36:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 12842190 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 937AEC433FE for ; Sat, 7 May 2022 20:36:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1387365AbiEGUkb (ORCPT ); Sat, 7 May 2022 16:40:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36792 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1447023AbiEGUkX (ORCPT ); Sat, 7 May 2022 16:40:23 -0400 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18DA61A83A; Sat, 7 May 2022 13:36:33 -0700 (PDT) Received: by mail-ej1-x62a.google.com with SMTP id i19so20127514eja.11; Sat, 07 May 2022 13:36:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=7DWoX9+H0DxYYZrmDNlSMsfSAn3l95094c1JRWnLT7M=; b=AenD+lrs+dbZfipB99nC/SkuwXSY9y7aLz1aNvVX3KuhfTydePoQhobTR1YZmakS9J fpUAKi8zgzpbhvXz89r7lEPz6/rHq6UK1bImTesNXqo0kGD52tC5u0aMhanaHeOZjtPo ijVhcRHHIgAU96ruRwJn+XS5dhgcMAIFatvWUB1hTLmZXHOFu7jkjaESle7EposTvUxJ +7uVJ4qyomMXuO4/BxHcxEaoOPhVJHbRzp+feYUcO7MwHGa0TXg18zygbRKcf+ulIYl7 0eQrr+h0TOSPL1j/YBnJK+E6wC23rCE7nas72qRFsGiFHb47gqZZh2ovHYlt0LW5b3Uv Ah1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=7DWoX9+H0DxYYZrmDNlSMsfSAn3l95094c1JRWnLT7M=; b=0bv20Wbvs3tnB85qpfSM1IRyr1zaf1U4F9Zl0YVrawVn3DussRjm3Et4R+LilaJF1z cDBn9ddLSMbIj751HS047mZA7lY4sHj6qzK1Gu7x/mveLRvN2nC8xVC7A3B3oPY/CnyJ Y3M+CbWANK4JDTxbeQzdv2XonefZjDz4nSRCzUoYMxMfV94IuD01SXkve2eLigQqlrKs kILtudQwK3HRSLu2MOvT42zpXUrNa9MVHBJM79nxqNrMxw3hzcrIov8ATOOhofDlqrW4 8qzj5v/UjesX88WTvVCPdU/4h/be4Bgput3oWPDuoqyFMR/2yCefnjhtEfLXa7Tx0Bvs PXLg== X-Gm-Message-State: AOAM530cF1BrxczeX4RsTS/QkKeAmGmBT6S/lK5arLd8IQYLDjrl523/ RA18pHgqMU0ZTLNi+gu6BO+nJGxx2Rltgw== X-Google-Smtp-Source: ABdhPJxuH5K94XMR19pYP05cjMRB9Q7KjTAQoTwIfGqgCVeDwE3dKA6WgFxqpBNYl2rqszK0RxqJ3w== X-Received: by 2002:a17:907:9806:b0:6f5:f45:8736 with SMTP id ji6-20020a170907980600b006f50f458736mr8528972ejc.731.1651955791345; Sat, 07 May 2022 13:36:31 -0700 (PDT) Received: from fedora.robimarko.hr (cpezg-94-253-144-244-cbl.xnet.hr. [94.253.144.244]) by smtp.googlemail.com with ESMTPSA id eb20-20020a170907281400b006f4c557b7d2sm3283456ejc.203.2022.05.07.13.36.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 May 2022 13:36:31 -0700 (PDT) From: Robert Marko To: agross@kernel.org, jassisinghbrar@gmail.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, mturquette@baylibre.com, sboyd@kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org Cc: Robert Marko Subject: [PATCH v3 6/6] arm64: dts: ipq8074: add APCS node Date: Sat, 7 May 2022 22:36:20 +0200 Message-Id: <20220507203620.399028-6-robimarko@gmail.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220507203620.399028-1-robimarko@gmail.com> References: <20220507203620.399028-1-robimarko@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org APCS now has support for providing the APSS clocks as the child device for IPQ8074. So, add the required DT node for it as it will later be used as the CPU clocksource. Signed-off-by: Robert Marko --- Changes in v3: * Node does not currently exist in the upstream kernel, so add it instead of modifying. --- arch/arm64/boot/dts/qcom/ipq8074.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/ipq8074.dtsi b/arch/arm64/boot/dts/qcom/ipq8074.dtsi index 0bc21b0c177f..271eb733f2c8 100644 --- a/arch/arm64/boot/dts/qcom/ipq8074.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq8074.dtsi @@ -886,5 +886,13 @@ IRQ_TYPE_LEVEL_HIGH>, /* int_c */ "axi_m_sticky"; status = "disabled"; }; + + apcs_glb: mailbox@b111000 { + compatible = "qcom,ipq8074-apcs-apps-global"; + reg = <0x0b111000 0x6000>; + + #clock-cells = <1>; + #mbox-cells = <1>; + }; }; };