From patchwork Tue May 6 20:47:59 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 4124131 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id DD259BFF02 for ; Tue, 6 May 2014 20:47:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1CBB7201FA for ; Tue, 6 May 2014 20:47:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4846A20268 for ; Tue, 6 May 2014 20:47:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754820AbaEFUrw (ORCPT ); Tue, 6 May 2014 16:47:52 -0400 Received: from mail-lb0-f174.google.com ([209.85.217.174]:47728 "EHLO mail-lb0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755370AbaEFUrt (ORCPT ); Tue, 6 May 2014 16:47:49 -0400 Received: by mail-lb0-f174.google.com with SMTP id n15so53836lbi.5 for ; Tue, 06 May 2014 13:47:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:subject:cc:from:organization:date :mime-version:content-type:content-transfer-encoding:message-id; bh=amFMkKX+C3yfs20LlKckVajJSwi4UdAxkImcrIyGoeQ=; b=hC5CkHhFCyUWNQvnpiOhcZvvFLeQaKgPsuIgVnAVFlB8iYY7HMFikzI2fwGiLk3JR9 Y9QJa4xrdSZ+Ssid0nCiKpNLoU90vCf/crqmS+XV5LKBlPmE1TaEnc/QzqS7mRoJM5OF Y1RPl/AWPrZ5h9jSv9188s+BHyd0izJO39HJkEsVNoMOI/skikfa5XTPRO3jgu94y3/b ofojiVPiPpgcKDMHgALKzx96xRNX7KGSfTuj4RY4gKa2mcvdqHpVLrpI5VyP0R449yOk fdJAo168RxqPtIgmTLbyqR9069J/qQZwTy8JbvmI7vtLm/xO4hRY8nsizOzHXxhtV5I8 LpHQ== X-Gm-Message-State: ALoCoQn27pbbr2wnmt2vW1cBlNN4sjh0ZdNC7V4UZrnGBOg4/7aYG70Dy3z/ZuGCzg/G7uNHgHRu X-Received: by 10.112.52.167 with SMTP id u7mr19406871lbo.28.1399409267344; Tue, 06 May 2014 13:47:47 -0700 (PDT) Received: from wasted.cogentembedded.com (ppp83-237-57-35.pppoe.mtu-net.ru. [83.237.57.35]) by mx.google.com with ESMTPSA id ms3sm14824369lbb.17.2014.05.06.13.47.46 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 06 May 2014 13:47:46 -0700 (PDT) To: horms@verge.net.au, linux-sh@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH] ARM: shmobile: henninger: add MSIOF0 DT support Cc: robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, magnus.damm@gmail.com, linux@arm.linux.org.uk, linux-arm-kernel@lists.infradead.org From: Sergei Shtylyov Organization: Cogent Embedded Date: Wed, 7 May 2014 00:47:59 +0400 MIME-Version: 1.0 Message-Id: <201405070048.00213.sergei.shtylyov@cogentembedded.com> Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Define the Henninger board dependent part of the MSIOF0 device node. Add device node for Renesas R2A11302FT PMIC for which no bindings exist yet. Based on the Koelsch MSIOF device tree patch by Geert Uytterhoeven. Signed-off-by: Sergei Shtylyov --- This patch is against 'renesas-devel-v3.15-rc3-20140502' tag of Simon Horman's 'renesas.git' repo and SDHI0/2 and QSPI DT support patches posted recently. arch/arm/boot/dts/r8a7791-henninger.dts | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Index: renesas/arch/arm/boot/dts/r8a7791-henninger.dts =================================================================== --- renesas.orig/arch/arm/boot/dts/r8a7791-henninger.dts +++ renesas/arch/arm/boot/dts/r8a7791-henninger.dts @@ -114,6 +114,12 @@ renesas,groups = "qspi_ctrl", "qspi_data4"; renesas,function = "qspi"; }; + + msiof0_pins: spi1 { + renesas,groups = "msiof0_clk", "msiof0_sync", "msiof0_rx", + "msiof0_tx"; + renesas,function = "msiof0"; + }; }; &scif0 { @@ -195,3 +201,18 @@ }; }; }; + +&msiof0 { + pinctrl-0 = <&msiof0_pins>; + pinctrl-names = "default"; + + status = "okay"; + + pmic@0 { + compatible = "renesas,r2a11302ft"; + reg = <0>; + spi-max-frequency = <6000000>; + spi-cpol; + spi-cpha; + }; +};