From patchwork Mon Jul 20 18:51:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1523 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 0757E3F03F for ; Mon, 20 Jul 2020 20:52:39 +0200 (CEST) Received: by mail-pl1-f198.google.com with SMTP id p6sf10941973plo.8 for ; Mon, 20 Jul 2020 11:52:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1595271158; cv=pass; d=google.com; s=arc-20160816; b=SCthdTjLjiXJ9WQjn4C048zWn3mcnvAF9pglZ3PCQ7i9YmYPt0x91DFUgeSPm2SpwG ez8GTlA/CaEhZpr0DRkettDNX9lBMm7pw4ZQOW4I8TX+fsgwh1Ne1ExzVynvkVr1FzHM tGF87INn51HwKUfvM5O7G21ugNRnUwHyjj6ckXsuWv1C8kjkNcb1LkDpI5JWkKPFhR7J mTEqe4WNqlQBZCbiSaZOhHyzrTnt5pf6Xp/w7Q9ef8A0/1RX7CSUZmnd7TfQv96i7Cd3 QaGFmf6tpNCoeVV1JiEopMn9g7XozV4V7mtpxwwVkfBEhJveeth2tbZFM8mRzt/krrqL mouw== 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=TqOsQywjM/7qDAFX7edk3iDkf5M6bJ6LHS+abvxyvbs=; b=crUu5StTVSvzQQ9GbxKn09pU0eCNHZagG2jDPGlBp/E+YmnxjyYyIecaijG7ITJ3Hu WoYmJRIF2Q0HpoKl49V2tUwIOhDE/wAwo+TeCS7C4NWW1KyVOsGeEFrYfo2CC3c74haC 6LC6x1dWK1NmkPERJeJmpqB7UlELGUOdKQP/jgfNn0D8fkhO+nPEM5kxuNsY1Cr/I1SA f6dqno61gDDVMmgiX4mL4fnFQmqjdo0sH4l1FjYfwmYdmK4TiuVG08uvb1cdxyJDC/z5 GCOK2TgGrKGWjX9/V+RrV1ItIGoau5a6rdHD4lKC9CbbK/SKDbPsano2xcx7VTN7ELtu Vk/w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=JBWTCv2z; 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=TqOsQywjM/7qDAFX7edk3iDkf5M6bJ6LHS+abvxyvbs=; b=AB/9qSrWHjUV4C6VZD26E30FafEHddmFLoVnSWQLQLwF9hNLGZZ5+mImMaMZXzaiIi YeANCdPY27V99OCDzfOlX4QFlN78/xth6eSX/VanguCdYrGV+KpLla0sRjp/3lYQpJet wYskTlAjZ33qQ/VCtV20QuUapUjo2v9GhdH3c= 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=TqOsQywjM/7qDAFX7edk3iDkf5M6bJ6LHS+abvxyvbs=; b=s4kBQ4X1ZdzO5iI31E8bHqQXuY7QjdrGQ+Y/63CqHwWHBOPBmojBATU80SuTMYwklm Llo6s6t5l3VHLJ3Za7qTAhYVmT1yBQkU6RmHdBmmIP+yRjqLZWjS5TMGfsqIyuYy8vOZ oTwSMjTxC0LKhVRwbSpQEL4Kh61EFe8RzHtFyz7ixmtSFO/FNdaoEMv5hVvjf3rie3tw UWyUjqLjo3PvDLTsIB1P6ZdMS/SypSaune9uauMBmUXrxjYmsfmckWF0bVt7XwW+fv+K tfE0xMUxhZYzWwe/I8zwGIQTNvVckL7jEwLF9ChjnYPcHaaAsldRH7vA48CZ5JZ5fbTU kcmA== X-Gm-Message-State: AOAM533mwPW/pIztApXL/fI+NRz2sFBggRqD/6Q7mRV0uwxw6vKCpb4j XH7zPxTHbWhDxisl1CYs1gyr5Eqo X-Google-Smtp-Source: ABdhPJwUiPqmP4pQys/f+UHB+r3oth4agybuwcuh3eCOpUszJsFtBvPJ4TVaL0uZL06xEO8dwcTZlQ== X-Received: by 2002:a17:90a:d809:: with SMTP id a9mr814131pjv.40.1595271157803; Mon, 20 Jul 2020 11:52:37 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:be15:: with SMTP id r21ls1747945pls.11.gmail; Mon, 20 Jul 2020 11:52:37 -0700 (PDT) X-Received: by 2002:a17:90a:3525:: with SMTP id q34mr801138pjb.192.1595271157349; Mon, 20 Jul 2020 11:52:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595271157; cv=none; d=google.com; s=arc-20160816; b=q3lfOrx56e65jsoW0eJvCM2zksSzUWjHT51ydiTYqpYnk63GrTaN76qQZTK39+thYW QBTQHGL5QJv8JAXZZg6B4r6Q2PhW1OM490jzbj8GFgJbrwIvrkcy+62cyY+zQjSj+JQP y/lFsO9ulUteyp2ztR7d1Mp384flWlcrnsuETDitPIWUIW/qfI9bD04dvvwYHlEX9UEn yuTGbvQ1VYJ6Pl30gnvJItoroKPv2CxZYLJAzOpCcdo5p5prqFJW/4dKQUC5mLiCs/Ch lcbwGte94xOkrA6KX/HfDP2nQHgTYivKFt4n0u0CMLyayeUkI9RWxthKgJLQqHL7zXVb Hrlg== 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=mbQg8I2j2WRPQtTXxFUdkthGCYCS2Xi2I3dcAPhk3y4=; b=vZdQabgGG6z+tqLzd/GWm1gnGO8D9NQk7uXPwhPQ0I7s/HdqzMHuIzVarjEm04r68C QyrL+QFHCn+MDMfnu3ERa7B4DAIuP9TUFlQB0RPHdPxYsopUVP4z2VWbQnpxNHoJPvhl LwP01HWioWjg50Av0SoyijWc/S6EP3cdS3XeMKr98Y91XiUucPWrktNL4HNGY5ofxSL9 r2iDQdCoEQhOor2/EqIjEG2mgQvXGXi+Yf7DFn1Un0iMsQZdBZFaRAOageu1SnSNyBYj KGbElzSxbBxa8pA6DXlQ2njDW7879dfIpxgJenw9ZApv6yMMMbJoTCOwpy2k0Cr6ctyf JVAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=JBWTCv2z; 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 u2sor21366927pfk.28.2020.07.20.11.52.37 for (Google Transport Security); Mon, 20 Jul 2020 11:52:37 -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:a62:6446:: with SMTP id y67mr21445654pfb.299.1595271157032; Mon, 20 Jul 2020 11:52:37 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:8c21:db7b:4558:fba3]) by smtp.gmail.com with ESMTPSA id m9sm306649pjs.18.2020.07.20.11.52.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jul 2020 11:52:36 -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 05/16] arm: dts: rockchip: Add HDMI out for RockPI N8/N10 Date: Tue, 21 Jul 2020 00:21:09 +0530 Message-Id: <20200720185120.671064-6-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200720185120.671064-1-jagan@amarulasolutions.com> References: <20200720185120.671064-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=JBWTCv2z; 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 --- 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"; +};