From patchwork Fri Dec 25 23:40:12 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pali_Roh=C3=A1r?= X-Patchwork-Id: 7921181 Return-Path: X-Original-To: patchwork-linux-omap@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 510F79F1AF for ; Fri, 25 Dec 2015 23:40:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 877E6203E1 for ; Fri, 25 Dec 2015 23:40:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id ABF44203C2 for ; Fri, 25 Dec 2015 23:40:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754307AbbLYXk0 (ORCPT ); Fri, 25 Dec 2015 18:40:26 -0500 Received: from mail-wm0-f54.google.com ([74.125.82.54]:37704 "EHLO mail-wm0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753788AbbLYXkZ (ORCPT ); Fri, 25 Dec 2015 18:40:25 -0500 Received: by mail-wm0-f54.google.com with SMTP id p187so214240927wmp.0; Fri, 25 Dec 2015 15:40:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:mime-version:content-type :content-transfer-encoding; bh=ggZbIfrF3C1+DcEg2dRbbNdNDSIS3Yt88wFE+pJ01mg=; b=SMjq7Ti2p8klSSRB2zw1Ho4z9Bea9ZDyLkgXU+3WptTIo+xZ7Yn7cwD4myVztLvEgP HN8J+A26PwtyN2W9AbNx0K1pjCrZqKzHRW5jQsueufmiD6Xff0bPsJEaZwwNYiakR78s pbQK6c45Bx5PPh/bc9u/SETmrfwUGqqGZnljBbGHh09wg2IF32xlPADblVI+uKlfGvGj jLgZqxLigwoK9nEQQKdx+qN5eXRwQ4V4eaXcWCSS8QNJrylYcbv0aqxgYuQ73Kn7+Rka sbF6WIhwrcavq5r2V4OUqhVyDCW6ptMUHvmF9MtkYEuMbX5/UtTA5iYu8zGuVOxAdYWq AhLw== X-Received: by 10.28.210.74 with SMTP id j71mr44711101wmg.96.1451086823963; Fri, 25 Dec 2015 15:40:23 -0800 (PST) Received: from localhost.localdomain (ip-88-212-34-237.antik.sk. [88.212.34.237]) by smtp.gmail.com with ESMTPSA id u69sm5227339wmu.20.2015.12.25.15.40.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 Dec 2015 15:40:23 -0800 (PST) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: =?UTF-8?q?Beno=C3=AEt=20Cousson?= , Tony Lindgren , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Russell King , Pavel Machek Cc: linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, =?UTF-8?q?Pali=20Roh=C3=A1r?= Subject: [PATCH] ARM: dts: n900: Include adp1653 device Date: Sat, 26 Dec 2015 00:40:12 +0100 Message-Id: <1451086812-3729-1-git-send-email-pali.rohar@gmail.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@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, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable 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 This patch adds adp1653 device into n900 DT structure. DT support in adp1653 driver is there since v4.2-rc1 version. Signed-off-by: Pali Rohár Acked-by: Pavel Machek --- arch/arm/boot/dts/omap3-n900.dts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts index 5f5e0f3..ba93642 100644 --- a/arch/arm/boot/dts/omap3-n900.dts +++ b/arch/arm/boot/dts/omap3-n900.dts @@ -522,6 +522,21 @@ amstaos,cover-comp-gain = <16>; }; + adp1653: led-controller@30 { + compatible = "adi,adp1653"; + reg = <0x30>; + enable-gpios = <&gpio3 24 GPIO_ACTIVE_HIGH>; /* 88 */ + + flash { + flash-timeout-us = <500000>; + flash-max-microamp = <320000>; + led-max-microamp = <50000>; + }; + indicator { + led-max-microamp = <17500>; + }; + }; + lp5523: lp5523@32 { compatible = "national,lp5523"; reg = <0x32>;