From patchwork Mon Aug 22 19:11:24 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olimpiu Dejeu X-Patchwork-Id: 9294235 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1E5A260574 for ; Mon, 22 Aug 2016 19:12:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 11E9D28A5E for ; Mon, 22 Aug 2016 19:12:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0637D28A6C; Mon, 22 Aug 2016 19:12:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EE53A28A5E for ; Mon, 22 Aug 2016 19:12:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755064AbcHVTLe (ORCPT ); Mon, 22 Aug 2016 15:11:34 -0400 Received: from mail-qt0-f182.google.com ([209.85.216.182]:34755 "EHLO mail-qt0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754599AbcHVTLd (ORCPT ); Mon, 22 Aug 2016 15:11:33 -0400 Received: by mail-qt0-f182.google.com with SMTP id u25so32968045qtb.1 for ; Mon, 22 Aug 2016 12:11:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arcticsand-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=cvT4UvidLsSFJqZ2RQU+Rjrh2yW6y/7oaElOZjlmMvo=; b=QMpzyHPa4OQDHAwlB3dlZv1b9RgsmxAZmFq+PXbALvSjgIEDnD6zRhn5DxloAOqjU4 xlyoJs7I2W0FpXp2EY++QmYalEzvgpPNRPeiVMvOrYM235LqkcfGKr6RXQ5I6ady7nTM jr/KiGHHBN1gmLBgSkiFyc8Sz0cOUIkgs2jA0CeZeErBUs0iygT25iZIRF6SqwVjOdYQ bWtfhQoHNmNC6SwDNL+8ogUj7FljVctZfEP9OPRa5m1jwj/NDkMvwPFvI/5x0SVO1quX 8RWndkCyQtj+dBL+e84Rf+gAUtEg7IeEfJ4JVeAAuX59aN9u7Z2R6sIyKxJJ+ihG5NtM np1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=cvT4UvidLsSFJqZ2RQU+Rjrh2yW6y/7oaElOZjlmMvo=; b=eN+A3+NMtK4yB9ixVeLFEKqkZnJu/FqzAkQ/G9uCOns4Yez4oAWMDVDUq/5Jfy6J99 WCrnhp/5TM9WgEnyNIGH6ael9qc476LRjTRkQnLw2P9ycER0AdSnEEFGKskA8h6FSUWR Dh2GWOTPwnG7ID//wIRIp3vsELy9kvRTGgZuwPWp1Y8QjveACHWsrpAFM6PIHiqIVCFT Ns7T3xGamULSXN/uNKw16KnxiOokOtNKpjzdDjBIB4ZhAXVA2PB0GauyfzLqgYBx4vLm AqRoYMq46XO/2LdYYUesRG1VGTpNUA/pQUUYRuqaVlWjQamdm69eJm/KhupaI+UFybZI mikw== X-Gm-Message-State: AEkoout3tudT/3cHTKm9VmLZq1YK3rk6PpySPYdD4dTnoVxkUW9HBPa2Vrhjo/P12pnQrw== X-Received: by 10.200.50.167 with SMTP id z36mr25987729qta.6.1471893092364; Mon, 22 Aug 2016 12:11:32 -0700 (PDT) Received: from drivertest.arctic.local ([96.81.105.169]) by smtp.gmail.com with ESMTPSA id m62sm11997695qke.13.2016.08.22.12.11.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 22 Aug 2016 12:11:31 -0700 (PDT) From: Olimpiu Dejeu To: lee.jones@linaro.org, linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org, devicetree@vger.kernel.org, jg1.han@samsung.com Cc: Olimpiu Dejeu Subject: [PATCH] backlight: arcxcnn: devicetree bindings for ArticSand devices Date: Mon, 22 Aug 2016 15:11:24 -0400 Message-Id: <1471893084-4551-1-git-send-email-olimpiu@arcticsand.com> X-Mailer: git-send-email 1.9.1 Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This is the device tree bindings documentation file Signed-off-by: Olimpiu Dejeu --- .../bindings/video/backlight/arcxcnn.txt | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Documentation/devicetree/bindings/video/backlight/arcxcnn.txt diff --git a/Documentation/devicetree/bindings/video/backlight/arcxcnn.txt b/Documentation/devicetree/bindings/video/backlight/arcxcnn.txt new file mode 100644 index 0000000..9cd7315 --- /dev/null +++ b/Documentation/devicetree/bindings/video/backlight/arcxcnn.txt @@ -0,0 +1,29 @@ +arcxcnn bindings + +Required properties: + - compatible: "arc,arcxcnn", "arc,arc2c0608" + - reg: I2C slave address (u8) + +Optional properties: + - bl-name: Backlight device name (string) + - init-brt: Initial value of backlight brightness (u32) low 16 bits used + - pwm-period: PWM period value. Set only PWM input mode used (u32) + - prg-addr: Register address of ROM area to be updated (u32) low 8 bits used + - prg-val: Register value to be updated (u32) low 8 bits used + +Example: + + /* ARC2C0608 */ + backlight@30 { + compatible = "arc,arc2c0608"; + reg = <0x30>; + + init-brt = <123>; + + /* LED0+1 string enabled */ + prg_06h { + prg-addr = <0x06>; + prg-val = <0x83>; + }; + + };