Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5235920rwb; Mon, 21 Nov 2022 19:13:50 -0800 (PST) X-Google-Smtp-Source: AA0mqf5NoKP+M1kU5MdnzczddjbKBNKR8LgPiCLyAfQDS/JvbBoQdx2icEssLBlOwN8vIHOG/mRh X-Received: by 2002:a17:906:4e14:b0:7b2:b15e:8ab1 with SMTP id z20-20020a1709064e1400b007b2b15e8ab1mr10070261eju.659.1669086830028; Mon, 21 Nov 2022 19:13:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669086830; cv=none; d=google.com; s=arc-20160816; b=GhwCpEgBzX13k1q6XApScL++WIbjsKATSihqyO0Z1odIkj45HiL4znY4Yl0El8mjsn suCJq/bxrEK15ILh5dlbNEApy1h4XD0ugui00oz9uRCOrwCDS/5MgVtudW+crkcryVQe ou9eoT+glyrPwu7JH9P3IBrKr/jiZtkRYoKlJ2OmA16XhqHPvIpnxQNe2opvkoDHF83u ymkRyKfLavY7iXEIAAM9mPJCqRLsYYZxykUMgqo1KY/+zoXh1jvKCev1S966sZtDwH6k VbK/tN8e0xU6XqKJSq4uX8Wcyppw2plOWXXdIdLzypJNpRsUTDs8BumOxwwE8SAefGdz eHmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=R5C4cYYAO7/+A5CElTGEcINKmfBsscoe2e+k4EHKZPo=; b=JQfk+bFEwT0ay8t8hpiKDyci9JS5XekATBF23pWev2rdH93SHNSh1u14UqRtLASMuh cX+FSVsAA4u53/fNlwqRJJYW9XFcpU9GFSzEXAc9EnPeSPZvXBCHPkPf3RXJKJQlQSN5 6CeMXEB6XDUq5gDGOYL6O5Sza0ZO+vVP2IpsgJEe7NAdk9cltLGpsXCe3qOWTyrI7tzW HJww1qXWSP6JDm/k3nyZIOXgIgddde7Egr3RGi5K0Rc93vPckRIQhxrA3e6xfAcUa2e+ gHeGl93uoKediuAfCDwiCmMsVbcaAeEKxymYpk8Q5UOiEiGjrlB+ciqdKZGCUfS7ChJn c6Ig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=EDkXlHOo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hs31-20020a1709073e9f00b0073da4a0f01csi5321511ejc.743.2022.11.21.19.13.24; Mon, 21 Nov 2022 19:13:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=EDkXlHOo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232024AbiKVDCT (ORCPT + 91 others); Mon, 21 Nov 2022 22:02:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232052AbiKVDCR (ORCPT ); Mon, 21 Nov 2022 22:02:17 -0500 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 330621D0FE; Mon, 21 Nov 2022 19:02:16 -0800 (PST) Received: from pendragon.ideasonboard.com (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 59597890; Tue, 22 Nov 2022 04:02:14 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1669086134; bh=Ca28UhB9SgGZCoIjPHP31lx8i8vFUKXIOsQCRggn/e4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=EDkXlHOouhQxm769dalIKJYAfmOUhg16wBVrnznOGYY6ycfoMc443QSCCG6JqfV+a j8ZOdf6bD9GuzsLukgPMocbsTmY8gtJZNN8kGQ/5TXyjI1/n88Kr355D21joCOEDpd fYYo+Ym1bs9AuNZLoa7B2qC1kxjn475/hvjZo67M= Date: Tue, 22 Nov 2022 05:01:59 +0200 From: Laurent Pinchart To: Tomi Valkeinen Cc: Kieran Bingham , Rob Herring , Krzysztof Kozlowski , Geert Uytterhoeven , Magnus Damm , dri-devel@lists.freedesktop.org, linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Andrzej Hajda , Neil Armstrong , Robert Foss , Jonas Karlman , Jernej Skrabec , Tomi Valkeinen Subject: Re: [PATCH v1 5/8] arm64: dts: renesas: white-hawk-cpu: Add DP output support Message-ID: References: <20221117122547.809644-1-tomi.valkeinen@ideasonboard.com> <20221117122547.809644-6-tomi.valkeinen@ideasonboard.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20221117122547.809644-6-tomi.valkeinen@ideasonboard.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Tomi, Thank you for the patch. On Thu, Nov 17, 2022 at 02:25:44PM +0200, Tomi Valkeinen wrote: > From: Tomi Valkeinen > > Add DT nodes needed for the mini DP connector. The DP is driven by > sn65dsi86, which in turn gets the pixel data from the SoC via DSI. > > Signed-off-by: Tomi Valkeinen Reviewed-by: Laurent Pinchart > --- > .../dts/renesas/r8a779g0-white-hawk-cpu.dtsi | 94 +++++++++++++++++++ > 1 file changed, 94 insertions(+) > > diff --git a/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-cpu.dtsi b/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-cpu.dtsi > index c10740aee9f6..8aab859aac7a 100644 > --- a/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-cpu.dtsi > +++ b/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-cpu.dtsi > @@ -97,6 +97,15 @@ memory@600000000 { > reg = <0x6 0x00000000 0x1 0x00000000>; > }; > > + reg_1p2v: regulator-1p2v { > + compatible = "regulator-fixed"; > + regulator-name = "fixed-1.2V"; > + regulator-min-microvolt = <1200000>; > + regulator-max-microvolt = <1200000>; > + regulator-boot-on; > + regulator-always-on; > + }; > + > reg_1p8v: regulator-1p8v { > compatible = "regulator-fixed"; > regulator-name = "fixed-1.8V"; > @@ -114,6 +123,24 @@ reg_3p3v: regulator-3p3v { > regulator-boot-on; > regulator-always-on; > }; > + > + mini-dp-con { > + compatible = "dp-connector"; > + label = "CN5"; > + type = "mini"; > + > + port { > + mini_dp_con_in: endpoint { > + remote-endpoint = <&sn65dsi86_out>; > + }; > + }; > + }; > + > + sn65dsi86_refclk: clk-x6 { > + compatible = "fixed-clock"; > + #clock-cells = <0>; > + clock-frequency = <38400000>; > + }; > }; > > &avb0 { > @@ -134,6 +161,23 @@ phy0: ethernet-phy@0 { > }; > }; > > +&dsi0 { > + status = "okay"; > + > + ports { > + port@1 { > + dsi0_out: endpoint { > + remote-endpoint = <&sn65dsi86_in>; > + data-lanes = <1 2 3 4>; > + }; > + }; > + }; > +}; > + > +&du { > + status = "okay"; > +}; > + > &extal_clk { > clock-frequency = <16666666>; > }; > @@ -172,6 +216,51 @@ eeprom@50 { > }; > }; > > +&i2c1 { > + pinctrl-0 = <&i2c1_pins>; > + pinctrl-names = "default"; > + > + status = "okay"; > + clock-frequency = <400000>; > + > + bridge@2c { > + compatible = "ti,sn65dsi86"; > + reg = <0x2c>; > + > + clocks = <&sn65dsi86_refclk>; > + clock-names = "refclk"; > + > + interrupt-parent = <&intc_ex>; > + interrupts = <0 IRQ_TYPE_LEVEL_HIGH>; > + > + enable-gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>; > + > + vccio-supply = <®_1p8v>; > + vpll-supply = <®_1p8v>; > + vcca-supply = <®_1p2v>; > + vcc-supply = <®_1p2v>; > + > + ports { > + #address-cells = <1>; > + #size-cells = <0>; > + > + port@0 { > + reg = <0>; > + sn65dsi86_in: endpoint { > + remote-endpoint = <&dsi0_out>; > + }; > + }; > + > + port@1 { > + reg = <1>; > + sn65dsi86_out: endpoint { > + remote-endpoint = <&mini_dp_con_in>; > + }; > + }; > + }; > + }; > +}; > + > &mmc0 { > pinctrl-0 = <&mmc_pins>; > pinctrl-1 = <&mmc_pins>; > @@ -221,6 +310,11 @@ i2c0_pins: i2c0 { > function = "i2c0"; > }; > > + i2c1_pins: i2c1 { > + groups = "i2c1"; > + function = "i2c1"; > + }; > + > keys_pins: keys { > pins = "GP_5_0", "GP_5_1", "GP_5_2"; > bias-pull-up; -- Regards, Laurent Pinchart