From patchwork Tue Feb 27 20:11:28 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 10246005 X-Patchwork-Delegate: horms@verge.net.au Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 0C17360211 for ; Tue, 27 Feb 2018 20:11:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F0C8028A71 for ; Tue, 27 Feb 2018 20:11:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E4F6E28A7A; Tue, 27 Feb 2018 20:11:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BA25F28A71 for ; Tue, 27 Feb 2018 20:11:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751876AbeB0ULe (ORCPT ); Tue, 27 Feb 2018 15:11:34 -0500 Received: from mail-lf0-f65.google.com ([209.85.215.65]:34202 "EHLO mail-lf0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751587AbeB0ULc (ORCPT ); Tue, 27 Feb 2018 15:11:32 -0500 Received: by mail-lf0-f65.google.com with SMTP id l191so139372lfe.1 for ; Tue, 27 Feb 2018 12:11:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogentembedded-com.20150623.gappssmtp.com; s=20150623; h=subject:from:to:cc:references:organization:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=VXc9Hc9dSnC1y97SGom2CAUQD0bsfao2fdHbdPnVKJM=; b=n0FcCrBFrQ0moqmo1/jI38G2qfEXdvf2lXwgR3gxP/RBOEBMTlXLieSprcoKDwj2r0 Z7zs9t1qU16ICzaVEicrElpmatv6utMNbQR7roUWO5dPP7VyKnOuF3jcT8rF74OU7doH aXOo1BkGfEljd2PSzDxBgLVC4vHY8mnpSSAY+S3lCstMgad9ukaKehEUPFfBZmgmkd3k OsjDb5zeO5VCOYlhRNBS69WTAzq+fqP9ghUwmafBJCH4a/NkFmFT3AmxjKGshLJ+qFyl YHd9rB6cDa+V7FraZ6dHosiaLNd5G+iOT2JsFRPZXt7hMr0Ju5eNgbntbNKlWSnvGsIi dc5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:cc:references:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=VXc9Hc9dSnC1y97SGom2CAUQD0bsfao2fdHbdPnVKJM=; b=rmSh3G1e4ARgoGU5Wrssx80dwfCCKjLhk26d4ZDvLwVz2rs9ndJ7i2L4sLXgBFLzEZ MYSYBPbUDMQjK1EZ2Ks1HJG7JV05fBcfZBs+udatcWgpkHF8/c0j8dsMRo1nL3pe6w8G dbzCwuj3Gk9fZrS/2G6JXv1qzfSevf0avMAThvng15SA+08DgyRIKnrRjM2KkMx0xNCd BhR7HcRE01ZU95BzbLx/n7bDn7RLLD3oeJsy4v7HzOrOuUquyjXdW7dvrmNteWwKuTmd jEtUp3yF/5QT3DBSsbvoxOlxI72Fst2nEiZ2O7MYEZwaUObOu57RymbD/aizn0OPvGJk RoIA== X-Gm-Message-State: APf1xPBw6TUqpDZOj8dkVp+I2ydw+/6qeYcoJ1nWls7OxwFsU+OdXYyz FYz63jTyB5J6mEABJ/4li+2KJA== X-Google-Smtp-Source: AH8x2263qpQE6jlWwtKVe3IVxpu+zEMsX8ylqrd2UmXKhndLAq63REmlDIa5fe8uXxuof9SGHkFlqg== X-Received: by 10.25.21.101 with SMTP id l98mr11718516lfi.139.1519762290921; Tue, 27 Feb 2018 12:11:30 -0800 (PST) Received: from wasted.cogentembedded.com ([31.173.86.110]) by smtp.gmail.com with ESMTPSA id n2sm2727261ljb.3.2018.02.27.12.11.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 Feb 2018 12:11:30 -0800 (PST) Subject: [PATCH v2 4/5] arm64: dts: renesas: r8a77970: add LVDS support From: Sergei Shtylyov To: Simon Horman , Rob Herring , Catalin Marinas , Will Deacon , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org Cc: Magnus Damm , Mark Rutland , "linux-arm-kernel@lists.infradead.org" References: <23a6ac28-134b-b5dd-69a7-910774c4b8c1@cogentembedded.com> Organization: Cogent Embedded Message-ID: <04a6d33c-b1fc-c20a-2979-1174e9c3f4b0@cogentembedded.com> Date: Tue, 27 Feb 2018 23:11:28 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <23a6ac28-134b-b5dd-69a7-910774c4b8c1@cogentembedded.com> Content-Language: en-MW Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Define the generic R8A77970 part of the LVDS device node. Signed-off-by: Sergei Shtylyov --- Changes in version 2: - resolved rejects and updated atop of the DU support patch; - changed the LVDS node's label/name; - renamed the input/output endpoints' labels; - added the "power-domains" and "resets" properties. arch/arm64/boot/dts/renesas/r8a77970.dtsi | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) Index: renesas/arch/arm64/boot/dts/renesas/r8a77970.dtsi =================================================================== --- renesas.orig/arch/arm64/boot/dts/renesas/r8a77970.dtsi +++ renesas/arch/arm64/boot/dts/renesas/r8a77970.dtsi @@ -655,6 +655,34 @@ port@1 { reg = <1>; du_out_lvds0: endpoint { + remote-endpoint = <&lvds0_in>; + }; + }; + }; + }; + + lvds0: lvds-encoder@feb90000 { + compatible = "renesas,r8a77970-lvds"; + reg = <0 0xfeb90000 0 0x14>; + clocks = <&cpg CPG_MOD 727>; + power-domains = <&sysc R8A77970_PD_ALWAYS_ON>; + resets = <&cpg 727>; + status = "disabled"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + lvds0_in: endpoint { + remote-endpoint = + <&du_out_lvds0>; + }; + }; + port@1 { + reg = <1>; + lvds0_out: endpoint { }; }; };