From patchwork Mon Jul 20 11:02:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1514 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f198.google.com (mail-pl1-f198.google.com [209.85.214.198]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id AEF8A3F080 for ; Mon, 20 Jul 2020 13:03:12 +0200 (CEST) Received: by mail-pl1-f198.google.com with SMTP id y9sf10202439plr.9 for ; Mon, 20 Jul 2020 04:03:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1595242991; cv=pass; d=google.com; s=arc-20160816; b=Jyxrwu7+gva3z1vXfVboJQqhWRsuxngD0wZ60EBM7wVlwkAPU9fB2wyjjO8FYp3a/D AS3rbfiqxL1RhZj7vcHuKPxIzjNREWKX5+T/Ghgw11OaJsag8IaIJp1gr7zRLYuFb4hA 32c8e4R5loTaT8rVI6L1bdffCh0i37mgzlAFGY7EFzoZQ9Uz8Hsp+85eJStSA5pHssLS JWgTS1eVDPTI4Xzp5TFSwTVWxHuIpmTL0e5AdJ4buOHNvPE0pxjUEJyiBc/wI4G0wsiC mAj/2qQ1XJvhpIz508+0PGW+Zhlatw0fRVBYRG8vur4LBbvcRYr/x3vcLrwUrakWO6Mk eADA== 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=hAl23/Oj92FGKtc90Dd0U0grUsKkdvkFuwAklrfb70Y=; b=qqJJ/JgYnOw1X+QkpR+Zw9rKDzn4XvJAmb4X7k3EoAtmqvCDLblPhq2Te+IiOcBh1+ TMHjEIHEFax0pR7o9qAYgDgTIJtLCdeURbs2ZS8LnSnLqJFZsONAPb1Vp4EvbhUFerev 95LEIaw123cEAtJtlKBk8fGumP8pcfmFhKcJnwLCGddRB0Hj9sl+bMz79v9l8TVDd2BY LmVK+gm/CCNpWNkfWiliwTlAukdQFXq9nbgtdcRAxVQ0Z9KLVLDAYCPVrDijLInVqgl7 e1NhP3VF/Vn07H5Tsb5PGsFVubOPsryaSb4WVUY6NJcv6nqnoSbrtAovaxz0VhIkqlmE cKuQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=RUqeyyph; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 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=hAl23/Oj92FGKtc90Dd0U0grUsKkdvkFuwAklrfb70Y=; b=g4mbk0+e+9eFgt8Ttem8JvYS3Dfgr7S7qxtuFjcgLAlAPCu41B49VVHpAid/Mz5emk RdzJDoI1qSo6c7WfbbEtqG3H1efwxdeYL9h/uU5+fPWjSEykeBOQ5zHLabh6gphCO/tj 1OjWgH/gqAaFezkL/8jL1tQvMA0DxC8gDvLUU= 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=hAl23/Oj92FGKtc90Dd0U0grUsKkdvkFuwAklrfb70Y=; b=pkot92sLfxqSAdo/nQW0+TZZUca4Z3FaO51FBHiJVYq0a+8iq/U89NlFv7RpTIrvqt anO4Uns5W+bhvv6IUyJPiJc2Sp4CO83ajX2s1/5yiyiiEgvXhiI+4/0W2XwPZf8Zupi2 adGgCo/BeUE0Q4qg3FotNKbAbeZKHRIoLTAMi1Y+gh8hpHHfOawEl3RGJ+rY3hOs1ZOO iuTLcP3qA/Gz1qWlCzTpSTKjRkqzNGi9PpMDpCkFwznO9EVsYgiBsEmesfFVBJBOKaWj Za/3U+CWgOn13RDnzlaf9evrIGyAGp4KqyUSUtfzboQgTZzcxg81hpL9nB5FrkQ+Ti64 weOg== X-Gm-Message-State: AOAM530xJCTZV2UiLL4Za2G1dWKlvCy8aRcPOJaCFeZIO75D2NtW7PR0 wtAhzDCpZgGCYJDWNmqo6iAI8a+/ X-Google-Smtp-Source: ABdhPJwy4XXtc4WMQeI+gc4ULg6eoiyiEuwHXx3pAxRN7NvBgwUfMRkzeGfQhZUbeQcvhMhIUt6D5Q== X-Received: by 2002:a17:90b:1b06:: with SMTP id nu6mr22844453pjb.106.1595242990972; Mon, 20 Jul 2020 04:03:10 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:263:: with SMTP id 90ls2627522plc.9.gmail; Mon, 20 Jul 2020 04:03:10 -0700 (PDT) X-Received: by 2002:a17:90b:1b06:: with SMTP id nu6mr22844407pjb.106.1595242990449; Mon, 20 Jul 2020 04:03:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595242990; cv=none; d=google.com; s=arc-20160816; b=oSMho90Us+AWnZSLqNBYWkTbrkuEDlFSfVUCIH8dW28QQZJfwp+vhYdb59BFVJgXLN b1wUmOXH+jfCi3hXjSFW5FyXfQ0O4J6sALY3mkHqAdDG9pZhKqcJI5VXmtulMZ2uTdnE jZ1GxCM+1nrjmYouLOmGiHqwGH+v45lmg1YvjPaDHpquDVrCnoUbKKbb2OYLCU4u/Ui/ +b59rPhmQnazE5K///RduxOJObrnhANhMEP4uMOlKs4LA3Q3aMh7WiF433N/v5a0BP1j JVrBd3RPN75Lp7gLiKt3HkjVIHirXiaMr2JR7lUTcWfGVkVzlF6QF+percxFPgprMQB2 T4Kw== 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=ag4rQp+sFMdKPCQUR+pc46MOuVsvRvVxw/7NKoWEvi4=; b=O0Vy84WuICiBCPgMGJcCTVQS9du7zHh8YYKyT2Q3HJQPfAU5AGmYyt0WPjtVusQ8+f hVoJ/nArASWa1udMRsy4oQWIIBj+ne+oPTFGPCZmmuNJQO43tLSCdLSDE7c6BEe9pPqR yB3OQcEzNMe3ReasZuFpjhfS64oBvi5jCTBqfZQ9vZzN61wGxKsyMyvdcnn1yVgPlzyJ qOaBBvBfFunvZWiNWniP3kQ0gGwsyYgt9kK/x1R++RzQk7tarJZ67nA+++tSNLn0AqHK 5KHpspsoqrpw3ou4km8btvH4WXlXs1a96+fl7cgBPoDbFEln5JDw0LGIPArCfDUJp76k eOjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=RUqeyyph; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id w15sor21075527plk.43.2020.07.20.04.03.10 for (Google Transport Security); Mon, 20 Jul 2020 04:03:10 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a17:902:aa84:: with SMTP id d4mr17371571plr.208.1595242990019; Mon, 20 Jul 2020 04:03:10 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:8c21:db7b:4558:fba3]) by smtp.gmail.com with ESMTPSA id o10sm11445876pjs.27.2020.07.20.04.02.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jul 2020 04:03:09 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring Cc: Suniel Mahesh , Michael Trimarchi , linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-amarula , Jagan Teki Subject: [PATCH 2/3] ARM: dts: rockchip: Add HDMI out for RockPI N8/N10 Date: Mon, 20 Jul 2020 16:32:29 +0530 Message-Id: <20200720110230.367985-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200720110230.367985-1-jagan@amarulasolutions.com> References: <20200720110230.367985-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=RUqeyyph; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 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 Signed-off-by: Suniel Mahesh --- arch/arm/boot/dts/rk3288-vmarc-som.dtsi | 10 ++++++++++ .../dts/rockchip-radxa-dalang-carrier.dtsi | 20 +++++++++++++++++++ .../dts/rockchip/rk3399pro-vmarc-som.dtsi | 12 +++++++++++ 3 files changed, 42 insertions(+) diff --git a/arch/arm/boot/dts/rk3288-vmarc-som.dtsi b/arch/arm/boot/dts/rk3288-vmarc-som.dtsi index abe3c01d13aa..ba2732ec72da 100644 --- a/arch/arm/boot/dts/rk3288-vmarc-som.dtsi +++ b/arch/arm/boot/dts/rk3288-vmarc-som.dtsi @@ -38,6 +38,12 @@ &gmac { 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 @@ regulator-state-mem { }; }; +&i2c5 { + status = "okay"; +}; + &io_domains { bb-supply = <&vcc_io>; flash0-supply = <&vccio_flash>; diff --git a/arch/arm/boot/dts/rockchip-radxa-dalang-carrier.dtsi b/arch/arm/boot/dts/rockchip-radxa-dalang-carrier.dtsi index d2b6ead148a2..26b53eac4706 100644 --- a/arch/arm/boot/dts/rockchip-radxa-dalang-carrier.dtsi +++ b/arch/arm/boot/dts/rockchip-radxa-dalang-carrier.dtsi @@ -66,6 +66,10 @@ &gmac { status = "okay"; }; +&hdmi { + status = "okay"; +}; + &pwm0 { status = "okay"; }; @@ -94,3 +98,19 @@ &uart0 { &uart2 { status = "okay"; }; + +&vopb { + status = "okay"; +}; + +&vopb_mmu { + status = "okay"; +}; + +&vopl { + status = "okay"; +}; + +&vopl_mmu { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi b/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi index 111d6cf9a4e6..ebccc4a153a2 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi @@ -39,6 +39,12 @@ &gmac { 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 @@ hym8563: hym8563@51 { }; }; +&i2c3 { + i2c-scl-rising-time-ns = <450>; + i2c-scl-falling-time-ns = <15>; + status = "okay"; +}; + &io_domains { status = "okay"; bt656-supply = <&vcca_1v8>;