From patchwork Thu Sep 29 16:35:37 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olimpiu Dejeu X-Patchwork-Id: 9356741 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 D55C66077B for ; Thu, 29 Sep 2016 16:35:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C521329B17 for ; Thu, 29 Sep 2016 16:35:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B56DD29B1B; Thu, 29 Sep 2016 16:35:45 +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.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, 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 99E1A29B17 for ; Thu, 29 Sep 2016 16:35:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933908AbcI2Qfn (ORCPT ); Thu, 29 Sep 2016 12:35:43 -0400 Received: from mail-qk0-f170.google.com ([209.85.220.170]:33155 "EHLO mail-qk0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933905AbcI2Qfm (ORCPT ); Thu, 29 Sep 2016 12:35:42 -0400 Received: by mail-qk0-f170.google.com with SMTP id n189so9415203qke.0 for ; Thu, 29 Sep 2016 09:35:42 -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=s4r0BsvlEMpWJRFvl08Wsu+10+d5p2cwXurdtTSkW5c=; b=CjdyHDSRIiTfqSRSphN1s+xWJ+zSlo94iHUPhWQsR44bnYIAkYnVmFC29KKS+CRsyi prxOwYi6+9by9Gcs0m/qJJPnXvK1/Ah2ohLTY1CQ9384YeXGR2zPCoRhITNOFYeTuVZV QlKEmyyGBvmY9NG5irFPHG7d0Qk9SlGFMZHjI1o1OMa9Dq+X2UjDpO+8Vwo4IXfQXJef 8k7KH1hPKIZzMKpRyUmm1gqyPhPVYchjCghNChWXnN2z2DjaRwoVQjE9GsbOoElmyNJX Y6eCz/LsdWgszS3Zq90fpIyPhcPb/0cave5+nlpxHJha+/paaCoI3h3I18cQNA7qFNmH rraA== 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=s4r0BsvlEMpWJRFvl08Wsu+10+d5p2cwXurdtTSkW5c=; b=Inc4zy7RnrCfRT8MARWcocRP/Wj6aZVIwkffqfmbY7ttz3qW0YUFB7qbLrdPuF6Gqj rg3umPCRf07OmA25Rmzm6cM5Me8XWb0iLA23aSGeD1EnLS7rJO4REuxQPtVaxaZx87Xy 36hJkGH3+tE6A3hSJ65jIEz7nerjbdcGlaa9/M4UAgYu7Qu9QYV9o951Hb1CxoW/YToS 3cBt3Npd4zjSZUuk4osPOI5CeMBSqnCr9P+XnQ6rLfkVkjx/5pg2zYlXswvAdzP5VArG llOzL/6EVwvxv+0ig03xkJ6h6cY+ty9cu8/zVJomJX9frZ4m+NESI5omcqSNr48GYWsL wGLw== X-Gm-Message-State: AA6/9RnMfviw4HMFnEnEFxlSVIlOoLxhCd6O+U1fZ4ufw8F3TkpfuA0OSOtd4kR3SmawtQ== X-Received: by 10.55.31.31 with SMTP id f31mr2481590qkf.245.1475166941660; Thu, 29 Sep 2016 09:35:41 -0700 (PDT) Received: from drivertest.arctic.local (96-81-105-169-static.hfc.comcastbusiness.net. [96.81.105.169]) by smtp.gmail.com with ESMTPSA id h25sm7137812qtc.38.2016.09.29.09.35.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 29 Sep 2016 09:35:40 -0700 (PDT) From: Olimpiu Dejeu To: robh@kernel.org, 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 2/2] backlight: arcxcnn: devicetree bindings for ArticSand devices Date: Thu, 29 Sep 2016 12:35:37 -0400 Message-Id: <1475166937-6299-1-git-send-email-olimpiu@arcticsand.com> X-Mailer: git-send-email 2.7.4 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 Resubmition of arcxcnn backliught driver bindings correcting the file location, device name, and proper use of reg for device address Signed-off-by: Olimpiu Dejeu --- .../bindings/leds/backlight/arcxcnn_bl.txt | 30 ++++++++++++++++++++++ .../devicetree/bindings/vendor-prefixes.txt | 1 + 2 files changed, 31 insertions(+) create mode 100644 Documentation/devicetree/bindings/leds/backlight/arcxcnn_bl.txt diff --git a/Documentation/devicetree/bindings/leds/backlight/arcxcnn_bl.txt b/Documentation/devicetree/bindings/leds/backlight/arcxcnn_bl.txt new file mode 100644 index 0000000..bcf5664 --- /dev/null +++ b/Documentation/devicetree/bindings/leds/backlight/arcxcnn_bl.txt @@ -0,0 +1,30 @@ +Binding for ArcticSand arc2c0608 LED driver + +Required properties: +- compatible: should be "arc,arc2c0608" +- reg: slave address + +Optional properties: +- default-brightness: brightness value on boot, value from: 0-4095 +- label: The name of the backlight device + See Documentation/devicetree/bindings/leds/common.txt +- led-sources: List of enabled channels from 0 to 5. + See Documentation/devicetree/bindings/leds/common.txt + +Example: + +arc2c0608@30 { + compatible = "arc,arc2c0608"; + reg = <0x30>; + default-brightness = <500>; + label = "lcd-backlight"; + linux,default-trigger = "backlight"; + led-sources = <0 1 2 5>; + #address-cells = <1>; + #size-cells = <0>; + prog@6 { + reg = <0x06>; + val = <0x0F>; + }; +}; + diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index 1992aa9..dc8546f 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.txt +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt @@ -27,6 +27,7 @@ analogix Analogix Semiconductor, Inc. apm Applied Micro Circuits Corporation (APM) aptina Aptina Imaging arasan Arasan Chip Systems +arc Artic Sand Technologies arm ARM Ltd. armadeus ARMadeus Systems SARL arrow Arrow Electronics