From patchwork Thu Aug 28 11:00:01 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gyungoh Yoo X-Patchwork-Id: 383779 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 EC42E1400B6 for ; Thu, 28 Aug 2014 21:00:14 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965297AbaH1LAN (ORCPT ); Thu, 28 Aug 2014 07:00:13 -0400 Received: from mail-pa0-f49.google.com ([209.85.220.49]:45566 "EHLO mail-pa0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965139AbaH1LAM (ORCPT ); Thu, 28 Aug 2014 07:00:12 -0400 Received: by mail-pa0-f49.google.com with SMTP id kq14so2073273pab.8 for ; Thu, 28 Aug 2014 04:00:11 -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=OtZe4hQCLvcq2wY2Fb8q0xFH41Rq/NRBJ1hcWwDlDKM=; b=hAplhd/5lH5znpaEHAgvBcynBgmTfOZtpLu5ubvx5x6y4hBWbFcolNvZMXPqDTucnx XGr1iahwab/G9m/NzlSHxYM5Abk2eSsAziENS0uJjK/dU1J1H2n1VUfs4/Bn2V1Alo1S B0nezPrgvicnavOLyEBj1Upcc8tO61eoD/QbZhSL3R6OachxtVp9ZW+rgdzKPMlJSimm On0cNX5opthWWlVAjPTsedizGP84+iZCPYxlf9bJHec4N2YuMeq++CuSKRs5f1JQxjyA K78SHdClM2qSHah+4yxDfEYuCmuBsU3sq7Bcf0ywlFeBYec0uwsHyaTLrWb9i547tyhR kb+Q== X-Received: by 10.68.194.66 with SMTP id hu2mr4637244pbc.19.1409223610722; Thu, 28 Aug 2014 04:00:10 -0700 (PDT) Received: from jack-ThinkPad-T520.ad.skynet ([220.117.184.244]) by mx.google.com with ESMTPSA id ga1sm3172164pbd.78.2014.08.28.04.00.07 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 28 Aug 2014 04:00:10 -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: jack.yoo@skyworksinc.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 6/7] Adding SKY81452 backlight device tree bindings document Date: Thu, 28 Aug 2014 20:00:01 +0900 Message-Id: <1409223601-23619-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 'compatible' attribute in child drivers --- .../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; + };