From patchwork Wed Jun 14 14:38:50 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulrich Hecht X-Patchwork-Id: 9786359 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 A9CC160384 for ; Wed, 14 Jun 2017 14:39:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9DC17285AE for ; Wed, 14 Jun 2017 14:39:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9291F285E1; Wed, 14 Jun 2017 14:39:17 +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.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID 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 4B260285AE for ; Wed, 14 Jun 2017 14:39:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752053AbdFNOjQ (ORCPT ); Wed, 14 Jun 2017 10:39:16 -0400 Received: from mail-lf0-f66.google.com ([209.85.215.66]:33764 "EHLO mail-lf0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751688AbdFNOjO (ORCPT ); Wed, 14 Jun 2017 10:39:14 -0400 Received: by mail-lf0-f66.google.com with SMTP id u62so384591lfg.0; Wed, 14 Jun 2017 07:39:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=l7MP+TtNXnmMez/0Ym7JuLU12MbSsY1nGY/2j0LLbhk=; b=G00h5ojacbGnFUIln2G/en2AR/sT8Um6s20LLXkCIuyM7xFCB8XQmziyMrCfJS1hMw fFA0f0g84w2in/VlpaFHYFHJ+2lVD4Bv/JYqv/PLq4EAFOOG4+6a1WtWkr1RDuAmdGG8 61LdI+86y44Oex735QJdpeQvrwyPLC9+It7aCWBKMZP3OViwDcQtMn/qi64l+CqO2wq6 17UCxzC4UJBMrFDUaupY90ne9ql2q974YiO7mTdgFpSLRbU0xxS31YXB+VZWdthHFw25 fmb5I5KMJJIApQWe1mcIwOe+V1eFaKprO5XwciKFsj/mpBTXisd+jf3kv0pTlVKNuuhr S1/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=l7MP+TtNXnmMez/0Ym7JuLU12MbSsY1nGY/2j0LLbhk=; b=Y1uqbVmgRcdh/DfQdNf6cfHoMerhDZoMH7HJ4dp7vZBOr6yM3fBLTS8BXmYFSHTX/2 L1cUZng4LOWWyyKlrnTEvYCq4Q4yQVfZiJRDQV0rQ6AX2k1yUWjT0gL3kJ2/u8nXGNEV ikpvnV0jXFSsAkZ9sjv0NVFx9pg1BE9Q8nKHg4v0wpsKKgP7g7hsSge+jVmui/YxK+PQ RJhxirjQZXEFDmV7ug+dWzJNBQ83QKS0CAmdwUFG8YNY6rM1ztFVHt5F0lzqNYGn0uKQ PhBouqUk1i0nHGb1v+GME106M/hF2BXWAynpw9HC3shu4sGCX/3pv1fNJXYZBKvYs6I9 V/vw== X-Gm-Message-State: AKS2vOwbs5LiuB7gNZdEA5FMhif1Kk6Awep1EyCn8+pqbNLc79JMlxHq ZgiFW/H9z1Swmw== X-Received: by 10.80.177.28 with SMTP id k28mr346915edd.22.1497451152243; Wed, 14 Jun 2017 07:39:12 -0700 (PDT) Received: from groucho.site (ipbcc28001.dynamic.kabel-deutschland.de. [188.194.128.1]) by smtp.gmail.com with ESMTPSA id t17sm137330edd.69.2017.06.14.07.39.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 14 Jun 2017 07:39:11 -0700 (PDT) From: Ulrich Hecht To: robh@kernel.org, linux-serial@vger.kernel.org Cc: linux-renesas-soc@vger.kernel.org, magnus.damm@gmail.com, laurent.pinchart@ideasonboard.com, wsa@the-dreams.de, linux-i2c@vger.kernel.org, Ulrich Hecht Subject: [RFC 4/4] ARM: dts: blanche: add SCIF1 and MAX9260 deserializer Date: Wed, 14 Jun 2017 16:38:50 +0200 Message-Id: <1497451130-7741-5-git-send-email-ulrich.hecht+renesas@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1497451130-7741-1-git-send-email-ulrich.hecht+renesas@gmail.com> References: <1497451130-7741-1-git-send-email-ulrich.hecht+renesas@gmail.com> 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 Adds serial port SCIF1 and the MAX9260 deserializers connected to it. Signed-off-by: Ulrich Hecht --- arch/arm/boot/dts/r8a7792-blanche.dts | 45 +++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/arch/arm/boot/dts/r8a7792-blanche.dts b/arch/arm/boot/dts/r8a7792-blanche.dts index 9b67dca..281484d 100644 --- a/arch/arm/boot/dts/r8a7792-blanche.dts +++ b/arch/arm/boot/dts/r8a7792-blanche.dts @@ -21,6 +21,7 @@ aliases { serial0 = &scif0; serial1 = &scif3; + serial2 = &scif1; }; chosen { @@ -202,6 +203,11 @@ function = "scif0"; }; + scif1_pins: scif1 { + groups = "scif1_data"; + function = "scif1"; + }; + scif3_pins: scif3 { groups = "scif3_data"; function = "scif3"; @@ -246,6 +252,45 @@ status = "okay"; }; +&scif1 { + pinctrl-0 = <&scif1_pins>; + pinctrl-names = "default"; + + status = "okay"; + + mux-select-gpios = <&gpio5 12 GPIO_ACTIVE_LOW>, + <&gpio5 13 GPIO_ACTIVE_LOW>, + <&gpio5 14 GPIO_ACTIVE_LOW>, + <&gpio5 15 GPIO_ACTIVE_LOW>; + + #address-cells = <1>; + #size-cells = <0>; + gmsl-deserializer@0 { + compatible = "maxim,max9260"; + reg = <0x8>; + }; + gmsl-deserializer@1 { + compatible = "maxim,max9260"; + reg = <0x9>; + }; + gmsl-deserializer@2 { + compatible = "maxim,max9260"; + reg = <0xa>; + }; + gmsl-deserializer@3 { + compatible = "maxim,max9260"; + reg = <0xb>; + }; + gmsl-deserializer@4 { + compatible = "maxim,max9260"; + reg = <0x4>; + }; + gmsl-deserializer@5 { + compatible = "maxim,max9260"; + reg = <0x5>; + }; +}; + &scif3 { pinctrl-0 = <&scif3_pins>; pinctrl-names = "default";