From patchwork Mon May 3 14:54:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Moon X-Patchwork-Id: 12236129 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.9 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, UNWANTED_LANGUAGE_BODY,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9FE28C433ED for ; Mon, 3 May 2021 14:59:17 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 032A761166 for ; Mon, 3 May 2021 14:59:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 032A761166 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=c3dXklFeF0BCbAPcetmP79DMBcuv85zSzMkSWH72P54=; b=eOhRoj6uMTusMdZnPl7Gjis/M AkpgcEiQ8gBG/K9/RFkmZHtTilG4jokQkQbZPIIJnYD3EiNc2QcD52jOxTYt/66xLHOZsabbEwuhw etpDLxAt8OM9YgHk5PHK6ELtZfiP8fALFXyCRr6w6d+u5pTOTV+L9AUiecDAvSu7yL9hECSf0xI13 zIZyK4tKOKMNlxMvQ0G+YsKuIuLGdiadFnpnUlx5uVIx61rq/Yv0P/HEfZ+ChvzDfWheHjkb3X0IJ NOGucq4Qu+VhB6weqWid0+TqNjb+S7m+q6YliJ3cVuSq92K6r8TjiVRoh3Q2PUnN6mFrQf/LT9Fny R0OeKhgMQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lda2M-00E93j-2X; Mon, 03 May 2021 14:59:06 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lda18-00E8or-9O; Mon, 03 May 2021 14:57:53 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=a1fdsn/UqipHakxIGXIN7yVeQcOHlVqXqVo8GiLuBOY=; b=wbOFdt8oZTb33N8J08Ub4GdcIi BoP+dENMLL70FYxcE9992T/lJW+WagKIMewNStplMFMxiN4wSBBTxWJgISgiSMPFpRfubzUsDqgkz D/hd92BFGspaLqeRoF0LoLQ7U155SFm/5eHwmy4JDq8Le8X5nDP5wv0PLjNt8cRbj471COrFg+Aek Gey1SxEYbjVHemn/ubuICMLvjkLdvkcJJ7LnarHMdgV44ldvOG5QuEx5q1Qr345/Y8moQX5awxmxo hcw/f06BJ4rZm/6zDNhOxLbK7MAi4cYAwzBXgLhBG7/B8LENZb5Tkuf+Zd2WWMj+mexlbbeJSol0i 5sRUxK2g==; Received: from mail-pg1-x52b.google.com ([2607:f8b0:4864:20::52b]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lda15-0039Fi-QC; Mon, 03 May 2021 14:57:49 +0000 Received: by mail-pg1-x52b.google.com with SMTP id y30so3811447pgl.7; Mon, 03 May 2021 07:57:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=a1fdsn/UqipHakxIGXIN7yVeQcOHlVqXqVo8GiLuBOY=; b=sK9V6pUTJjDj8PitUOzz8v0oR3NrpgGdQSiWY+mIZkQHOd4JDGv2mlbSzWzfQEGXkv NvX0haqQB11zldQr1PH+nnlWGCQ1hWVPe3zWNq3SVmAX75l7pZNAQnt/zCRnNqcGCBvx SKMC2ny41vH1kHP7dAQGKLoc8uSGmrP8Vb8pRDazdxi4yhPNMOQSA6S/rw7J1kGdiJdk UKeYNGcr3mQBdqPqqmc1SGPK0Jri12G3eWjJ/0wSdSbd7BXCDLRjQfNXRzqNhAQoX1BM 9xfqY7Ygn5luvURPcajJqOs5QeZg3SAIz6Py+RKtSujJmOLyecA8y9Sjqsb2oburd9W5 133w== 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=a1fdsn/UqipHakxIGXIN7yVeQcOHlVqXqVo8GiLuBOY=; b=lFTSW9DkzUhkc+NdanT7s0e6F/+XjLdszbrZjpMZoIJhkt+Jc1zLYD6Bca9SXT1m8R dQEN58znbevrjS52n3aaXk2u0avgj9Ho1oSRyJbDgx5rqXyP8kVpj+t9HHlj1qzC/Ypg cPcN0QCwoWtf8zbxlukIJtZj4iiUIgzDCvrSfATvUKts7sAn6iaCXjeVemxR4ETEhEzQ KH+ABic7xStifdZehzutlRwglx38BZAdc8ym+a5BlsVrF7mUQRl5bWvK3b+oWxjbPr+o H4F560xuX1KXIZsWmMZroXD6fD1Ehkz1ZUEQKbfl4oK6MPOF+5N8eM2plPXKs5pnPaBg bOQQ== X-Gm-Message-State: AOAM5316byyyCoerGevhxstPCbkOs8/2nWQtZtUNvgx83r/Zo/2pHTsu uxUVXO8gSGWrIOvPkupymS8= X-Google-Smtp-Source: ABdhPJxWCYkbaDXB7lShNp5YSQak8Y4u1zB4HvVTJzzZ533GuVksci3JwIe/BUdFxMrUyDuTb51u0A== X-Received: by 2002:a65:4c89:: with SMTP id m9mr18333911pgt.330.1620053866701; Mon, 03 May 2021 07:57:46 -0700 (PDT) Received: from archl-on2.. ([103.51.75.154]) by smtp.gmail.com with ESMTPSA id k38sm3593983pgi.73.2021.05.03.07.57.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 May 2021 07:57:46 -0700 (PDT) From: Anand Moon To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Anand Moon , Neil Armstrong , Rob Herring , Kevin Hilman , Jerome Brunet , Martin Blumenstingl Subject: [PATCHv1 1/9] soc: amlogic: meson-ee-pwrc: Add audio power domain Meson g12a and g12b SoCs Date: Mon, 3 May 2021 14:54:34 +0000 Message-Id: <20210503145503.1477-2-linux.amoon@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210503145503.1477-1-linux.amoon@gmail.com> References: <20210503145503.1477-1-linux.amoon@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210503_075747_867882_2BCF487B X-CRM114-Status: GOOD ( 12.92 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org As per the S922X datasheet add audio power domain controller for Meson g12a and g12b SoCs. Cc: Neil Armstrong Signed-off-by: Anand Moon --- drivers/soc/amlogic/meson-ee-pwrc.c | 5 +++++ include/dt-bindings/power/meson-g12a-power.h | 1 + 2 files changed, 6 insertions(+) diff --git a/drivers/soc/amlogic/meson-ee-pwrc.c b/drivers/soc/amlogic/meson-ee-pwrc.c index 50bf5d2b828b..2e07ddf2d6a6 100644 --- a/drivers/soc/amlogic/meson-ee-pwrc.c +++ b/drivers/soc/amlogic/meson-ee-pwrc.c @@ -154,6 +154,10 @@ static struct meson_ee_pwrc_mem_domain gxbb_pwrc_mem_vpu[] = { VPU_HHI_MEMPD(HHI_MEM_PD_REG0), }; +static struct meson_ee_pwrc_mem_domain meson_pwrc_mem_audio[] = { + { HHI_MEM_PD_REG0, GENMASK(5, 4) }, +}; + static struct meson_ee_pwrc_mem_domain meson_pwrc_mem_eth[] = { { HHI_MEM_PD_REG0, GENMASK(3, 2) }, }; @@ -252,6 +256,7 @@ static struct meson_ee_pwrc_domain_desc axg_pwrc_domains[] = { static struct meson_ee_pwrc_domain_desc g12a_pwrc_domains[] = { [PWRC_G12A_VPU_ID] = VPU_PD("VPU", &gx_pwrc_vpu, g12a_pwrc_mem_vpu, pwrc_ee_get_power, 11, 2), + [PWRC_G12A_AUDIO_ID] = MEM_PD("AUDIO", meson_pwrc_mem_audio), [PWRC_G12A_ETH_ID] = MEM_PD("ETH", meson_pwrc_mem_eth), }; diff --git a/include/dt-bindings/power/meson-g12a-power.h b/include/dt-bindings/power/meson-g12a-power.h index bb5e67a842de..1cf20e4e412e 100644 --- a/include/dt-bindings/power/meson-g12a-power.h +++ b/include/dt-bindings/power/meson-g12a-power.h @@ -9,5 +9,6 @@ #define PWRC_G12A_VPU_ID 0 #define PWRC_G12A_ETH_ID 1 +#define PWRC_G12A_AUDIO_ID 2 #endif From patchwork Mon May 3 14:54:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Moon X-Patchwork-Id: 12236131 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9BECDC433B4 for ; Mon, 3 May 2021 15:00:02 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E3D4961166 for ; Mon, 3 May 2021 15:00:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E3D4961166 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=+VddIlA9exOjjm56CJ/KG9jll801I3N/RTMJ7GTNwIU=; b=lkCAhOv4G0Rhb5F8XFXRsHRkp /EmSBYefSqoJMAW+AyvJ6ndHB3r+TnOH2Kf5daDvyE+iqygGpPEikBe/dbQGqd+kdqSgbNZ/qCHy6 osNvT4jyGOXDfpDh6gqWKzuVmNw5Yol2eucAaQ5WdAlGxNpjJKf2NBEYy2wJ2TOeXzsaBG7gFp3wk YE2trAefC71RdRIdeKyK26koQOC5BoCjZz4msXMQfJeOKoPGgteMATpWsqUXfxsg8jwb+PzWnZ07H WVKNvuG97kV1eiRSnVhn1SY2dqIW6jnRWHeYp+ya+8CQMS2LLtuBC64KHwUhWc6RzxdCqdzAohn2Q WTJvzvxbw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lda37-00E9GY-Lu; Mon, 03 May 2021 14:59:53 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lda1Y-00E8uH-EW; Mon, 03 May 2021 14:58:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=vRW0z6o62j2Rv6stuOnNguxxqbJxgi3ojoBSOT6id5I=; b=wdilrH0FeMa7HcDft5buNmpRTT VuZ7QO5DTpUR5ArV112IkL1fC68uOZgalnEWWz2HhWW9cscJkgmqNr9FpNZghkLe+yVrqDyKkDsju N7F8l3KWEoRpTHHFh2H/wOKHzeFjx09xsH0c1dv+x6vKzqsUIzPM8dji01geJ3EFn/b89d56ba6Kg 8aJ9l+HPMtxW8XEmy3CGfkoWP/tGQvJyIOsGBx08sYWbrQWi3k3UvV+xaQcFuPAOIUOM+J/PEFKNO +OV7ZWVodKXAoOObYOWc1APSSxKjLASVTuKRxoIBHJ95ScSvyBNNRe+vH7k+VLphCq/ksp7AryUE4 7Q6BfG8w==; Received: from mail-pj1-x102b.google.com ([2607:f8b0:4864:20::102b]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lda1V-0039HA-MK; Mon, 03 May 2021 14:58:15 +0000 Received: by mail-pj1-x102b.google.com with SMTP id gc22-20020a17090b3116b02901558435aec1so3502939pjb.4; Mon, 03 May 2021 07:58:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=vRW0z6o62j2Rv6stuOnNguxxqbJxgi3ojoBSOT6id5I=; b=E1l7I2OZq0m5k+wR5en1GXGQ2k//0/zMXkQLeNcSvDD9aHIxK7wFsBnKW8S/GqOthq kpwPW1LjF2lRY3MCn+YFKZwlvr5sxz+njK7hftSHv8imbbdPLa9hqPr8TvoubIDHP8uD 3Edela3tN5gualI+5lLw/MoU1XdzNb1U36/7mmwkN+1Cr8dFlsLvEqrv8ITtTQP+sCeV O71OFTc91ECUatQkrfnli8Er2/0KmzgVjThRNg+j4wAnbFqY1ipDVZAmEjolhEV9LKkE qLZ4t91A0Ix5GCBgXNKa47rfq7AKeU9EwCkYwQKAssi7CfcSAv+gptmMsm2AsO1zyRfg 814g== 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=vRW0z6o62j2Rv6stuOnNguxxqbJxgi3ojoBSOT6id5I=; b=Rb6lEfF54TLEqt1zaXFkuqZyCbfU8vYtsBd6rJnCCSrfKjqv+Kz+DCOHlDvuSJO/YT q4zBrxDuRiKMwiEUmYTlH2AkzbtciFIf981vuX2DXAZVIyjvjXaOAtU7IpZdKKe7OQsG n/T0CZBX/LmVpdh8g9yEfwh8naNXnf7eOPA6+7swdpWGXLdR75VX2a7TSuSLNokDKwWw MX+qPYb+og0UJLIAyMdVE1m6kOAVpL66zWyqAZt15Z8kyLkZHYptkmYx9k3bwMDha0w2 EHfcnXHMfwe8/lb5ng29tMD5bnIlMOHOsDeve+Q4tNNEMbDlWrDPtpU86S5o0Gx0lzgp sGAg== X-Gm-Message-State: AOAM531/yHTdIzNBosIhpGIB9bl0OA52H0bhF+qyW+CnNfaXdqTqvjm0 AHcXLqPT1WHfxwZ99tDAHwA= X-Google-Smtp-Source: ABdhPJxdH8shFvNDWBfe4hBmSWExpR/lT3D5XRXibkmmvQaUQvlFlgIk4vF6l7dDVeQwG2M+l87IrQ== X-Received: by 2002:a17:90a:e005:: with SMTP id u5mr22338268pjy.127.1620053892697; Mon, 03 May 2021 07:58:12 -0700 (PDT) Received: from archl-on2.. ([103.51.75.154]) by smtp.gmail.com with ESMTPSA id k38sm3593983pgi.73.2021.05.03.07.58.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 May 2021 07:58:11 -0700 (PDT) From: Anand Moon To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Anand Moon , Rob Herring , Kevin Hilman , Neil Armstrong , Jerome Brunet , Martin Blumenstingl Subject: [PATCHv1 2/9] arm64: dts: amlogic: Add audio power domain for g12a and g12b Date: Mon, 3 May 2021 14:54:35 +0000 Message-Id: <20210503145503.1477-3-linux.amoon@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210503145503.1477-1-linux.amoon@gmail.com> References: <20210503145503.1477-1-linux.amoon@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210503_075813_748571_A5F6B48C X-CRM114-Status: GOOD ( 10.87 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org Add audio power domain id for sound on g12a and g12b sbc to enable audio power domain via "pwrc" controller. Signed-off-by: Anand Moon --- arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts | 1 + arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts | 1 + arch/arm64/boot/dts/amlogic/meson-g12b-gsking-x.dts | 1 + arch/arm64/boot/dts/amlogic/meson-g12b-gtking-pro.dts | 1 + arch/arm64/boot/dts/amlogic/meson-g12b-gtking.dts | 1 + arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi | 1 + arch/arm64/boot/dts/amlogic/meson-g12b-ugoos-am6.dts | 1 + 7 files changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts b/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts index 81269ccc2496..24599f448564 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts +++ b/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts @@ -217,6 +217,7 @@ sound { assigned-clock-rates = <294912000>, <270950400>, <393216000>; + power-domains = <&pwrc PWRC_G12A_AUDIO_ID>; status = "okay"; dai-link-0 { diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts b/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts index 579f3d02d613..1c821800514a 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts +++ b/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts @@ -167,6 +167,7 @@ sound { assigned-clock-rates = <294912000>, <270950400>, <393216000>; + power-domains = <&pwrc PWRC_G12A_AUDIO_ID>; status = "okay"; dai-link-0 { diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-gsking-x.dts b/arch/arm64/boot/dts/amlogic/meson-g12b-gsking-x.dts index 6c7bfacbad78..99ed165a41c9 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12b-gsking-x.dts +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-gsking-x.dts @@ -49,6 +49,7 @@ sound { assigned-clock-rates = <294912000>, <270950400>, <393216000>; + power-domains = <&pwrc PWRC_G12A_AUDIO_ID>; status = "okay"; dai-link-0 { diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-gtking-pro.dts b/arch/arm64/boot/dts/amlogic/meson-g12b-gtking-pro.dts index 707daf92787b..6bcc4685e65b 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12b-gtking-pro.dts +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-gtking-pro.dts @@ -58,6 +58,7 @@ sound { assigned-clock-rates = <294912000>, <270950400>, <393216000>; + power-domains = <&pwrc PWRC_G12A_AUDIO_ID>; status = "okay"; dai-link-0 { diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-gtking.dts b/arch/arm64/boot/dts/amlogic/meson-g12b-gtking.dts index 5d96c1449050..555524cd50f2 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12b-gtking.dts +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-gtking.dts @@ -45,6 +45,7 @@ sound { assigned-clock-rates = <294912000>, <270950400>, <393216000>; + power-domains = <&pwrc PWRC_G12A_AUDIO_ID>; status = "okay"; dai-link-0 { diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi index 344573e157a7..e99533dd64c2 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi @@ -258,6 +258,7 @@ sound { assigned-clock-rates = <294912000>, <270950400>, <393216000>; + power-domains = <&pwrc PWRC_G12A_AUDIO_ID>; status = "okay"; dai-link-0 { diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-ugoos-am6.dts b/arch/arm64/boot/dts/amlogic/meson-g12b-ugoos-am6.dts index 0c7892600d56..4b12685af1ad 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12b-ugoos-am6.dts +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-ugoos-am6.dts @@ -40,6 +40,7 @@ sound { assigned-clock-rates = <294912000>, <270950400>, <393216000>; + power-domains = <&pwrc PWRC_G12A_AUDIO_ID>; status = "okay"; dai-link-0 { From patchwork Mon May 3 14:54:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Moon X-Patchwork-Id: 12236133 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.9 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, UNWANTED_LANGUAGE_BODY,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 408E9C433ED for ; Mon, 3 May 2021 15:00:36 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 88E6F611CB for ; Mon, 3 May 2021 15:00:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 88E6F611CB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=1s84mxOoMUDPnDeRKXWVn6/eX06OuNc9323oRL3xdeY=; b=O8ZgUifuF2ETAI9h75037xqO6 MQYdgFzckyreVzZNbUDSmevCDn06E2fzCpVY2bYBJKyEqoLjmxKCXTaYrwllCQgcvLsWdfhAzVT4r SsMEg0lQaAo8eYhKjQbhXur64p5j3uAZpkWWOKqAF+zbb9ehGv8MQXKuR8UvuF2KE4mR0UtomLbwE vnES8GCsU6SJAlcPDnhnmeXFBWGjCnyUi3gIY4NoNqJUlTrql1z8RSVsiQPrM+a9ILRgK40Xi4pE+ tWKJYAXio04rZXz91RyyV62oRXyZTPLk6q+Umu7AhQ0E9OOcJqEDa/nqUb2Pe2+1BI3tk2e84Zrtq Lz8C/c1zw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lda3i-00E9QS-CM; Mon, 03 May 2021 15:00:30 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lda1w-00E90c-K3; Mon, 03 May 2021 14:58:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=8e82Fw8ZdhiWxmWRJT09dHY82V2CPKcFuKG3LSkUO+s=; b=b1Bjv9E0WHPtDO5biT4vQ5q8xw +1lXpL6rkKw9Fu7mrBfizDPYv2aHldvtGDhP2yF5hMqZQiE9cRL2sSK4ZMzbmzqwNAOV8ZsxCOIVM AMyR4YI4oPcSZhNfkqSFKW7gMbpDmZDJOVx+yEiY80XUDQ3AW6QagBPnhe/xG6ZmOSmLea8jPoAxP UmHTLPKg4G0k+yB7MD27TlblPI5oKXmxX2hN8tRqCfhPwMVQBMdv/wm7KH2d7DsPJK+JLszeEQlGX 9hY0nfSxnzwGi7nF7Yg8tX9FV1GoLB8q4usxRFiWISErvWZy2kQIiDw61f99+Q/GdSdUSANcaGXDg ieqzjMaw==; Received: from mail-pl1-x633.google.com ([2607:f8b0:4864:20::633]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lda1u-0039Ia-3B; Mon, 03 May 2021 14:58:39 +0000 Received: by mail-pl1-x633.google.com with SMTP id t4so2184748plc.6; Mon, 03 May 2021 07:58:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=8e82Fw8ZdhiWxmWRJT09dHY82V2CPKcFuKG3LSkUO+s=; b=o/s/ipX6lhIS0rkr1BNOrxZHkysLFiZsXMj2JKwLYw5n1HbW5DuV1LytOawGwV7FXC TLHg7gI83DM87ny6EZnlxTIfGPogEIgj/0sE98YtARI0s0zD/NjJo4QyonIxN132LVH/ Sw37NW0HGqPKs93MBoO9ZzE12qujiTSe3S9JtAsAC7GHgH/M2pfypBUEK7zlZUranjW0 9WBLE4a9vjVx/VGvpgpNLe7ewI6wesroGWal1slHu8ZNPqfYz2u+vjhDZVjizw5SrcBI CPrNWzbHVpcvrC1Hk9vWkE99Q3Iblf5yIC2Ulth7wdisqjr5yOFdg9xh6RKqMQyIPgAn 3OXg== 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=8e82Fw8ZdhiWxmWRJT09dHY82V2CPKcFuKG3LSkUO+s=; b=D51c4DBq/++S+zUo2tXgVNOsMhW6sle8SPZkQ6pQWnruB31bmLkuHhS/ztWGyeprS6 C4+RATEiUJHqKcDaH6WN8AYNo7PXzOu8tXtk2bVA6O7KvHbYzte8bS2H046a9CQP56m4 Uh2a0b+d4dImhcxa4heoRYjRgSf/SkspgpizWoBN0/LrfiGf80elZpFh/7fqvkPry3/c GdUANrVF2lYYDlhIGk0vmJ5zamSHZ4vJerhPplbxy0A9hiD/hGneISjGFBlPOzERdh92 m/2KhOiyMYIgncUQHHrWzkjSvNCXIR/50cFuW/3Lg1nhLkQqAzU578uznlzqa97yayzT 0m0w== X-Gm-Message-State: AOAM533L+jQIhW0OhmI58rLhgy34t4/Fx062BzTis3NNxWaCnM3mENKZ S695H3do4cFy/hDhJBXGbD4= X-Google-Smtp-Source: ABdhPJwYew63gOdTQpo4q/72kTglfh0y15sgwTWm2nNlWUMZpJk2lj3OWE7N/OxC8HCNU3f2lggysg== X-Received: by 2002:a17:90a:a2e:: with SMTP id o43mr30532107pjo.163.1620053917551; Mon, 03 May 2021 07:58:37 -0700 (PDT) Received: from archl-on2.. ([103.51.75.154]) by smtp.gmail.com with ESMTPSA id k38sm3593983pgi.73.2021.05.03.07.58.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 May 2021 07:58:37 -0700 (PDT) From: Anand Moon To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Anand Moon , Neil Armstrong , Rob Herring , Kevin Hilman , Jerome Brunet , Martin Blumenstingl Subject: [PATCHv1 3/9] soc: amlogic: meson-ee-pwrc: Add hdmi power domain Meson g12a SoCs Date: Mon, 3 May 2021 14:54:36 +0000 Message-Id: <20210503145503.1477-4-linux.amoon@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210503145503.1477-1-linux.amoon@gmail.com> References: <20210503145503.1477-1-linux.amoon@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210503_075838_159834_15F7E646 X-CRM114-Status: GOOD ( 12.78 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org As per the S922X datasheet add hdmi power domain controller for Meson g12a and g12b SoCs. Cc: Neil Armstrong Signed-off-by: Anand Moon NACKed-by: Martin Blumenstingl --- drivers/soc/amlogic/meson-ee-pwrc.c | 5 +++++ include/dt-bindings/power/meson-g12a-power.h | 1 + 2 files changed, 6 insertions(+) diff --git a/drivers/soc/amlogic/meson-ee-pwrc.c b/drivers/soc/amlogic/meson-ee-pwrc.c index 2e07ddf2d6a6..ec402c4ab931 100644 --- a/drivers/soc/amlogic/meson-ee-pwrc.c +++ b/drivers/soc/amlogic/meson-ee-pwrc.c @@ -154,6 +154,10 @@ static struct meson_ee_pwrc_mem_domain gxbb_pwrc_mem_vpu[] = { VPU_HHI_MEMPD(HHI_MEM_PD_REG0), }; +static struct meson_ee_pwrc_mem_domain meson_pwrc_mem_hdmi[] = { + { HHI_MEM_PD_REG0, GENMASK(15, 8) }, +}; + static struct meson_ee_pwrc_mem_domain meson_pwrc_mem_audio[] = { { HHI_MEM_PD_REG0, GENMASK(5, 4) }, }; @@ -256,6 +260,7 @@ static struct meson_ee_pwrc_domain_desc axg_pwrc_domains[] = { static struct meson_ee_pwrc_domain_desc g12a_pwrc_domains[] = { [PWRC_G12A_VPU_ID] = VPU_PD("VPU", &gx_pwrc_vpu, g12a_pwrc_mem_vpu, pwrc_ee_get_power, 11, 2), + [PWRC_G12A_HDMI_ID] = MEM_PD("HDMI", meson_pwrc_mem_hdmi), [PWRC_G12A_AUDIO_ID] = MEM_PD("AUDIO", meson_pwrc_mem_audio), [PWRC_G12A_ETH_ID] = MEM_PD("ETH", meson_pwrc_mem_eth), }; diff --git a/include/dt-bindings/power/meson-g12a-power.h b/include/dt-bindings/power/meson-g12a-power.h index 1cf20e4e412e..900924d17798 100644 --- a/include/dt-bindings/power/meson-g12a-power.h +++ b/include/dt-bindings/power/meson-g12a-power.h @@ -10,5 +10,6 @@ #define PWRC_G12A_VPU_ID 0 #define PWRC_G12A_ETH_ID 1 #define PWRC_G12A_AUDIO_ID 2 +#define PWRC_G12A_HDMI_ID 3 #endif From patchwork Mon May 3 14:54:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Moon X-Patchwork-Id: 12236135 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 060BDC43461 for ; Mon, 3 May 2021 15:01:15 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5F234611CD for ; Mon, 3 May 2021 15:01:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5F234611CD Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=BNI4IJM7FJ81DTqB9twP4AQNziE996JKKzp43BiPPJU=; b=d3gv+t4IHYl+5wyGC/QrV3z0j j6crcyhu9KOTvRD4Xs9wJMTuGqGr6bw01KIBLw/YMN4HRDiyz3R8ytIO57bCVCfmIEUo4cmgfwq/Y fpoTn8qIipXAWYXo4jpOXLtOCD8OJUG6MMURZg3svvMaFr9KN6jyK4BrIeRwe0znO2SluDjT4bTVl 0uNy337V6k7C9bPm6OH/y0Ykdxr0nV1nxfHgE3se+S3ddGR5N4bRyGV3Lgev6onfADioY+YspLbZ2 EBX24VFGz2OYIKGXsJ9zLnoKs/0kCfFvc9MM6KbwPmp/Gyg/lFrK3+fwRo/LLtIX7ASNC5NEXnxz8 0Q5+kv5WA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lda4H-00E9ZX-7h; Mon, 03 May 2021 15:01:05 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lda2O-00E95U-Ax; Mon, 03 May 2021 14:59:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=T8p4SUJLNthax2VMMiUlx/ciMxgy2stQoSBLgzmRg+g=; b=ql8BG5REJjH97rTN3LLPnmHpQz G3WUj0WISk4pVar80qKh61ce8Rjs+u+z5O+9WvBMU6MClPWu+sPWtrHEQv648DRl57E6F5zo/NC1b AJusc3m/qmFP5mryTSGQAmh1Zg7NkpYvwhlbPAAUlHJ4WGRejQy/mci2D9XxEhTz9hzUD20netYIU xy5y2v6l5qf3eQHd5Vzo1ZfPEsJ+vb0nM01coYdFUVFEFIrV99x0qtjm3ymvlYZ2WVOzoU0vkE1nW P9UC6AVbAQgivemIlYqAYuqgstFoX9+2voH+YxmSq8Ig0+xlSSLwxQEvTuMbQm2sa1R9vlPURYZdY rSa2RI/A==; Received: from mail-pf1-x433.google.com ([2607:f8b0:4864:20::433]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lda2L-0039JX-39; Mon, 03 May 2021 14:59:07 +0000 Received: by mail-pf1-x433.google.com with SMTP id v191so4327654pfc.8; Mon, 03 May 2021 07:59:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=T8p4SUJLNthax2VMMiUlx/ciMxgy2stQoSBLgzmRg+g=; b=Gyh63uTqoLi7xsgZ8KFZaHgp195t2COs1Khr7pQ3v3A9jLYYZQXEjcWBtTUufMCcfB W+GO0ZWMoDybJX7KCZd3BvRgPKHGqObtZS/baocMeDHNKRejFzLpDpH03rmoAo9Ca8J4 Et5Efebw+4X+iPhyk/c8HzcbHm2HU/mgfR2BBicvP4BqMMCNGRtKQHtsbWsXoRZU+wGs 6bhrQqefGjajYe+bz4iYSeZbx08Xb9YUOhdq+M1LnYK4uJxIdeUns1UP4BP6dSUfvwwm AinFqwNIFo5hNk6AbN8hUjRnkEIMhvggISNVNBLDUD47dsf+Za8Aga0RHXMu033ayhgM jL9Q== 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=T8p4SUJLNthax2VMMiUlx/ciMxgy2stQoSBLgzmRg+g=; b=h3I9GwGPIYB2nGrgd8gLX1qSBtdCC4+rzcSwFvGWEaWw6TDfMdEZZghjBojAG331Hn 8dk54ZV5zh/2trYr7pVUh+qNpmLB1lKUbhlACwnkxSlT0wVP85KbieEtWzj7+cwecsyv cyDjZw42UbJc0Ny/Vn70vgFtIXZ2JQ3kni5CIosfkrXXN3ue9U+fdisl888UkFAb7+Js CVsINZlu4lQK6WvOngy5Boct4SvGspf56bcy6gdTGuRSqXdfq5m6MorX0OlI3Z6vIQMd gECSWXehId7mJYXQFEETHgPd3N67gkzuD8S2NGQpLzomA/JMR40Tl/KufYWKxM7RnXhr +BLw== X-Gm-Message-State: AOAM5326llhIHQoQuJwEA1Vocau0g8/s+NW99bBP+si8/NzgwNdBKRb3 ShFHKORoI5OhgI7O472yG7Y= X-Google-Smtp-Source: ABdhPJyTCiMr85dToL7W7xU2vb4Qpo5Ks5YqJPeyX7+h1d8WLSi2KDlGbuhXJN3MMLzCNr93NeBiLw== X-Received: by 2002:a63:1c02:: with SMTP id c2mr18586031pgc.195.1620053942631; Mon, 03 May 2021 07:59:02 -0700 (PDT) Received: from archl-on2.. ([103.51.75.154]) by smtp.gmail.com with ESMTPSA id k38sm3593983pgi.73.2021.05.03.07.58.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 May 2021 07:59:02 -0700 (PDT) From: Anand Moon To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Anand Moon , Rob Herring , Kevin Hilman , Neil Armstrong , Jerome Brunet , Martin Blumenstingl Subject: [PATCHv1 4/9] arm64: dts: amlogic: Add hdmi power domain for g12a and g12b Date: Mon, 3 May 2021 14:54:37 +0000 Message-Id: <20210503145503.1477-5-linux.amoon@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210503145503.1477-1-linux.amoon@gmail.com> References: <20210503145503.1477-1-linux.amoon@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210503_075905_587115_6BF971A0 X-CRM114-Status: GOOD ( 10.91 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org Add hdmi power domain id for hdmi on g12a and g12b sbc to enable hdmi power domain via "pwrc" controller. Signed-off-by: Anand Moon --- arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts | 1 + arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts | 1 + arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts | 1 + arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi | 1 + arch/arm64/boot/dts/amlogic/meson-g12b-w400.dtsi | 1 + 5 files changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts b/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts index 24599f448564..23de424b58ee 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts +++ b/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts @@ -373,6 +373,7 @@ &hdmi_tx { status = "okay"; pinctrl-0 = <&hdmitx_hpd_pins>, <&hdmitx_ddc_pins>; pinctrl-names = "default"; + power-domains = <&pwrc PWRC_G12A_HDMI_ID>; }; &hdmi_tx_tmds_port { diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts b/arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts index a26bfe72550f..4a8b3bc07151 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts +++ b/arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts @@ -208,6 +208,7 @@ &hdmi_tx { pinctrl-0 = <&hdmitx_hpd_pins>, <&hdmitx_ddc_pins>; pinctrl-names = "default"; hdmi-supply = <&vcc_5v>; + power-domains = <&pwrc PWRC_G12A_HDMI_ID>; }; &hdmi_tx_tmds_port { diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts b/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts index 1c821800514a..09ce4a95ed7e 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts +++ b/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts @@ -309,6 +309,7 @@ &hdmi_tx { status = "okay"; pinctrl-0 = <&hdmitx_hpd_pins>, <&hdmitx_ddc_pins>; pinctrl-names = "default"; + power-domains = <&pwrc PWRC_G12A_HDMI_ID>; hdmi-supply = <&vcc_5v>; }; diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi index e99533dd64c2..2ac7cdcd622a 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi @@ -510,6 +510,7 @@ &hdmi_tx { status = "okay"; pinctrl-0 = <&hdmitx_hpd_pins>, <&hdmitx_ddc_pins>; pinctrl-names = "default"; + power-domains = <&pwrc PWRC_G12A_HDMI_ID>; hdmi-supply = <&vcc_5v>; }; diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-w400.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-w400.dtsi index feb088504740..f8ff459cff78 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12b-w400.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-w400.dtsi @@ -286,6 +286,7 @@ &hdmi_tx { status = "okay"; pinctrl-0 = <&hdmitx_hpd_pins>, <&hdmitx_ddc_pins>; pinctrl-names = "default"; + power-domains = <&pwrc PWRC_G12A_HDMI_ID>; hdmi-supply = <&vcc_5v>; }; From patchwork Mon May 3 14:54:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Moon X-Patchwork-Id: 12236137 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 23E6DC433B4 for ; Mon, 3 May 2021 15:01:48 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7C2D1610A0 for ; Mon, 3 May 2021 15:01:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7C2D1610A0 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=dEV6oonHjicA1QAfvr3Cv2kBHhEhwP96voMomzs6La0=; b=Tq1/EMQzeDJsNKsMb+vUK+rQM Jgx2CHy034M1xc9XCX8QwaYTsSe7MnSfegbiufsiQ8qVYiPbnFlcrZX+jGQfSb3QidiNiLlyEv0hJ GOwB09T555EEdv5NhJR/hTDRHjb1tSHt/35jCF9Ux5VmdnYsdHdLoYScNcmwcps+1YVTHRPoVZny6 MDJt4Ce05lv0eLUnYFsEc3VYXv4QUzX8NbNIuAExFIHijQyt1+ZiPwaWJyTbkwzxGzS+2cBK9Y0mA SCTCbtfKw9aBLPFmdUsZBcf1zpZf8hkkji20RYnvR3TQy41t6JzL7gt8J+41zKRc9mS8z+kuRl4hb q0iQVgMew==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lda4s-00E9kA-88; Mon, 03 May 2021 15:01:42 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lda2l-00E9Af-7k; Mon, 03 May 2021 14:59:32 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=GXN6lwbGsWsgi+duQg1bgSlBiOoKXOf+TIMtVpvr234=; b=m2bBMtFfHSse7IqpcRRjN0+Wyp 9iO0z+58w7FpqsMxbByTqOtEuItmzWBJLlMOJ9zGsO9Ncmqi8BnAoknmkJMJZp3ccbhNqejnDcAC8 1ICSv6a1hQ+PzcZNAEf5NAeWS08ogkgHtkQkX08ZR+gsHXK566K6v8zpTVLvzlbMPs0S4x0TScnmq 24WoYy5/GamWKTmqEY0fvzm/XnVL2QU6E0172GCCgMYWRWV8tLgf2LmjqObwHLqE8vdTVLq59nO8O TOXU0Yijz8fzGUlSzCveb01AYAOpzMLe929dXJK4UVxbQPit7LU5XaVVNkev+zjezQbmFQgNmkJH3 AZuCJedA==; Received: from mail-pg1-x52d.google.com ([2607:f8b0:4864:20::52d]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lda2i-0039Kc-IO; Mon, 03 May 2021 14:59:30 +0000 Received: by mail-pg1-x52d.google.com with SMTP id s22so3813528pgk.6; Mon, 03 May 2021 07:59:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=GXN6lwbGsWsgi+duQg1bgSlBiOoKXOf+TIMtVpvr234=; b=KS3qHNvfG/cWG8uFRIxuiHEWIeE7kALsIqz4peGUHvFBuO+5wahFZSSOUEY6ZOn9Oo o40pws3KfivqBbk9Q/RiQfxxqX4INWGyauv8/zWEyo0MVVmhNcOqGsN6bbHvSPyLxXq0 VTyhRHYP0hjwt5n32DqK7eNFR4qqVl7sNrj8OL/c7P1b5GNTMjnkYkl9Z3zlzsUXkS6j Zd48PqKw9ddtCfD4MuYMV6Ly3gN1kRhxqb+8csb2/lAAYM9ihQ+jnLR/ET3itk9C22CX 2KNIKN4ggQKdSuiEfnsyWE5tMJqGJ6Dm9dxqhswTunPX38HRmGhE/WXDnwPz8X2z95d2 25hg== 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=GXN6lwbGsWsgi+duQg1bgSlBiOoKXOf+TIMtVpvr234=; b=Jp1RkJSmOnyXUghmUgS7sglxy9qsiLh7+oZUJQoGrxhAgtptGHNKWf1JZm1/0gEOiJ 6IlCu2wok2MOiBqg/L5iMOpD6ABo8V8FppbPWgXrD/ALkTM6gIX8S9jeoZhXuhYk3vpg 3mEkcr3irlx6VTC/sudD9MDhXbTTy7ruJt8SzYeXSEZBjKnZ/LEeZbzbXcsgDwaxyPCD BRA2KbDdUjhNKjMUN8rFjTJN38RhqYNAUTGAYTNHOqoPupyACbcMFXeS0qJNm39Hf0mY mp7GSogcviUovaCiddpcVU8wvyvj3NNdho/TmGdyCO8/R+RhWw/3r40LnxxIlCm9HmeG 7Udg== X-Gm-Message-State: AOAM532zP1EniFKbLqFxC0odV8yJ83F+qkvWGEzLLiDiUFexIMxcms07 zt4wt24LdFy71gtRAfoF9RY= X-Google-Smtp-Source: ABdhPJwZ4qfpVTQbY6D9dayHKNh07G1hp3UyhjWAsOmTskW9/coCHxrWS/68gTBlAdIoTYbvGTIlqw== X-Received: by 2002:a05:6a00:78e:b029:28e:62a4:5f3 with SMTP id g14-20020a056a00078eb029028e62a405f3mr10642223pfu.19.1620053967572; Mon, 03 May 2021 07:59:27 -0700 (PDT) Received: from archl-on2.. ([103.51.75.154]) by smtp.gmail.com with ESMTPSA id k38sm3593983pgi.73.2021.05.03.07.59.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 May 2021 07:59:27 -0700 (PDT) From: Anand Moon To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Anand Moon , Neil Armstrong , Rob Herring , Kevin Hilman , Jerome Brunet , Martin Blumenstingl Subject: [PATCHv1 5/9] soc: amlogic: meson-ee-pwrc: Add hdmi power domain Meson sm1 SoCs Date: Mon, 3 May 2021 14:54:38 +0000 Message-Id: <20210503145503.1477-6-linux.amoon@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210503145503.1477-1-linux.amoon@gmail.com> References: <20210503145503.1477-1-linux.amoon@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210503_075928_623951_DE1C6548 X-CRM114-Status: GOOD ( 11.58 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org As per the S905X3 datasheet add hdmi power domain controller for Meson sm1 SoCs. Cc: Neil Armstrong Signed-off-by: Anand Moon --- drivers/soc/amlogic/meson-ee-pwrc.c | 1 + include/dt-bindings/power/meson-sm1-power.h | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/soc/amlogic/meson-ee-pwrc.c b/drivers/soc/amlogic/meson-ee-pwrc.c index ec402c4ab931..062b2488f932 100644 --- a/drivers/soc/amlogic/meson-ee-pwrc.c +++ b/drivers/soc/amlogic/meson-ee-pwrc.c @@ -302,6 +302,7 @@ static struct meson_ee_pwrc_domain_desc sm1_pwrc_domains[] = { pwrc_ee_get_power), [PWRC_SM1_GE2D_ID] = TOP_PD("GE2D", &sm1_pwrc_ge2d, sm1_pwrc_mem_ge2d, pwrc_ee_get_power), + [PWRC_SM1_HDMI_ID] = MEM_PD("HDMI", meson_pwrc_mem_hdmi), [PWRC_SM1_AUDIO_ID] = MEM_PD("AUDIO", sm1_pwrc_mem_audio), [PWRC_SM1_ETH_ID] = MEM_PD("ETH", meson_pwrc_mem_eth), }; diff --git a/include/dt-bindings/power/meson-sm1-power.h b/include/dt-bindings/power/meson-sm1-power.h index a020ab00c134..094a6a44ab96 100644 --- a/include/dt-bindings/power/meson-sm1-power.h +++ b/include/dt-bindings/power/meson-sm1-power.h @@ -14,5 +14,6 @@ #define PWRC_SM1_GE2D_ID 4 #define PWRC_SM1_AUDIO_ID 5 #define PWRC_SM1_ETH_ID 6 +#define PWRC_SM1_HDMI_ID 7 #endif From patchwork Mon May 3 14:54:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Moon X-Patchwork-Id: 12236139 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1A52BC433B4 for ; Mon, 3 May 2021 15:02:28 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7878F610A0 for ; Mon, 3 May 2021 15:02:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7878F610A0 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Nq74H5lW6EaghgudrYCJnL4E0d7dxH99WrBeNzGXgP4=; b=mvb3LnUX1zh0zZ2vpF5SzXwK/ x6OlFCiku7dMEyQnvyP1fSgiJByRIr41aOjg/ko3ewwDn3XTQTj70MqQmw3nClP6wJk3YsQ0P4oZA j8DBUvbY11ycO1imQmVpBGb9WomSfEfUPE0sKKzPv6m+X58enrGFZKIgZ/6GnKVKjyiiw0tzv7TE3 gM0aSV1gIV94ESYdhpT9naPW+Waig0PvxIxm3eA2IMTKcbC4YN6m3sUYNOD1GCpbcG9IghARJJpkN wvOBm+s9BBaLY14jb9Ic7rj7xsPapAKBpK32Ty+YjF8yRGTJjv9FZf2UduILqZUPEQH2DhR0I3FCh tf9YGMBRQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lda5T-00E9vk-FT; Mon, 03 May 2021 15:02:19 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lda39-00E9HK-In; Mon, 03 May 2021 14:59:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=foGD+UCkz7Gx5A7kDlgCTKzfxYofNvrE9AjIykOb+dM=; b=ObtGJgV1EAYMiQFZcfbosKNA1x 45BMPGcllzF9R8H0giy/WcAkqtJybxJ5C8L4JpkBkQhXo2OaMv0625vuFI99EMHQWxHGXtM06gqrZ R60xpHt6owGmngZnLuAUWNCK122w6Tc3izOCWAh/ys0FujWNtN0yHYUSUMO9prI/yCZnofDg+elOi bd5bKFOyJboxueIbDU4ZLxnuBvs+5tWTRrzDVkfJTADucQ3Z1Kh+G0IRA6sQCMIND5/JFalyhi1UY YEuITmNHQHyje08Sr/by9xlgq2x2isYHJz6UReJA9YbMqU35AzQS1AIgY8piCVX+26ScgFEb09jFz JSscHgDw==; Received: from mail-pl1-x633.google.com ([2607:f8b0:4864:20::633]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lda36-0039N6-UP; Mon, 03 May 2021 14:59:54 +0000 Received: by mail-pl1-x633.google.com with SMTP id n16so2881851plf.7; Mon, 03 May 2021 07:59:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=foGD+UCkz7Gx5A7kDlgCTKzfxYofNvrE9AjIykOb+dM=; b=gNB6h2Ap4hHvzBGd10AjeCOnogWQHcm3Aga62eNNzyajt/Gcf7MrukQXFhGU2SoDS3 +1sDPlD+GKF/wC0a6UlAWGTytM270cBghOHzlvIKEUd7dzXcqO9Bp4iAfc2taG58R8Lk e2mYHg6qTdLGBu5kgfrXI2YDENFTOM7OaEmAeOJsieu4WtramW+a8XwdpsSroXDXv1PP KsWmDEr4FKwf1Kbb7duxeMaQEsHV+MXC4iKeZSdkymdWAAgL094T2aR6RGk8WWslC1Zh 1r/iqOYr0KcxVozQTEihP7RlD88lksKzZbF6xbLpU7rL6oqnrBtlDV6R+PR0xNjdlujm K6+w== 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=foGD+UCkz7Gx5A7kDlgCTKzfxYofNvrE9AjIykOb+dM=; b=FlQU0OXJif7l1pslgQleOZ3fbB1URUnt6KMXBjmAnmhki1wsgpwUx6shM1ASBz10qG zIt31NgdyFSqARC9xSJdX4G8QUsrtGGVOV4Eyi4QNq4XpBaE6UcBoYcQdv5x7V7fI73v wQqkzxSd++0XYIZKmPPB+iMf0AIFp5E4LM7UNeU5gPrjXwo8EimgDXohtJgZ4Sx8Og/V P9P5/m83xNQffnSwv1tMwgMyH8ubQ1zN/sYaAA0ikPhqT79QiSc87oJI+6TX3W6eKqED uNHwLhCGSfNjjOEofe9tpbmNuwhAgrk++vVc7cbHl9jVswpVWTaZb2pt6YVkQfJwxJAi 5Mrw== X-Gm-Message-State: AOAM532yFB8bPWhkzqd345lu7Ty+EG8x1haU16gzj86bsDPvItdaFYMF +GPlracCa4P5IU3C8e6hbmg= X-Google-Smtp-Source: ABdhPJxzKb+8mI0OgGltd9yXCBGE6i4s0TGA3Z151qYG33TBAevm0epGCSA66NDgtau+fg7ikxMw6Q== X-Received: by 2002:a17:902:eb14:b029:ed:6fc3:a42c with SMTP id l20-20020a170902eb14b02900ed6fc3a42cmr20569864plb.26.1620053992519; Mon, 03 May 2021 07:59:52 -0700 (PDT) Received: from archl-on2.. ([103.51.75.154]) by smtp.gmail.com with ESMTPSA id k38sm3593983pgi.73.2021.05.03.07.59.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 May 2021 07:59:52 -0700 (PDT) From: Anand Moon To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Anand Moon , Rob Herring , Kevin Hilman , Neil Armstrong , Jerome Brunet , Martin Blumenstingl Subject: [PATCHv1 6/9] arm64: dts: amlogic: Add audio power domain for sm1 SoC Date: Mon, 3 May 2021 14:54:39 +0000 Message-Id: <20210503145503.1477-7-linux.amoon@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210503145503.1477-1-linux.amoon@gmail.com> References: <20210503145503.1477-1-linux.amoon@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210503_075953_001938_C6F35731 X-CRM114-Status: GOOD ( 10.91 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org Add audio power domain id for hdmi on sm1 sbc to enable audio power domain via "pwrc" controller. Signed-off-by: Anand Moon --- arch/arm64/boot/dts/amlogic/meson-sm1-odroid.dtsi | 1 + arch/arm64/boot/dts/amlogic/meson-sm1-sei610.dts | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-sm1-odroid.dtsi b/arch/arm64/boot/dts/amlogic/meson-sm1-odroid.dtsi index d14716b3d0f1..b16a9a2b6cc4 100644 --- a/arch/arm64/boot/dts/amlogic/meson-sm1-odroid.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-sm1-odroid.dtsi @@ -174,6 +174,7 @@ sound { assigned-clock-rates = <294912000>, <270950400>, <393216000>; + power-domains = <&pwrc PWRC_SM1_AUDIO_ID>; status = "okay"; dai-link-0 { diff --git a/arch/arm64/boot/dts/amlogic/meson-sm1-sei610.dts b/arch/arm64/boot/dts/amlogic/meson-sm1-sei610.dts index 2194a778973f..0ca72b000105 100644 --- a/arch/arm64/boot/dts/amlogic/meson-sm1-sei610.dts +++ b/arch/arm64/boot/dts/amlogic/meson-sm1-sei610.dts @@ -256,6 +256,7 @@ sound { assigned-clock-rates = <294912000>, <270950400>, <393216000>; + power-domains = <&pwrc PWRC_SM1_AUDIO_ID>; status = "okay"; dai-link-0 { From patchwork Mon May 3 14:54:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Moon X-Patchwork-Id: 12236151 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 84D32C433ED for ; Mon, 3 May 2021 15:02:58 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D8BD0610A0 for ; Mon, 3 May 2021 15:02:57 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D8BD0610A0 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=6V6Z4ixRgiDiPJxtmDvDnL2DCsJGPq25DW0CXsOBdiE=; b=P/MxHEblzpMxCFcm5Jveq0MKH XnQ6rl1VMk1Ty6gsfgcjXjySemkkuwnBWt4z/TervLoOlCYZMHSELW0gILe2+JkE5q07UXgh687Vz 2BLqLrubagg7dF42yPw4qo/s5F7lNZwhaNMGibkw7HCG8BIZra63tAGMS6bxKumBIPK30d9Kr8hne DuDqEluszOPUeKMzszwXv5hpzKX3REAOhnnVesh5AC0C70OpxEgasuQ8oMwyNycOyFE2IJev7ewqF dUOzDy72iDyg8QmubDxiQsOOPf2owqqY9xx5NXob7VmQjUM4HJKa1zJ1jiql5B6aC3WmMo8mSDpC4 M3TDRY//w==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lda60-00EA66-Mc; Mon, 03 May 2021 15:02:52 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lda3a-00E9OY-3g; Mon, 03 May 2021 15:00:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=Y8Jx10fBRRAyAXqe89r614y4Nn3d7ekioAosLYfsorI=; b=ideYrJ4L9eaN5/Z9A1FaipH1iv SxtyKi1PL60KSc147YE/rzbrL7WouMyqEf8Z6SBRi4mBy4Ws1NGb6CRneWZFQEW/MC2pD0tVMq67G rezFW3WSz7v2AxzMdohN1zDHPQ/9iSW5fHOmKSF7s2a2FECFlj4cpchrhanuwkcDOdjNnWC0qCKKW NpSrO8SkwCCLeaX3l4qnEYJmNUFmjszmDJHs8fspL2IeO5/HTVfwlR/HPq13OYgmBdDtxtzOi5PS1 VC+tjw2pXHCdb1ubmW9OHt7jdlbAkuVJuGToDn6UpQQZfGGdlmckV//ALKzZeptQpHVCuwsHYwuNm huIGQQdg==; Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lda3X-0039Oj-KP; Mon, 03 May 2021 15:00:20 +0000 Received: by mail-pf1-x435.google.com with SMTP id p4so4376773pfo.3; Mon, 03 May 2021 08:00:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Y8Jx10fBRRAyAXqe89r614y4Nn3d7ekioAosLYfsorI=; b=b7hYVY9EtToaTOGKclQPTp+d9zBrF4cdxYNSxyO1kcgFjclhVrmEwUwSmOS3Zx8Bia UdA1pqZRGbBoz3v6Lp7KHnK0a9+SCEj/LujSJ2A7p6Y3Rkc4PQqkz8GbMupYTw+z0/Ks tu1u5Y24juPE3o8wc/7FAvTqTPKj2VwFO2AGM36lw3en7rwtZKymjZa7APjjwyqtHVYH oaD12RLad2AbRYXjU7Dn4fSYDa1oVHTcVwd8IQV9rjquP+Nm/FATub4HqT17YzUz/1Er pSIG94uPM5avTvBq/0N/hAUX/WWiH/GZIunka2RP8A3TgkfaWwMYIMEemDesWBfBF1Vx 9V9w== 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=Y8Jx10fBRRAyAXqe89r614y4Nn3d7ekioAosLYfsorI=; b=k9IZHFjkiV0lEGft2SNEy4h8/zLjvXu4RO3pWYJ3/b6kQnje/JTnIODJPXGOqilHMX 0LM7jgFjpyiW3bkl3Kgq7YdotRtiHKZTTKlB3H7I2mIdYT1zBjA2yAbrJ4DW/sO++xy1 h/zrNHWDN0DWPeQqTt0Dq3eaRsaVYslsU31bKmsO0zGPzYA5DN2GNFGZd9J2OyrFShZD BljqLSH5gqzle3/pcQLjg3BXNKx/RWFcokcSBa1neeOBGMQq7fZiapzJyeBdqy6AT4oB IVt+G3+CNwd/28zG3EPqBhRMD4RTh9HX6u5lg+QPMK4I9D8X9wMKy7KxKTH7eBD9JTCr T6LA== X-Gm-Message-State: AOAM532ljlNUHWAuS6S5o1sdaqv730LKBoyfw2Ds7bjvZe7vyLnNpcoU VTkPYgjC+GH2+W8OX8P4NIM= X-Google-Smtp-Source: ABdhPJx3q9BKW8sqHNuANBAOlnyBhQXNL8PyteBe5Hx29D5qoeiRpfob5mXAYIDoxwcbOFXEx0/Zcg== X-Received: by 2002:a65:52c3:: with SMTP id z3mr18671591pgp.338.1620054018554; Mon, 03 May 2021 08:00:18 -0700 (PDT) Received: from archl-on2.. ([103.51.75.154]) by smtp.gmail.com with ESMTPSA id k38sm3593983pgi.73.2021.05.03.08.00.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 May 2021 08:00:17 -0700 (PDT) From: Anand Moon To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Anand Moon , Rob Herring , Kevin Hilman , Neil Armstrong , Jerome Brunet , Martin Blumenstingl Subject: [PATCHv1 7/9] arm64: dts: amlogic: Add hdmi power domain for sm1 sbc Date: Mon, 3 May 2021 14:54:40 +0000 Message-Id: <20210503145503.1477-8-linux.amoon@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210503145503.1477-1-linux.amoon@gmail.com> References: <20210503145503.1477-1-linux.amoon@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210503_080019_690331_7E5E341F X-CRM114-Status: GOOD ( 10.86 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org Add hdmi power domain id for hdmi on sm1 sbc to enable hdmi power domain via "pwrc" controller. Signed-off-by: Anand Moon --- arch/arm64/boot/dts/amlogic/meson-sm1-odroid.dtsi | 1 + arch/arm64/boot/dts/amlogic/meson-sm1-sei610.dts | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-sm1-odroid.dtsi b/arch/arm64/boot/dts/amlogic/meson-sm1-odroid.dtsi index b16a9a2b6cc4..fd8544d0150f 100644 --- a/arch/arm64/boot/dts/amlogic/meson-sm1-odroid.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-sm1-odroid.dtsi @@ -347,6 +347,7 @@ &hdmi_tx { status = "okay"; pinctrl-0 = <&hdmitx_hpd_pins>, <&hdmitx_ddc_pins>; pinctrl-names = "default"; + power-domains = <&pwrc PWRC_SM1_HDMI_ID>; hdmi-supply = <&vcc_5v>; }; diff --git a/arch/arm64/boot/dts/amlogic/meson-sm1-sei610.dts b/arch/arm64/boot/dts/amlogic/meson-sm1-sei610.dts index 0ca72b000105..c9fc51d81fca 100644 --- a/arch/arm64/boot/dts/amlogic/meson-sm1-sei610.dts +++ b/arch/arm64/boot/dts/amlogic/meson-sm1-sei610.dts @@ -413,6 +413,7 @@ &hdmi_tx { status = "okay"; pinctrl-0 = <&hdmitx_hpd_pins>, <&hdmitx_ddc_pins>; pinctrl-names = "default"; + power-domains = <&pwrc PWRC_SM1_HDMI_ID>; }; &hdmi_tx_tmds_port { From patchwork Mon May 3 14:54:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Moon X-Patchwork-Id: 12236153 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 850BEC43461 for ; Mon, 3 May 2021 15:03:43 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1A74E6121D for ; Mon, 3 May 2021 15:03:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1A74E6121D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=1E4PNPAkXWQqvwmWPeFpGpiWM7MKepujP6CF363ychg=; b=Uo5Qqu+XMKCpAHcFOdYQwXRbr NWCeV43RnvC15b+yf97EU2H1E82Hyk5QYb6PpTg7LZC30/45mo6vUlDdWaPNeBwQrGVHEtnM0SKtA mtc8IDJY92kgkFqpIlYYevf76Y39+N8q4N7l7aFJvbKg3aqVHeFSIbQy+VYxqfo7C6Fn5u2HtO+3/ dUokXlokQCqAZd9w6DTx7ZVE8HSyNy3+yFwLXKgnySsSEbGlhblbe3+EBcCfMD+SzaJ+/LDwOgJyL lRA2JslGDcwzL0iyDe81ofFScttu7VgELqR26AsEwL3Tz649qP6zB3EPlj+GNtFyAiZ9OYTvZL0Oq lPpFRMxlg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lda6g-00EAK4-BD; Mon, 03 May 2021 15:03:34 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lda3z-00E9V4-T3; Mon, 03 May 2021 15:00:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=Me0/8wMFfbBiWllaQC8QNsKSdHVtD76NnW7CR+YniVo=; b=D3mbS5Sx2e5qZEiQw+SM96Kin5 15dR8PDyQ/X2AcfwpUzotJAuh2qSANQ4DCYXetUgg00eIUZh3Xjf4MD24ef26xyYmld1zZRdbNVIb n1u2oUM7/U4RTDEugBl2UZaFMip7L15aSC6FOfS5fy0LluXwuqC4zwkUu+1DFUi75p/ULuc6SGl4b VjKhTZ9nRyMORVYQN54buchT4qXeW4Tlkt4eOWrVHUmHJmMjtHQoih4SPVw7MGwQ13thBwhBKZUWC WrYcfqTTlKyHY1wCHZQvNdjUbsrAQtD9FEip6cujcrxMvCoHr81kP2N+vmP0oTI4nsOAD7UrryxDc nVDXcMBA==; Received: from mail-pj1-x102e.google.com ([2607:f8b0:4864:20::102e]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lda3x-0039R5-Cn; Mon, 03 May 2021 15:00:46 +0000 Received: by mail-pj1-x102e.google.com with SMTP id m6-20020a17090a8586b02901507e1acf0fso3515764pjn.3; Mon, 03 May 2021 08:00:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Me0/8wMFfbBiWllaQC8QNsKSdHVtD76NnW7CR+YniVo=; b=VGdvX2Weop7QRB/TM9J7p48OMZbgZdlrwDC27bf+srOMUSE4I/Rt1DMgj1wuVHFKnM u0PkGoxIuFs/NpnF7IPGniu5QD5nLbPe/mdLy1f4Skr4I82gy7jcM89/SkCCNCL3Ocxt DfUowqM0RfFlc2D0U0YE6HgViejRPoyLSGg0A95zgCWhHqENUAcfnb32F/1yqSH6tzKQ 1kN8YsornF4InndpeZ2VL6w0sKz0miu2pS6AkQ9HcQ3VaktrqodvQTJi30vxF44roGle IFtVBTX8t1nYw2+RlxgeNI7DVRCV+khsMFmYGpB/FXeTJAzgobny4dfrgrYYeTog5Gpp pO6w== 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=Me0/8wMFfbBiWllaQC8QNsKSdHVtD76NnW7CR+YniVo=; b=HkJm4S1EE2ogzvFOJAue2z5NVAo+LacJhSh2GQzKAuIimSWZwHvE5SKS64NtBiXzwg UartETx6ATcMbPpgV3X44PgrxW5TSNP2QKsyBBAIEj8k3d7wanjtRPfOxIJUlkBr9oDH 0PGKgOQ3KWz/AJz8RDFM8paYwvLNjF7kgtTUXWoShU/Y2P0ucXcsYCZMCe6kanYS2O/W 1s7Ea49kQYeCcnpL23vLYWQJHhUwervml6dWdU+p/TflimQi7y4y67WC3yKR6QOh9qZF TGJaRf3nYkeue65LZApSrVYqV/7mu//UoWgUFofQYoDAKr/ZOjE32eE746i2NJg+1DZE XbfA== X-Gm-Message-State: AOAM533gGzpqd53lLtnD6kC+uKJ2PetJvYSt0qVAHZDWtDO/NWtufbN4 tAmrvZR0ejtSgwCabzeLlJg= X-Google-Smtp-Source: ABdhPJwyjIoeQq8BCEUBxiuksyZ7uSber5kmEZBqOvk8KpjIdFU6rrjD5629sb9k++p1tUZigcwv+w== X-Received: by 2002:a17:902:7444:b029:ed:5334:40b6 with SMTP id e4-20020a1709027444b02900ed533440b6mr20583031plt.35.1620054044230; Mon, 03 May 2021 08:00:44 -0700 (PDT) Received: from archl-on2.. ([103.51.75.154]) by smtp.gmail.com with ESMTPSA id k38sm3593983pgi.73.2021.05.03.08.00.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 May 2021 08:00:43 -0700 (PDT) From: Anand Moon To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Anand Moon , Neil Armstrong , Rob Herring , Kevin Hilman , Jerome Brunet , Martin Blumenstingl Subject: [PATCHv1 8/9] soc: amlogic: meson-ee-pwrc: Add hdmi power domain Meson gxbb and gxl SoCs Date: Mon, 3 May 2021 14:54:41 +0000 Message-Id: <20210503145503.1477-9-linux.amoon@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210503145503.1477-1-linux.amoon@gmail.com> References: <20210503145503.1477-1-linux.amoon@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210503_080045_451302_F677572D X-CRM114-Status: GOOD ( 12.15 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org As per the S905X datasheet add hdmi power domain controller for Meson gxbb and gxl SoCs. Cc: Neil Armstrong Signed-off-by: Anand Moon --- drivers/soc/amlogic/meson-ee-pwrc.c | 1 + include/dt-bindings/power/meson-gxbb-power.h | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/soc/amlogic/meson-ee-pwrc.c b/drivers/soc/amlogic/meson-ee-pwrc.c index 062b2488f932..23a748ee9e68 100644 --- a/drivers/soc/amlogic/meson-ee-pwrc.c +++ b/drivers/soc/amlogic/meson-ee-pwrc.c @@ -268,6 +268,7 @@ static struct meson_ee_pwrc_domain_desc g12a_pwrc_domains[] = { static struct meson_ee_pwrc_domain_desc gxbb_pwrc_domains[] = { [PWRC_GXBB_VPU_ID] = VPU_PD("VPU", &gx_pwrc_vpu, gxbb_pwrc_mem_vpu, pwrc_ee_get_power, 12, 2), + [PWRC_GXBB_HDMI_ID] = MEM_PD("HDMI", meson_pwrc_mem_hdmi), [PWRC_GXBB_ETHERNET_MEM_ID] = MEM_PD("ETH", meson_pwrc_mem_eth), }; diff --git a/include/dt-bindings/power/meson-gxbb-power.h b/include/dt-bindings/power/meson-gxbb-power.h index 1262dac696c0..eafa92eb836e 100644 --- a/include/dt-bindings/power/meson-gxbb-power.h +++ b/include/dt-bindings/power/meson-gxbb-power.h @@ -9,5 +9,6 @@ #define PWRC_GXBB_VPU_ID 0 #define PWRC_GXBB_ETHERNET_MEM_ID 1 +#define PWRC_GXBB_HDMI_ID 2 #endif From patchwork Mon May 3 14:54:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Moon X-Patchwork-Id: 12236155 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6EEF4C433ED for ; Mon, 3 May 2021 15:04:40 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BA75B611C9 for ; Mon, 3 May 2021 15:04:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BA75B611C9 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=NVDZ6GIYi9iWwLS+ARKpugQpDvG2u43BO2JMfS1jLFs=; b=ZgIVo8p/G64I6ZqUs+7zJwPKc Hrq7VlcwgkhDyJw5vp1EeHr8k8ABSf/SKwvEUNh87CjlOPdxqcqomMq4ArNntawkaT5X4QPH0UoFy oh+EW1zW/MXzPtXDhhLPnRgsn2Gnqq1cFvIcNgji5S8wThmGvpFr1UQuHDFJb6yMFHMM2jRSFVlbt 222alWnqnUZ+r08sXgHaYqfHNrTCxVhmA8MmYvizDgaD52mVb1O/YMbQ+CYp3zUJQxYdhcbu64ulY x+5WWjYwqQmMPWy8BrSeuf0N0Qlsap85DhyNg4tCvC0Fwbe5fOR/og1J0Yt6JLhMJlPD0839Cyv44 MrXVUn0rA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lda7b-00EAZT-2D; Mon, 03 May 2021 15:04:31 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lda4Q-00E9ck-Bz; Mon, 03 May 2021 15:01:17 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=YzG6TYaBk4Qe9UbFXrh/j9QrDTmla6rvT2wheqgzLQs=; b=sxFdGHX1Pq++Xhd51cMRdSNNJs GIu8XDyLU26wVxl19b6MJaVyUOTfmyg3GXCbe1a119O5QmBl6OhXo5H7E+JdWRea2OHXANssmkSxU nxWsKFvqREZPyd22z7sMeDPsY5EbrlReYhfpqnZUYPjuDWNTXHZ/e7tCSlXp/w1kXk0ZpN86r884C lfNI0Bvm1XgEONWOV+pvAYS3f2zfxp0flVUxUqeM3Mr2jIwViIFydZv70M9EAJ00OYFSkilcejC3N aZ/BjjTwiBK48Asa+i22USeTW8OQuRq5sGG8MIIyygcB6YA++AjgGRQGMs7H7o4jz+Sv1BZlAsWZ3 dwBAHH2g==; Received: from mail-pg1-x536.google.com ([2607:f8b0:4864:20::536]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lda4N-0039Rx-3B; Mon, 03 May 2021 15:01:13 +0000 Received: by mail-pg1-x536.google.com with SMTP id d10so3803704pgf.12; Mon, 03 May 2021 08:01:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=YzG6TYaBk4Qe9UbFXrh/j9QrDTmla6rvT2wheqgzLQs=; b=gNv0dT9iqEmA1FbX2ZnULrP0GwUvez39zyRMZtvZRoGxoTXvfIYG7xug/dwu27ruvv 07GcoeS4p+Wjhw2ZXBDWwJBvJlxCH8DfsEu3mtxrl8uDcr/jiz+U2N9KgzQlQ0Yd+o2p UvHDSQGO/3uWY4Y5mv7ty0OzyBNPkfVdgzEuVZzryXipNjpqueXAm7eSa6cNfndkUr8s i8qDvM2GWGJR8uhSui4kUJsb2WoltKrFkMbnGNxo0tkGJeGHsQH5fAP3lqJI9OuNJ+95 znoYwTT6N6dcRW7/2oQ/ZCorJSfBuky3wNKd8vaNczLsUQeHr/utmUjAasrCFCvT94Av TACA== 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=YzG6TYaBk4Qe9UbFXrh/j9QrDTmla6rvT2wheqgzLQs=; b=WVP5xfA6sh5WwC6Bc8fQFf8aQBvFuBKSzF8Mld2COcg99LO8BPn1T6oe7CTv+BRjBZ 9tX2IxLLb7nNgRRI7kRZxmXRAHwKTSOdAE2aGfGTaVuLMLYzpj8EagAtzuDjln6It4i2 ug7aw54nCmvoVbVh8DxmXPOALhqCRzubVd7I/DRrGDUOiXOj/VRlamjse14EouASOvCK 1311JzcQW0v4Grjf9bd7Qd4Nw5uIfdtNSqLrOHb1aSVKGs3oF0+5H0PVXEZP+99B0na/ aKXCuBw6wb/pIZPBZAoKWm/wfyv3G3Ci/DlhbzBpJUZ241239uIg5y7PsgDW+Pm0VpzO SB7w== X-Gm-Message-State: AOAM530R3qRlggPbk5q4iEetlG0YQ5r4qsJj7LcPHqmqlEBNYlGhM7SD U4xkRIDQknW1oOgXj0sr9Fc= X-Google-Smtp-Source: ABdhPJwcFkN18aNRaGLRVRuH+apJNsXdOiZbqkCT0QVIRODxLq4T1QwXn1UM8TIy/L+SDchtZj7wcQ== X-Received: by 2002:aa7:8097:0:b029:229:83ec:cac0 with SMTP id v23-20020aa780970000b029022983eccac0mr18926519pff.67.1620054069894; Mon, 03 May 2021 08:01:09 -0700 (PDT) Received: from archl-on2.. ([103.51.75.154]) by smtp.gmail.com with ESMTPSA id k38sm3593983pgi.73.2021.05.03.08.01.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 May 2021 08:01:08 -0700 (PDT) From: Anand Moon To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Anand Moon , Rob Herring , Kevin Hilman , Neil Armstrong , Jerome Brunet , Martin Blumenstingl Subject: [PATCHv1 9/9] arm64: dts: amlogic: Add hdmi power domain for gxbb and gxl Date: Mon, 3 May 2021 14:54:42 +0000 Message-Id: <20210503145503.1477-10-linux.amoon@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210503145503.1477-1-linux.amoon@gmail.com> References: <20210503145503.1477-1-linux.amoon@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210503_080111_163899_78C03CE5 X-CRM114-Status: GOOD ( 10.78 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org Add hdmi power domain id for hdmi on gxbb and gxl and gxm sbc to enable hdmi power domain, via "pwrc" controller. Signed-off-by: Anand Moon --- arch/arm64/boot/dts/amlogic/meson-gx-libretech-pc.dtsi | 1 + arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi | 1 + arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts | 1 + arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts | 1 + arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts | 1 + arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi | 1 + arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi | 1 + arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi | 1 + arch/arm64/boot/dts/amlogic/meson-gxl-s805x-libretech-ac.dts | 1 + arch/arm64/boot/dts/amlogic/meson-gxl-s805x-p241.dts | 1 + arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts | 1 + arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts | 1 + arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc-v2.dts | 1 + arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts | 1 + arch/arm64/boot/dts/amlogic/meson-gxl-s905x-nexbox-a95x.dts | 1 + arch/arm64/boot/dts/amlogic/meson-gxl-s905x-p212.dts | 1 + arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts | 1 + arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts | 1 + 18 files changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gx-libretech-pc.dtsi b/arch/arm64/boot/dts/amlogic/meson-gx-libretech-pc.dtsi index 2d7032f41e4b..272e54be0365 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gx-libretech-pc.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gx-libretech-pc.dtsi @@ -311,6 +311,7 @@ &hdmi_tx { pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>; pinctrl-names = "default"; hdmi-supply = <&vcc5v>; + power-domains = <&pwrc PWRC_GXBB_HDMI_ID>; status = "okay"; }; diff --git a/arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi b/arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi index dafc841f7c16..c9f17174436f 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi @@ -220,6 +220,7 @@ &hdmi_tx { status = "okay"; pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>; pinctrl-names = "default"; + power-domains = <&pwrc PWRC_GXBB_HDMI_ID>; hdmi-supply = <&hdmi_5v>; }; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts index 7273eed5292c..6b5330344b94 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts @@ -219,6 +219,7 @@ &hdmi_tx { status = "okay"; pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>; pinctrl-names = "default"; + power-domains = <&pwrc PWRC_GXBB_HDMI_ID>; }; &hdmi_tx_tmds_port { diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts index f887bfb445fd..569b32f9e8e7 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts @@ -222,6 +222,7 @@ &hdmi_tx { status = "okay"; pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>; pinctrl-names = "default"; + power-domains = <&pwrc PWRC_GXBB_HDMI_ID>; }; &hdmi_tx_tmds_port { diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts index 201596247fd9..344834f6c475 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts @@ -269,6 +269,7 @@ &hdmi_tx { status = "okay"; pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>; pinctrl-names = "default"; + power-domains = <&pwrc PWRC_GXBB_HDMI_ID>; hdmi-supply = <&hdmi_p5v0>; }; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi index e803a466fe4e..b747cdc6ede8 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi @@ -132,6 +132,7 @@ &hdmi_tx { status = "okay"; pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>; pinctrl-names = "default"; + power-domains = <&pwrc PWRC_GXBB_HDMI_ID>; }; &hdmi_tx_tmds_port { diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi index 9b0b81f191f1..ae10bd4cb858 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi @@ -140,6 +140,7 @@ &hdmi_tx { status = "okay"; pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>; pinctrl-names = "default"; + power-domains = <&pwrc PWRC_GXBB_HDMI_ID>; }; &hdmi_tx_tmds_port { diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi index a350fee1264d..609544efd742 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi @@ -161,6 +161,7 @@ &hdmi_tx { status = "okay"; pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>; pinctrl-names = "default"; + power-domains = <&pwrc PWRC_GXBB_HDMI_ID>; }; &hdmi_tx_tmds_port { diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s805x-libretech-ac.dts b/arch/arm64/boot/dts/amlogic/meson-gxl-s805x-libretech-ac.dts index 2d769203f671..f8cd86c13765 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxl-s805x-libretech-ac.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s805x-libretech-ac.dts @@ -209,6 +209,7 @@ &hdmi_tx { status = "okay"; pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>; pinctrl-names = "default"; + power-domains = <&pwrc PWRC_GXBB_HDMI_ID>; }; &hdmi_tx_tmds_port { diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s805x-p241.dts b/arch/arm64/boot/dts/amlogic/meson-gxl-s805x-p241.dts index eb7f5a3fefd4..ec38ca9a6818 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxl-s805x-p241.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s805x-p241.dts @@ -136,6 +136,7 @@ &hdmi_tx { status = "okay"; pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>; pinctrl-names = "default"; + power-domains = <&pwrc PWRC_GXBB_HDMI_ID>; }; &hdmi_tx_tmds_port { diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts b/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts index b2ab05c22090..b0707382da30 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts @@ -95,6 +95,7 @@ &hdmi_tx { status = "okay"; pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>; pinctrl-names = "default"; + power-domains = <&pwrc PWRC_GXBB_HDMI_ID>; }; &hdmi_tx_tmds_port { diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts index 60feac0179c0..0266a14c428c 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts @@ -116,6 +116,7 @@ &hdmi_tx { pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>; pinctrl-names = "default"; hdmi-supply = <&hdmi_5v>; + power-domains = <&pwrc PWRC_GXBB_HDMI_ID>; }; &hdmi_tx_tmds_port { diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc-v2.dts b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc-v2.dts index 93d8f8aff70d..bd3be5a2f4bf 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc-v2.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc-v2.dts @@ -224,6 +224,7 @@ &hdmi_tx { pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>; hdmi-supply = <&vcc5v>; pinctrl-names = "default"; + power-domains = <&pwrc PWRC_GXBB_HDMI_ID>; }; &hdmi_tx_tmds_port { diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts index 82bfabfbd39c..8f6fdcf8466b 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts @@ -229,6 +229,7 @@ &hdmi_tx { pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>; pinctrl-names = "default"; hdmi-supply = <&hdmi_5v>; + power-domains = <&pwrc PWRC_GXBB_HDMI_ID>; }; &hdmi_tx_tmds_port { diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-nexbox-a95x.dts b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-nexbox-a95x.dts index f1acca5c4434..5837114368b5 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-nexbox-a95x.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-nexbox-a95x.dts @@ -127,6 +127,7 @@ &hdmi_tx { status = "okay"; pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>; pinctrl-names = "default"; + power-domains = <&pwrc PWRC_GXBB_HDMI_ID>; }; &hdmi_tx_tmds_port { diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-p212.dts b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-p212.dts index 2602940c2077..b951cd767c30 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-p212.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-p212.dts @@ -52,6 +52,7 @@ &hdmi_tx { pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>; pinctrl-names = "default"; hdmi-supply = <&hdmi_5v>; + power-domains = <&pwrc PWRC_GXBB_HDMI_ID>; }; &hdmi_tx_tmds_port { diff --git a/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts b/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts index 18a4b7a6c5df..64ccf599fc76 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts @@ -246,6 +246,7 @@ &hdmi_tx { pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>; pinctrl-names = "default"; hdmi-supply = <&hdmi_5v>; + power-domains = <&pwrc PWRC_GXBB_HDMI_ID>; }; &hdmi_tx_tmds_port { diff --git a/arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts b/arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts index dfa7a37a1281..c64d1fcda299 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts @@ -121,6 +121,7 @@ &hdmi_tx { status = "okay"; pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>; pinctrl-names = "default"; + power-domains = <&pwrc PWRC_GXBB_HDMI_ID>; }; &hdmi_tx_tmds_port {