From patchwork Mon Feb 16 16:58:51 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulrich Hecht X-Patchwork-Id: 5834051 X-Patchwork-Delegate: horms@verge.net.au Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 7A23C9F30C for ; Mon, 16 Feb 2015 16:59:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A1130200F2 for ; Mon, 16 Feb 2015 16:59:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AEF022013D for ; Mon, 16 Feb 2015 16:59:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755381AbbBPQ7d (ORCPT ); Mon, 16 Feb 2015 11:59:33 -0500 Received: from mail-wg0-f52.google.com ([74.125.82.52]:41721 "EHLO mail-wg0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753219AbbBPQ7c (ORCPT ); Mon, 16 Feb 2015 11:59:32 -0500 Received: by mail-wg0-f52.google.com with SMTP id x12so20612167wgg.11 for ; Mon, 16 Feb 2015 08:59:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=j1DDQyMirlyNq8FfKpRdZcFuSi395QfS6z5282djUfE=; b=XgdRFuK8uEJo0lidgccAoDwJyvfWy4wl1+XU+f4+qRFAFFxXT9vT3DpcjNcMmE9+ub rzFYCp2FSKn/DzT5BEKIJeXJxR+FqRVZOCN1XZw/o2af5cpIQcc4Cxs/yggk4svymLjP TOA81ZSpUkkvgzK1TuVu4B6SIMBeS8fjG9gTUiEVl8S27SjNXwFn4kg0pJjGeSZ496mo DX5c56bVBIqMxspXEN0r5sYN19727PC/rkXVkGkKXXnyY/ZaQJVlYXnOIYErS5Zv/hPT fKayTnb5uhpNSVHmYDRbmkKnAAKafobm69h5yBBRmVCB8fAiMMjVIiczjIyFaX1rEyLn Ct+g== X-Received: by 10.194.63.206 with SMTP id i14mr52881145wjs.107.1424105971034; Mon, 16 Feb 2015 08:59:31 -0800 (PST) Received: from groucho.site (ipbcc0217c.dynamic.kabel-deutschland.de. [188.192.33.124]) by mx.google.com with ESMTPSA id dj5sm23633780wjb.28.2015.02.16.08.59.29 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Feb 2015 08:59:30 -0800 (PST) From: Ulrich Hecht To: horms@verge.net.au, linux-sh@vger.kernel.org, geert@linux-m68k.org, laurent.pinchart+renesas@ideasonboard.com, kuninori.morimoto.gx@renesas.com Cc: magnus.damm@gmail.com, sergei.shtylyov@cogentembedded.com, mturquette@linaro.org, Ulrich Hecht Subject: [PATCH v3 07/15] ARM: shmobile: bockw: add devices hooked up to i2c0 to DT Date: Mon, 16 Feb 2015 17:58:51 +0100 Message-Id: <1424105939-4910-8-git-send-email-ulrich.hecht+renesas@gmail.com> X-Mailer: git-send-email 2.2.2 In-Reply-To: <1424105939-4910-1-git-send-email-ulrich.hecht+renesas@gmail.com> References: <1424105939-4910-1-git-send-email-ulrich.hecht+renesas@gmail.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=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_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 Cameras, RTC, and ak4643 sound codec. Signed-off-by: Ulrich Hecht Acked-by: Geert Uytterhoeven Acked-by: Laurent Pinchart Acked-by: Wolfram Sang --- .../devicetree/bindings/i2c/trivial-devices.txt | 1 + arch/arm/boot/dts/r8a7778-bockw.dts | 25 ++++++++++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/Documentation/devicetree/bindings/i2c/trivial-devices.txt b/Documentation/devicetree/bindings/i2c/trivial-devices.txt index 9f4e382..b6fe29e 100644 --- a/Documentation/devicetree/bindings/i2c/trivial-devices.txt +++ b/Documentation/devicetree/bindings/i2c/trivial-devices.txt @@ -75,6 +75,7 @@ nxp,pca9556 Octal SMBus and I2C registered interface nxp,pca9557 8-bit I2C-bus and SMBus I/O port with reset nxp,pcf8563 Real-time clock/calendar nxp,pcf85063 Tiny Real-Time Clock +oki,ml86v7667 OKI ML86V7667 video decoder ovti,ov5642 OV5642: Color CMOS QSXGA (5-megapixel) Image Sensor with OmniBSI and Embedded TrueFocus pericom,pt7c4338 Real-time Clock Module plx,pex8648 48-Lane, 12-Port PCI Express Gen 2 (5.0 GT/s) Switch diff --git a/arch/arm/boot/dts/r8a7778-bockw.dts b/arch/arm/boot/dts/r8a7778-bockw.dts index 7347223..280a922 100644 --- a/arch/arm/boot/dts/r8a7778-bockw.dts +++ b/arch/arm/boot/dts/r8a7778-bockw.dts @@ -59,6 +59,31 @@ }; }; +&i2c0 { + status = "okay"; + + ak4643: sound-codec@12 { + compatible = "asahi-kasei,ak4643"; + #sound-dai-cells = <0>; + reg = <0x12>; + }; + + camera@41 { + compatible = "oki,ml86v7667"; + reg = <0x41>; + }; + + camera@43 { + compatible = "oki,ml86v7667"; + reg = <0x43>; + }; + + rx8581: rtc@51 { + compatible = "epson,rx8581"; + reg = <0x51>; + }; +}; + &mmcif { pinctrl-0 = <&mmc_pins>; pinctrl-names = "default";