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: 661600 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 3sJ38R5NXpz9sCZ for ; Tue, 23 Aug 2016 05:11:35 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=arcticsand-com.20150623.gappssmtp.com header.i=@arcticsand-com.20150623.gappssmtp.com header.b=QMpzyHPa; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755051AbcHVTLe (ORCPT ); Mon, 22 Aug 2016 15:11:34 -0400 Received: from mail-qt0-f181.google.com ([209.85.216.181]:33008 "EHLO mail-qt0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754576AbcHVTLd (ORCPT ); Mon, 22 Aug 2016 15:11:33 -0400 Received: by mail-qt0-f181.google.com with SMTP id w38so32977078qtb.0 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=mHODFe+th/pOeY2CMSYnlKSLd9ECOd09PP64AInTHvO+qQWX+Ate3fqXokxdWIrdI1 syCn7QiSuvompwqDlFtRI4YCe/n0Ko0nqDb3zcmaBCKC7sHL8PwWX8Q7JM1z5HClZdVM gx1t09JefjCUbGjmKAAlQJ4q+AirRsCoCCpQZp46+x/X5GxXaWDpjQzOYN/STqdUlEUb dZHPI2+lckg5yU0ilc01yrFXlVkQzAYSoXqUoaQLR6FQoRJEq0zVT6yT8FyNI8iaLrK3 qp1PoZ+54X/U4x+3PG5dCGiFHC4K5z86eFTBO7oambN1HXlzFER9cr53+zNZeaJ5E3cA gBfA== X-Gm-Message-State: AEkoousgvw2pg9UR9kD5O5HjCiVOl4xDzVa7XNt/zZvrrptmSvtI12lYMCxwavXAweQAjQ== 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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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>; + }; + + };