Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp3150681ybf; Tue, 3 Mar 2020 00:11:11 -0800 (PST) X-Google-Smtp-Source: ADFU+vtF+LYzvLGup13ZO7giv9PMucTl1k7YhJxqTgrEQdNsAaoQvluxzJEzA2OE4NUMBFY0relh X-Received: by 2002:aca:ab0c:: with SMTP id u12mr1595570oie.171.1583223070941; Tue, 03 Mar 2020 00:11:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583223070; cv=none; d=google.com; s=arc-20160816; b=Yneihd1WGwyCSvpcya+B62SopMIdAUMDAUm2lL5ona4F8zauEcOKIyGqCYib5d1tY1 j2xFAmUiiEuU5j3ZTcOYZfvCQg3GBDjvWgNnthj97lB9ZLTaF2FSWZCeZ6+0gwz9cwBG At6yRE6bLSunnZfnqB6v87We+EHdiriTjEaCqMKHWcz48nBktT21PH8zfYt9hgPDzNOH 5wmXhniKFMPc9mblCeciuyJDNj/cjhshXT3q+0aMncEx/OgIQhjIsSAYENXhJp94NRVb roknpM9+Iv9kCPGyTaWzl0E5B7Q/0XSNqi92FVuL69+SchjTfthGwDV5RGZI+e6ga8mZ TA/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=L4V0nO6YoFQC+VrJorOZx6spYOy7Y14kJjuP4AbSkIU=; b=SYFineRDsXU3Oy0UyJ38FTZY6JQJWHMrPIvfufJ0e2a0jwh63HKd5mpRwz9NuqvKmk Ov/fh5mkwkh2m41UJXQh/fUnWMKGOSWxLty62WShayoC91BuS6Xxgq+a3ikugb4fJP4K FZJZ4GiCJJB6/aQju7vHf7Bvv3ZW1Dw2CbTc7+LnKLdKGmin8ppS7fvgt7XYd2R7je3E +vDaPzNAJTAMrw2VzT7FNa1cqGYsyMmwmTzWwlvXd7MmpxXF7+P/9TZpoA6C1R5g6T3E cFgnSOZ4tiyJxmzAZbFfYuunqnBYpqnuYxrBKPQ47TmGc945+Bm/vWi0LX3cSVAFpfwF F18w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 19si7908285oip.93.2020.03.03.00.10.58; Tue, 03 Mar 2020 00:11:10 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727806AbgCCIKp (ORCPT + 99 others); Tue, 3 Mar 2020 03:10:45 -0500 Received: from mail-ot1-f67.google.com ([209.85.210.67]:44266 "EHLO mail-ot1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727654AbgCCIKp (ORCPT ); Tue, 3 Mar 2020 03:10:45 -0500 Received: by mail-ot1-f67.google.com with SMTP id v22so2086552otq.11; Tue, 03 Mar 2020 00:10:44 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=L4V0nO6YoFQC+VrJorOZx6spYOy7Y14kJjuP4AbSkIU=; b=PbEXrlLp2334WdUN/e3b5ckICpiQ2Evoi8UpHxP8GJsMYA2UUvO6rlcORMKf2BkhdH ZeqoxIONQgyJJlrOENvUEGyDXH6HTGGmkXdnnDNSkh68g2E+YsHYQ0chZYTxf28b8h6B H7abpILC//Ix7/rv5i7eBiGJsGFiif1aCZx5EYalhPGGqQGv7fzNDXivn2XIl6T4ic/c oEtYAvImfq9QlS9kgcLptAetwQHMLqPxVxH1dpEg3dQHY3mBEiiVEBLU1Z8kRrkIzlYF ELYpIswcGQvyKSm2SkLrtRZeC6D7liGqQAwinja7zUASR5758gmJspOuu8JyJg5R0ppL wyVg== X-Gm-Message-State: ANhLgQ1u9Dx8hWyr3gK3CEzhLBINNtYVdCs5WHAznzOgI0+/bnaTjlu1 LcNLZ0NEs5nllwmlpkXUKyyvJSxOnfji+y46A7w= X-Received: by 2002:a9d:5c0c:: with SMTP id o12mr2470704otk.145.1583223044438; Tue, 03 Mar 2020 00:10:44 -0800 (PST) MIME-Version: 1.0 References: <20200228170210.18252-1-prabhakar.mahadev-lad.rj@bp.renesas.com> In-Reply-To: From: Geert Uytterhoeven Date: Tue, 3 Mar 2020 09:10:33 +0100 Message-ID: Subject: Re: [PATCH] arm64: dts: renesas: r8a774c0-cat874: Add support for AISTARVISION MIPI Adapter V2.1 To: "Lad, Prabhakar" Cc: Magnus Damm , Rob Herring , Mark Rutland , Linux Kernel Mailing List , Linux-Renesas , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Lad Prabhakar , Linux Media Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Lad, On Tue, Mar 3, 2020 at 8:51 AM Lad, Prabhakar wrote: > On Mon, Mar 2, 2020 at 3:57 PM Geert Uytterhoeven wrote: > > On Fri, Feb 28, 2020 at 6:02 PM Lad Prabhakar > > wrote: > > > This patch adds support AISTARVISION MIPI Adapter V2.1 board connected > > > to G2E board. Common file aistarvision-mipi-adapter-2.1.dtsi is created > > > which have the camera endpoint nodes with disabled status and in > > > r8a774c0-ek874-mipi-2.1.dts file VIN/CSI nodes are enabled. By default > > > imx219 endpoint is tied with CSI2. > > > > > > Signed-off-by: Lad Prabhakar > > > --- /dev/null > > > +++ b/arch/arm64/boot/dts/renesas/r8a774c0-ek874-mipi-2.1.dts > > > + > > > +&ov5645 { > > > + /* uncomment status and remote-endpoint properties to tie ov5645 > > > + * to CSI2 also make sure remote-endpoint for imx219 camera is > > > + * commented and remote endpoint in csi40_in is ov5645_ep > > > + */ > > > + /* status = "okay"; */ > > > + > > > + #address-cells = <1>; > > > + #size-cells = <0>; > > > > #{address,size}-cells not needed. > > > agreed will drop it. > > > > + enable-gpios = <&gpio5 5 GPIO_ACTIVE_HIGH>; > > > + reset-gpios = <&gpio5 3 GPIO_ACTIVE_LOW>; > > > + > > > + clocks = <&cpg CPG_MOD 716>; > > > + clock-frequency = <24000000>; > > > > I know this is dictated by the DT bindings for the ov5645 camera, but > > specifying a clock rate is usually done through assigned-clock-rates, > > cfr. Documentation/devicetree/bindings/clock/clock-bindings.txt. > > > agreed will replace it. Note that doing so means you have to fix the ov5645 driver, too. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds