Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp2578826pxx; Sun, 1 Nov 2020 02:59:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJxSoqifreDVKx8Tlmm+D+EtQnzXrWtme8J4t7o6AXqJtGADKgwYsH6f63BI8iCV6VbWxl5l X-Received: by 2002:a17:906:f753:: with SMTP id jp19mr10519660ejb.280.1604228362324; Sun, 01 Nov 2020 02:59:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604228362; cv=none; d=google.com; s=arc-20160816; b=Qc8beCy/NHZGgI7n2fIeec0zBmf1hwdJJSorDRBlpTXTNgF74CSCTlNxzTgyJkoBnt u4SeUmros2UqNdlWgToJGXZAK9N0RuOsXtD70GLZp1X51+9NtPJ/HmYWyUPLzlZ5KI5C 2UDv5k0j2lTcLQ5+iEJMahKmg4Du48cbt9nn4q5uclinHrNburz7l6X4w6KJzafQI5ZF XsjEi9n7S2f0szq+fc06MRvN9KpOEI6PWmBt+mivEbct25sKj7NiwFqa2s0fqK7bGuGK ajbWpcfi/ttJHG4/c13FVxZ/aOfCBa9pXrP8vKULGwBRJHDv/n30AV8TvRVd9JY6tuAk mUnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=/17GZgMTNkF8VxNzIwxzV2HfCmkMK7IFZzrnjfaM7rk=; b=NUkADbgo5mxHGg23IMpg/Arg0vzJL6HXdnuL1Zy4Lvb266l1fC56WZtIgc78zK6SfY 3xJn6+wH3L5BxA7vAWgy5UNXCllbmYAN+uVA8rwQ4hLju4j4Wutu/FdnPdLmxxYpgiCI C8i/S/8PUpNCuGr95fUakzampqzssdWz54n0pQ2/2lb8Alx9/V3Q3niunal9BpJl5Xxk LTDdGYLIKsAfRegDaw01wkqa6ex30jIkmxx/dzLF3Bj9/i5wGDxsnK4bFLnFgH1oQ9cL Po7tFFt67n6wehueArl6Marf2kjRWe/t9Fk6PceMJK2MexoY+danPCGRSKMr3QGs7Nr0 Akdg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y10si8116842ejq.401.2020.11.01.02.58.59; Sun, 01 Nov 2020 02:59:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726412AbgKAKzU (ORCPT + 99 others); Sun, 1 Nov 2020 05:55:20 -0500 Received: from gloria.sntech.de ([185.11.138.130]:46566 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726145AbgKAKzT (ORCPT ); Sun, 1 Nov 2020 05:55:19 -0500 Received: from p57b773f8.dip0.t-ipconnect.de ([87.183.115.248] helo=phil.localnet) by gloria.sntech.de with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kZB13-00032r-5V; Sun, 01 Nov 2020 11:55:17 +0100 From: Heiko Stuebner To: linux-media@vger.kernel.org, Helen Koike Cc: devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org, robh+dt@kernel.org, kernel@collabora.com, hverkuil-cisco@xs4all.nl, dafna.hirschfeld@collabora.com, mark.rutland@arm.com, karthik.poduval@gmail.com, eddie.cai.linux@gmail.com, jbx6244@gmail.com, zhengsq@rock-chips.com, robin.murphy@arm.com Subject: Re: [PATCH v6 9/9] arm64: dts: rockchip: add isp and sensors for Scarlet Date: Sun, 01 Nov 2020 11:55:16 +0100 Message-ID: <14722083.QWuEjnDerj@phil> In-Reply-To: <20201020193850.1460644-10-helen.koike@collabora.com> References: <20201020193850.1460644-1-helen.koike@collabora.com> <20201020193850.1460644-10-helen.koike@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Dienstag, 20. Oktober 2020, 21:38:50 CET schrieb Helen Koike: > From: Eddie Cai > > Enable ISP and camera sensor ov2685 and ov5695 for Scarlet Chromebook > > Verified with: > make ARCH=arm64 dtbs_check > > Signed-off-by: Shunqian Zheng > Signed-off-by: Eddie Cai > Signed-off-by: Tomasz Figa > Signed-off-by: Helen Koike > Reviewed-by: Tomasz Figa looks good, and I'd like to apply this one after the drivers/media-patches of this series got applied. Thanks Heiko > --- > .../boot/dts/rockchip/rk3399-gru-scarlet.dtsi | 74 +++++++++++++++++++ > 1 file changed, 74 insertions(+) > > diff --git a/arch/arm64/boot/dts/rockchip/rk3399-gru-scarlet.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-gru-scarlet.dtsi > index 60cd1c18cd4e0..beee5fbb34437 100644 > --- a/arch/arm64/boot/dts/rockchip/rk3399-gru-scarlet.dtsi > +++ b/arch/arm64/boot/dts/rockchip/rk3399-gru-scarlet.dtsi > @@ -296,6 +296,52 @@ camera: &i2c7 { > > /* 24M mclk is shared between world and user cameras */ > pinctrl-0 = <&i2c7_xfer &test_clkout1>; > + > + /* Rear-facing camera */ > + wcam: camera@36 { > + compatible = "ovti,ov5695"; > + reg = <0x36>; > + pinctrl-names = "default"; > + pinctrl-0 = <&wcam_rst>; > + > + clocks = <&cru SCLK_TESTCLKOUT1>; > + clock-names = "xvclk"; > + > + avdd-supply = <&pp2800_cam>; > + dvdd-supply = <&pp1250_cam>; > + dovdd-supply = <&pp1800_s0>; > + reset-gpios = <&gpio2 5 GPIO_ACTIVE_LOW>; > + > + port { > + wcam_out: endpoint { > + remote-endpoint = <&mipi_in_wcam>; > + data-lanes = <1 2>; > + }; > + }; > + }; > + > + /* Front-facing camera */ > + ucam: camera@3c { > + compatible = "ovti,ov2685"; > + reg = <0x3c>; > + pinctrl-names = "default"; > + pinctrl-0 = <&ucam_rst>; > + > + clocks = <&cru SCLK_TESTCLKOUT1>; > + clock-names = "xvclk"; > + > + avdd-supply = <&pp2800_cam>; > + dovdd-supply = <&pp1800_s0>; > + dvdd-supply = <&pp1800_s0>; > + reset-gpios = <&gpio2 3 GPIO_ACTIVE_LOW>; > + > + port { > + ucam_out: endpoint { > + remote-endpoint = <&mipi_in_ucam>; > + data-lanes = <1>; > + }; > + }; > + }; > }; > > &cdn_dp { > @@ -353,10 +399,38 @@ &io_domains { > gpio1830-supply = <&pp1800_s0>; /* APIO4_VDD; 4c 4d */ > }; > > +&isp0 { > + status = "okay"; > + > + ports { > + port@0 { > + mipi_in_wcam: endpoint@0 { > + reg = <0>; > + remote-endpoint = <&wcam_out>; > + data-lanes = <1 2>; > + }; > + > + mipi_in_ucam: endpoint@1 { > + reg = <1>; > + remote-endpoint = <&ucam_out>; > + data-lanes = <1>; > + }; > + }; > + }; > +}; > + > +&isp0_mmu { > + status = "okay"; > +}; > + > &max98357a { > sdmode-gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>; > }; > > +&mipi_dphy_rx0 { > + status = "okay"; > +}; > + > &mipi_dsi { > status = "okay"; > clock-master; >