From patchwork Tue Oct 7 05:04:56 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gyungoh Yoo X-Patchwork-Id: 397007 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 19AD51400B5 for ; Tue, 7 Oct 2014 16:05:08 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752325AbaJGFFG (ORCPT ); Tue, 7 Oct 2014 01:05:06 -0400 Received: from mail-pa0-f42.google.com ([209.85.220.42]:60131 "EHLO mail-pa0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751277AbaJGFFF (ORCPT ); Tue, 7 Oct 2014 01:05:05 -0400 Received: by mail-pa0-f42.google.com with SMTP id bj1so6544047pad.15 for ; Mon, 06 Oct 2014 22:05:04 -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=UGR3IAFfdph0zb3CzpmCsDfqd1rHNcarafh+Qmf39hc=; b=EvhgHbtAUgm5AIaIiU2hzU5EZudTyLrCHXIulRx+GTJF44g+sdUJ5mzT1xW9Fq7Sp5 bkDr7Od2fl8kPeEtVbqF9Pt8qpWNZHlBbBaLR7cOA0D+5tN772EwLUazhm5gwuuYJ0fg 1KWjrIHSHk1nyd8NsJobQAl+klq3Dtam3s8zLAE3Gaw61CxFatzAAdBrW2TbFbrVDHTY ScpsgS88t7s0stvPDK6KyAaeB70GsUaepmChoscf3Y7f/H72lF4p+xnuhkHBkWO02gft k45RRfaveSoPcHB9u4b2PQdRQw6Bz2LjToIhU6ZPmGzxFwf3CiyyiIlGihpUmnKHR68g B7/Q== X-Received: by 10.66.145.35 with SMTP id sr3mr1327072pab.55.1412658304675; Mon, 06 Oct 2014 22:05:04 -0700 (PDT) Received: from jack-ThinkPad-T520.ad.skynet ([220.117.184.244]) by mx.google.com with ESMTPSA id dh14sm15062757pac.17.2014.10.06.22.05.01 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 06 Oct 2014 22:05:04 -0700 (PDT) From: Gyungoh Yoo X-Google-Original-From: Gyungoh Yoo To: robh+dt@kernel.org, pawel.moll@arm.com Cc: mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, jack.yoo@skyworksinc.com Subject: [RESUBMIT PATCH v3 4/8] devicetree: backlight: add new SKY81452 backlight binding Date: Tue, 7 Oct 2014 14:04:56 +0900 Message-Id: <1412658296-8038-1-git-send-email-jack.yoo@skyworksinc.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1412657745-7812-1-git-send-email-jack.yoo@skyworksinc.com> References: <1412657745-7812-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 Signed-off-by: Gyungoh Yoo --- .../video/backlight/sky81452-backlight.txt | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/video/backlight/sky81452-backlight.txt diff --git a/Documentation/devicetree/bindings/video/backlight/sky81452-backlight.txt b/Documentation/devicetree/bindings/video/backlight/sky81452-backlight.txt new file mode 100644 index 0000000..2c2d947 --- /dev/null +++ b/Documentation/devicetree/bindings/video/backlight/sky81452-backlight.txt @@ -0,0 +1,24 @@ +SKY81452-backlight bindings + +Required properties: +- compatible : Must be "skyworks,sky81452-backlight" + +Optional properties: +- name : Name of backlight device. Default is 'lcd-backlight'. +- gpio-enable : GPIO to use to EN pin. +- enable : Enable mask for current sink channel 1 to 6. +- ignore-pwm : Ignore both PWM input +- dpwm-mode : Enable DPWM dimming mode, otherwise Analog dimming mode +- phase-shift : Enable phase shift mode +- ovp-level : Over-voltage protection level. Should be between 14 or 28V. +- short-detection-threshold : It should be one of 4, 5, 6 and 7V. +- boost-current-limit : It should be one of 800, 1100 and 1500mA. + +Example: + + backlight { + compatible = "skyworks,sky81452-backlight"; + name = "pwm-backlight"; + enable = <0x3F>; + ignore-pwm; + };