From patchwork Tue Dec 1 15:37:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 335134 Delivered-To: patch@linaro.org Received: by 2002:a92:5e16:0:0:0:0:0 with SMTP id s22csp212681ilb; Tue, 1 Dec 2020 07:39:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJyG3ioo17n0rSLIcwFeAn4oPQq5wymmcG1WgV3JvIjPqRiGiZK3I71mjc7yw0E6sPnUlZz2 X-Received: by 2002:a17:906:378f:: with SMTP id n15mr3472003ejc.263.1606837198520; Tue, 01 Dec 2020 07:39:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606837198; cv=none; d=google.com; s=arc-20160816; b=n3/NfVSvWmHJQbKYFoDi4I0KrVzOxxtPBWqeAxvvtgp6DpncV/4m5bNdt3BwZ3nxJO 7UfOVDqbHcW9jyY6ti20XvaHcKQeeF8GWpJDKGKpwzxOZzXrDTxy55BL5VMYhujjoNyR PrjnRm38K9r5V+bB3I535eXWh6U18OntrAswNDXY8lS7TioGCeeTcGxB0A7c2UZHJba1 /23h0MtC5vtFPipTvMlohz66cKbOBuv77OZX0hjRp8GlpcwWOMpUAuyzAWUwwPpD0NCR oLT82NO/st7AnVU9wWZrV0j6SdQQO+oLWbeLYyIR2JD/jXtXCJgQNXRw7nhshocX910V 6dhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=KIHgb8fdd+Pz02Bd0nEwBeV7zsJRfiJajUBhZJqVTbc=; b=qnYX7oZeS//tZxivlIe+UaFwKzX2xhnKiz3zyQTwheQo5DwhUzUgF5kO4lHM+wxjQ3 be1fm5++fyL9RditeaGuW8mZ+n5QueriDkdXYlXfx2LWXgHTDlq4uiF19fB+8XJGSi1X X++Z+rkgOvvHVB6S5ve1PlXHakixiqseiejiXuwjrSDDalD8wCsiXBAfR/iqAUUXzk8F dE4i8D97bzPbV3r0WeYHfpQ+UAVRUTGq6bvZL3/FY7pFenxCf1LN1tx4sinombCkQSru KDIggS95sUhNzPgQ4o0bc93jUdxQIeYvtgQTkxa0HNSL3FNXDUOAaxSLZalnyV9fZwrB ybxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hJ2xUF+i; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l9si104532edi.199.2020.12.01.07.39.58; Tue, 01 Dec 2020 07:39:58 -0800 (PST) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hJ2xUF+i; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391825AbgLAPij (ORCPT + 6 others); Tue, 1 Dec 2020 10:38:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57022 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387663AbgLAPii (ORCPT ); Tue, 1 Dec 2020 10:38:38 -0500 Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5FCFC061A48 for ; Tue, 1 Dec 2020 07:37:25 -0800 (PST) Received: by mail-wm1-x341.google.com with SMTP id h21so6112358wmb.2 for ; Tue, 01 Dec 2020 07:37:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=KIHgb8fdd+Pz02Bd0nEwBeV7zsJRfiJajUBhZJqVTbc=; b=hJ2xUF+iuAw0FHIflFts7a3mYNfAl/QwZOV2gFcw+ZUNMyeLrhFSmRtRQ5axv9lwOz KSYpS7NKx/7txNZYj/t1itXvprHH+dg4/3dzDKMFz4bEgALCsrPYN/KjEADn04z+sDOo wKDQFJZw8qz07eJbqQry3/449zialwZsnQJVqkg5B4mG3vK9acfHOaJB52K+6ehN1uER 0RkF2dNBSvjJmlQeVqTpCGbdmxOOMu/JyYVMPclnxF6KTdHLNkCEK98Uax+/qmfJgrFa q0IG2iYSkp6ZKKPApS8ZcyySMZFrZhGte45NpHwaZsBM7LOGyHPtve1NuPejLwkgpbLh Z22g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=KIHgb8fdd+Pz02Bd0nEwBeV7zsJRfiJajUBhZJqVTbc=; b=fYbzxTw7pof45gsA21Yjm/C+bTrpu/yupzx39DaazkHYIZpjqtqOBGVZOk6+PWkFYI HOegMsz7WGmg+KGHySd4J+GuHDukbm/lqwbbPX0mNOjvpJQbrSvb2hEQillNh6eVqJIi dLQhf7VGi8T02+nH0MfSSwTySMG0ZRO3x0Pdo8pNECEAPIeWd1UL+IEcDZ6LTjvEurSr NrjS/t2EdNVUL0t+puD5sNERGi1PiFjrovIppUq6j6dPNi9HrqXXjolDC8cQ8JLbH9+P EVJGDFRi8sSfy51vryvvQ40louSb57vSVmo9BX/6wP5LBcbwfnogrcK/5MTHyuQXRxA5 xoIg== X-Gm-Message-State: AOAM532sBJOAcF5+jSN39vhWj9xALr6DJLRK33e4xaZKz03rGlvW0rvg gAJKkywOjt05gbJ2YuYvf8vtb2M46kCczzQo X-Received: by 2002:a1c:bc02:: with SMTP id m2mr3235175wmf.59.1606837037869; Tue, 01 Dec 2020 07:37:17 -0800 (PST) Received: from srini-hackbox.lan (cpc86377-aztw32-2-0-cust226.18-1.cable.virginm.net. [92.233.226.227]) by smtp.gmail.com with ESMTPSA id y7sm302171wmb.37.2020.12.01.07.37.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Dec 2020 07:37:17 -0800 (PST) From: Srinivas Kandagatla To: bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, agross@kernel.org, robh+dt@kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Srinivas Kandagatla Subject: [PATCH 2/6] arm64: dts: qcom: sm8250: add audio clock controllers Date: Tue, 1 Dec 2020 15:37:02 +0000 Message-Id: <20201201153706.13450-3-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20201201153706.13450-1-srinivas.kandagatla@linaro.org> References: <20201201153706.13450-1-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add audiocc and aoncc clock controller nodes required for audio on RB5. Signed-off-by: Srinivas Kandagatla --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) -- 2.21.0 diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index 3b4e98b13d36..ec5b53b8f656 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -6,6 +6,8 @@ #include #include #include +#include +#include #include #include #include @@ -2585,6 +2587,26 @@ ; }; + audiocc: clock-controller@3300000 { + compatible = "qcom,sm8250-lpass-audiocc"; + reg = <0 0x03300000 0 0x30000>; + #clock-cells = <1>; + clocks = <&q6afecc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&q6afecc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&q6afecc LPASS_CLK_ID_TX_CORE_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>; + clock-names = "core", "audio", "bus"; + }; + + aoncc: clock-controller@3380000 { + compatible = "qcom,sm8250-lpass-aoncc"; + reg = <0 0x03380000 0 0x40000>; + #clock-cells = <1>; + clocks = <&q6afecc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&q6afecc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&q6afecc LPASS_CLK_ID_TX_CORE_NPL_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>; + clock-names = "core", "audio", "bus"; + }; + adsp: remoteproc@17300000 { compatible = "qcom,sm8250-adsp-pas"; reg = <0 0x17300000 0 0x100>;