From patchwork Thu Aug 28 10:56:19 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gyungoh Yoo X-Patchwork-Id: 383777 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id E4F7C14008C for ; Thu, 28 Aug 2014 20:56:51 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965765AbaH1K4e (ORCPT ); Thu, 28 Aug 2014 06:56:34 -0400 Received: from mail-pa0-f50.google.com ([209.85.220.50]:51169 "EHLO mail-pa0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965551AbaH1K4c (ORCPT ); Thu, 28 Aug 2014 06:56:32 -0400 Received: by mail-pa0-f50.google.com with SMTP id kq14so2056109pab.23 for ; Thu, 28 Aug 2014 03:56:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=imnrIA9+riqkfATrEAE5JU3XS23u8ZKjTqxwLZglOJA=; b=Z9v7U2cOUsyNnOm6IzdtF6Vhl1tOqAD4j2JOdxSGeuMy60ybLtnhL6O3hPXyCvn2Dn JiE95MwNB8ZQYZIFebSQfHi1njpxuXqKp448TzGA5IqFk6+5Fqmx9GWBau5Q4DEV9M1M b48A4O/QiM0o/a6w2ZWSTqvOws0BTmPKNrnOnj2LD57WC2b3pj6JuF7VQTkJSKWqrPsl /TGDcmIsyus1hT+0FuCLIcbi5q0fVFlaoYyAKwo5p5EyJUa2eJf0pa0C4Es9A94xS1xk GOgDynLnFfYtodPzqIzc3X53GjxChK6USnylTIcx4R8kWoemA+lMESH6HvOa9jHDmsvQ p9cg== X-Received: by 10.66.169.42 with SMTP id ab10mr4573658pac.138.1409223389728; Thu, 28 Aug 2014 03:56:29 -0700 (PDT) Received: from jack-ThinkPad-T520.ad.skynet ([220.117.184.244]) by mx.google.com with ESMTPSA id hp1sm3163619pbb.77.2014.08.28.03.56.24 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 28 Aug 2014 03:56:29 -0700 (PDT) From: Gyungoh Yoo X-Google-Original-From: Gyungoh Yoo To: robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org Cc: jason@lakedaemon.net, linux@roeck-us.net, broonie@linaro.org, arno@natisbad.org, peterhuewe@gmx.de, andrew@lunn.ch, jgunthorpe@obsidianresearch.com, hs@denx.de, mfuzzey@parkeon.com, jack.yoo@skyworksinc.com, florian.vaussard@epfl.ch, heiko.stuebner@bqreaders.com, thierry.reding@gmail.com, silvio.fricke@gmail.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 4/7] Adding SKY81452 MFD device tree bindings document Date: Thu, 28 Aug 2014 19:56:19 +0900 Message-Id: <1409223379-23508-1-git-send-email-jack.yoo@skyworksinc.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1409222307-23225-1-git-send-email-jack.yoo@skyworksinc.com> References: <1409222307-23225-1-git-send-email-jack.yoo@skyworksinc.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org v2: Added 'reg' attribute for I2C address in device tree documents --- .../devicetree/bindings/i2c/trivial-devices.txt | 1 + Documentation/devicetree/bindings/mfd/sky81452.txt | 32 ++++++++++++++++++++++ .../devicetree/bindings/vendor-prefixes.txt | 1 + 3 files changed, 34 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/sky81452.txt diff --git a/Documentation/devicetree/bindings/i2c/trivial-devices.txt b/Documentation/devicetree/bindings/i2c/trivial-devices.txt index 6af570e..ff77879 100644 --- a/Documentation/devicetree/bindings/i2c/trivial-devices.txt +++ b/Documentation/devicetree/bindings/i2c/trivial-devices.txt @@ -78,6 +78,7 @@ ramtron,24c64 i2c serial eeprom (24cxx) ricoh,rs5c372a I2C bus SERIAL INTERFACE REAL-TIME CLOCK IC samsung,24ad0xd1 S524AD0XF1 (128K/256K-bit Serial EEPROM for Low Power) sii,s35390a 2-wire CMOS real-time clock +skyworks,sky81452 Skyworks SKY81452: Six-Channel White LED Driver with Touch Panel Bias Supply st-micro,24c256 i2c serial eeprom (24cxx) stm,m41t00 Serial Access TIMEKEEPER stm,m41t62 Serial real-time clock (RTC) with alarm diff --git a/Documentation/devicetree/bindings/mfd/sky81452.txt b/Documentation/devicetree/bindings/mfd/sky81452.txt new file mode 100644 index 0000000..d61904a --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/sky81452.txt @@ -0,0 +1,32 @@ +SKY81452 bindings + +Required properties: +- compatible : Must be "skyworks,sky81452" +- reg : I2C slave address + +Required child nodes: +- backlight : container node for backlight following the binding + in video/backlight/sky81452-backlight.txt +- regulator : container node for regulators following the binding + in regulator/sky81452-regulator.txt + +Example: + + sky81452@2c { + compatible = "skyworks,sky81452"; + reg = <0x2c>; + + backlight { + compatible = "skyworks,sky81452-backlight"; + name = "pwm-backlight"; + enable = <0x3F>; + ignore-pwm; + }; + + regulator { + compatible = "skyworks,sky81452-regulator"; + regulator-name = "touch_en"; + regulator-min-microvolt = <4500000>; + regulator-max-microvolt = <8000000>; + }; + }; diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index ac7269f..c755978 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.txt +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt @@ -125,6 +125,7 @@ silabs Silicon Laboratories simtek sii Seiko Instruments, Inc. sirf SiRF Technology, Inc. +skyworks Skyworks Solutions, Inc. smsc Standard Microsystems Corporation snps Synopsys, Inc. solidrun SolidRun