From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755412AbcHVTLf (ORCPT ); Mon, 22 Aug 2016 15:11:35 -0400 Received: from mail-qt0-f170.google.com ([209.85.216.170]:35802 "EHLO mail-qt0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754447AbcHVTLd (ORCPT ); Mon, 22 Aug 2016 15:11:33 -0400 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-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@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>; + }; + + }; -- 1.9.1