From patchwork Tue Jul 21 15:24:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1550 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pj1-f72.google.com (mail-pj1-f72.google.com [209.85.216.72]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 6674D3F03F for ; Tue, 21 Jul 2020 17:25:18 +0200 (CEST) Received: by mail-pj1-f72.google.com with SMTP id 8sf2529537pjk.5 for ; Tue, 21 Jul 2020 08:25:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1595345117; cv=pass; d=google.com; s=arc-20160816; b=lnBVgarxvfpkWSYJ6GUsbDabuJCYDg3YdHcpr2+Ws4JSqoanLgQdL9+GPkOLMbF5vp 32Rk6HubL8rnYxtMoryowSqX6CS0Ii8L2qexxUXt7FhcGnnM+sxPueNq80WR8HW2nK5G XTfiRWiufsw0h8z1h9hYFr2+9KsvGGRNzpTTXmEYAX+SsuI9tBQaQUR5dlHtWkk2ZenZ uJAF9H3NtChqkL4KyiVqe1cYKhXl82Fv//QBI/YW4XATKNwejrDn05BL67JifrjnY7DO Qbwq0V8yEHSHqIzelcZMP+FN5rTNOuR4GyzhWa8wBoeYjLEDm7uiu70fsrtfKhHdx/RG X0Ww== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=igJfaC+KZzfgh4oI+3HqWVySuSLYVmNPoUYUAGEjIN8=; b=xMkedmaJgq7by2svwn7AsK9eUs2xnt0eat+rStyaceqfYKJgJvUzJ8YaTKp7IMibFl Bczp6E4pA2as79PmsMeXcxpIkctX1+8zxVjFBqwNnxwtT3PXqs9dYPhND2nv4cy7GBoT AywVw8leGqPSo0AiACuqaVet5Ku+UT/Z+4F2UYb4MPj8wrlNqKBoMp1Zb8i+/6GVJIuU 1eNa+yzCbQOM0Er1b4G9Zx/7EoeWSKAEMYpDuEFSa2SqyBfj+52DyZ9+MJ1NBhJRuJJo YDhg7pqLUU1m6L+xlPXZeVVxDiqxPbQP6qqb6FG+psfbl5iRzczt33ER6gNeP+wsJsjJ gZ/A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=PdTyXb7C; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=igJfaC+KZzfgh4oI+3HqWVySuSLYVmNPoUYUAGEjIN8=; b=fnWw6a0g2WNf2S/HzBDYk+/z4vn5Y4ZJxQ23QXC93pUSw2EOGhYK8YcmNzw6CbqOzS ZfVSTQV3I0+8ufgszTBRguYeemK0uEEyToLnW0qrkL9pvvIGJmBwu+NFsUSNxJ+5KNTD 8hPpHnHdtieEJ/gCcL2x/POee0svU/sjaUzP8= 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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=igJfaC+KZzfgh4oI+3HqWVySuSLYVmNPoUYUAGEjIN8=; b=UYEVqHuwSPeEGs7/FhiO1Odop8ZW6skZ/JmDryHNNdq0mKTsgBO/C5jq2lAo8EDyG4 owrcXr5WlE3Q6LWYe43japXvNu4eo9pMOrR/apCi0ZocsdU+eQGDf/LZ7J47XTiy+hFl dVQV/nuhBhM332y4vDLktKIyb9sbxFSk/3rOdmBeb9e4WYfAThS2qBtHzFAIPVYgDvn9 Uvb5EYyLxsKguhSh7i4oj6yxSGMCOU/CZH7CZiSp9VKPowf+iih+2pPOak+3QR1KhF7/ rQv3s+RmP0bUedNkR3eOVu4s+tBSWggdNQ/SxDHkkCLJeAvqu24lFkkuSOhh1UugiiES OXGA== X-Gm-Message-State: AOAM53166GC/ppnesWoOhVOJWodlyBLDWs5s/GMo7UCzmAb/D1D3+k/h FlLL6u8kT9IzNJX0s1SPG1/oESJT X-Google-Smtp-Source: ABdhPJwFaBOL6bz2X5y1YlZgf9zXNtuPsYEFutW/YsCU/3GRIDwwghXh330tTpaA8fKEIW+gklAHcQ== X-Received: by 2002:a63:757:: with SMTP id 84mr23501297pgh.275.1595345117217; Tue, 21 Jul 2020 08:25:17 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:b288:: with SMTP id u8ls4185143plr.4.gmail; Tue, 21 Jul 2020 08:25:16 -0700 (PDT) X-Received: by 2002:a17:90a:db8c:: with SMTP id h12mr5613800pjv.147.1595345116721; Tue, 21 Jul 2020 08:25:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595345116; cv=none; d=google.com; s=arc-20160816; b=QIULp1O5lngDotCyH3uX7soWKuiQdyvvx6912YebagaIQYm9GUFjwqI0xz4YlHp3kH QQdLuwAvNa5JzPiG+NF9TC8oMYaEZAVGb5BgpPn5YxN8G3yP5lT6s7vXs0KQ/q8+uamp ZMa/jaGM8QN30k5SWT4z7Rozv6qMmdoJrCQ35WhFntpvipNi8HjYP/SLHNafTxsxo50+ DtB59/pm6mxgM/I0jXJlT+ryqWMDJJ4pR1dq//fTrmiFWJCtvC8vQ0/+z061GHxges3N 4MibeIHEghe4uJMgLntUFpD75v9C/bUrEJ1zlymcPHtvBRCyTdsHWIqWCCKA/CaFXlgU psrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=joy8u2NBkiROyFgip1Mi9O/zzQHfEAvXPZjqI1TN2ac=; b=HLIm61vGBQ8nnm+EdHPuA6F5axCSVih4CDVTLyvwW6zoXwhEbGCom7FMjx3NsZJFq9 j71Awj5qWbqLU1WJmtt6blRxdZy5BhPBZ9cold3DeRTemhpdQV34sSL21jeuXLp4kvNl oWClFQMZL6u0jMUDqMpsri+VDwq+96jccjOOx1/5lX78hLCUlQJ4asl71ygEg87LsoIP TbD1Q6A61yhN+VD3xWOMemEglYWjtBA9Ncf/JByD52YnhXaP0O/xoiaAFZrfCc94swgH dI4lcIRBWm2NUdQxSNeyDI0qPbhdc50Z5BIbj/mEd9tVMgMaCQmU63ouIGBC/xRIrxkP ximA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=PdTyXb7C; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id a76sor24425397pfd.84.2020.07.21.08.25.16 for (Google Transport Security); Tue, 21 Jul 2020 08:25:16 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:aa7:8818:: with SMTP id c24mr25411688pfo.68.1595345116420; Tue, 21 Jul 2020 08:25:16 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:3df7:ef76:b2b5:fa14]) by smtp.gmail.com with ESMTPSA id h131sm2876838pfe.138.2020.07.21.08.25.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jul 2020 08:25:15 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Cc: Suniel Mahesh , U-Boot-Denx , linux-rockchip@lists.infradead.org, linux-amarula , Jagan Teki Subject: [PATCH v2 05/12] arm: dts: rockchip: Add HDMI out for RockPI N8/N10 Date: Tue, 21 Jul 2020 20:54:39 +0530 Message-Id: <20200721152443.37602-6-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200721152443.37602-1-jagan@amarulasolutions.com> References: <20200721152443.37602-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=PdTyXb7C; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , This patch adds support to enable HDMI out for N10 and N8 combinations SBCs. Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- Changes for v2: - none arch/arm/dts/rk3288-vmarc-som.dtsi | 10 ++++++++++ arch/arm/dts/rk3399pro-vmarc-som.dtsi | 12 +++++++++++ .../dts/rockchip-radxa-dalang-carrier.dtsi | 20 +++++++++++++++++++ 3 files changed, 42 insertions(+) diff --git a/arch/arm/dts/rk3288-vmarc-som.dtsi b/arch/arm/dts/rk3288-vmarc-som.dtsi index 72a503e50d..717cb3dc81 100644 --- a/arch/arm/dts/rk3288-vmarc-som.dtsi +++ b/arch/arm/dts/rk3288-vmarc-som.dtsi @@ -38,6 +38,12 @@ snps,reset-gpio = <&gpio4 RK_PA7 GPIO_ACTIVE_HIGH>; }; +&hdmi { + ddc-i2c-bus = <&i2c5>; + pinctrl-names = "default"; + pinctrl-0 = <&hdmi_cec_c0>; +}; + &i2c0 { clock-frequency = <400000>; status = "okay"; @@ -225,6 +231,10 @@ }; }; +&i2c5 { + status = "okay"; +}; + &pinctrl { pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma { drive-strength = <8>; diff --git a/arch/arm/dts/rk3399pro-vmarc-som.dtsi b/arch/arm/dts/rk3399pro-vmarc-som.dtsi index 111d6cf9a4..ebccc4a153 100644 --- a/arch/arm/dts/rk3399pro-vmarc-som.dtsi +++ b/arch/arm/dts/rk3399pro-vmarc-som.dtsi @@ -39,6 +39,12 @@ snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>; }; +&hdmi { + ddc-i2c-bus = <&i2c3>; + pinctrl-names = "default"; + pinctrl-0 = <&hdmi_cec>; +}; + &i2c0 { clock-frequency = <400000>; i2c-scl-falling-time-ns = <30>; @@ -285,6 +291,12 @@ }; }; +&i2c3 { + i2c-scl-rising-time-ns = <450>; + i2c-scl-falling-time-ns = <15>; + status = "okay"; +}; + &io_domains { status = "okay"; bt656-supply = <&vcca_1v8>; diff --git a/arch/arm/dts/rockchip-radxa-dalang-carrier.dtsi b/arch/arm/dts/rockchip-radxa-dalang-carrier.dtsi index d2b6ead148..26b53eac47 100644 --- a/arch/arm/dts/rockchip-radxa-dalang-carrier.dtsi +++ b/arch/arm/dts/rockchip-radxa-dalang-carrier.dtsi @@ -66,6 +66,10 @@ status = "okay"; }; +&hdmi { + status = "okay"; +}; + &pwm0 { status = "okay"; }; @@ -94,3 +98,19 @@ &uart2 { status = "okay"; }; + +&vopb { + status = "okay"; +}; + +&vopb_mmu { + status = "okay"; +}; + +&vopl { + status = "okay"; +}; + +&vopl_mmu { + status = "okay"; +};