From patchwork Fri Jan 26 14:53:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aishwarya Pant X-Patchwork-Id: 10186161 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 039C6601D5 for ; Fri, 26 Jan 2018 14:53:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E88DF29789 for ; Fri, 26 Jan 2018 14:53:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DC07829781; Fri, 26 Jan 2018 14:53:09 +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_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, 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 5F48729781 for ; Fri, 26 Jan 2018 14:53:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751740AbeAZOxI (ORCPT ); Fri, 26 Jan 2018 09:53:08 -0500 Received: from mail-pf0-f194.google.com ([209.85.192.194]:32824 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751505AbeAZOxH (ORCPT ); Fri, 26 Jan 2018 09:53:07 -0500 Received: by mail-pf0-f194.google.com with SMTP id t5so407231pfi.0; Fri, 26 Jan 2018 06:53:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=yn0VyhJ2+YxnCk1hKYoSbUdvYr3PVRzukZMrerhMMgg=; b=sWtqLX8S0vByaMX/qhhX3wSYlAiIeA+Awn7rdwSY70E/+QGno0G3iDkOc+OW34+hE/ 3URKFnPBY41sAn6+w/W0qiadDEim0Mxvf4GRPMyW4Xf/a+7skBM2V8RhlGR8fgqE8LE+ 0vTxULlVDLMU3ddmQAyjCC4gOsGwOggRR8dWdl1dcWVkbSoNpPfJ+sW1AEhnB0FIrxL8 hn7JpMfjoMt4Jw4JksedzE4PGzXXofSmcEwrjYQl4HKVN1FvtMHKWgceyA81tyf0M6ig aA1nosQjb9gQo0pYIUkaW+YUtv+l2cB06bXI9WTwsYmJXj2F9Ym2k2picdVNUpiZgE/I 7rWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=yn0VyhJ2+YxnCk1hKYoSbUdvYr3PVRzukZMrerhMMgg=; b=EaEduI0v1zkqVoTuGD7Nuv9bx7RYcoCeS+R51QANSUh7TjO7pQqbN5cj6xcm9qY2jC Fo3qAC6mf6nktCfZ7nN74KJHVaS0032PWWl+wNdnu9Cp8lcFcyEZ2H/juAhNEy/n1B5M PpKIhBlSWdRzsQN/Tyw8pdSnKHIbDfFRCn9vwAXu8lD7ks6BxfjoJfJxvr2EQlCY43FG BVLozZOEqVepEQtrfDysrZIXZPFoRO+AluVd1zBlvUJTJisMt4xgxp2Z/7nSI93SQ9W2 SQ3wvFPRLsoMGMroEUVv8fDSpAVhYUvePYgzM4arNzcDdz+/ko1qMPPAZraP7xFNOG2S vYeQ== X-Gm-Message-State: AKwxytdszgWRgy7JLYhLrwA1l0xs0cIebRtXrbuZm2I6AxzWkXHZym/S dv56Pc6gZioaGrzetePt3xA= X-Google-Smtp-Source: AH8x226mj9Ks8ywCFJoo9vhcU/284AVIXBJADQpGvntPjWRtyhCm5VvjrZEEf/5Ym6/B4Ve8UpnT1w== X-Received: by 2002:a17:902:8a89:: with SMTP id p9-v6mr14238172plo.397.1516978387156; Fri, 26 Jan 2018 06:53:07 -0800 (PST) Received: from mordor.localdomain ([49.205.216.57]) by smtp.gmail.com with ESMTPSA id h68sm274979pfk.10.2018.01.26.06.53.03 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 26 Jan 2018 06:53:06 -0800 (PST) Date: Fri, 26 Jan 2018 20:23:00 +0530 From: Aishwarya Pant To: Lee Jones , Daniel Thompson , Jingoo Han , Bartlomiej Zolnierkiewicz , dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org, Jonathan Corbet , Greg KH , Milo Kim Cc: Julia Lawall Subject: [PATCH 2/5] backlight: lp855x: document sysfs attributes Message-ID: <09cd01366bf3b5c3030ad25450b46a9a3bc8a747.1516978005.git.aishpant@gmail.com> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.2 (2017-12-15) 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 Add documentation for sysfs interface of Texas Instruments lp855x backlight driver by reading code and looking through git commit logs. Signed-off-by: Aishwarya Pant --- .../ABI/testing/sysfs-class-backlight-lp855x | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-class-backlight-lp855x diff --git a/Documentation/ABI/testing/sysfs-class-backlight-lp855x b/Documentation/ABI/testing/sysfs-class-backlight-lp855x new file mode 100644 index 000000000000..5b9d38958875 --- /dev/null +++ b/Documentation/ABI/testing/sysfs-class-backlight-lp855x @@ -0,0 +1,19 @@ +sysfs interface for Texas Instruments lp855x backlight driver +------------------------------------------------------------ + +What: /sys/class/backlight//chip_id +Date: Mar, 2012 +KernelVersion: v3.10 +Contact: Milo Kim +Description: + (RO) Displays the lp8755x chip id. Possible values are: + lp8550, lp8551, lp8552, lp8553, lp8555, lp8556 or lp8557. + + +What: /sys/class/backlight//bl_ctl_mode +Date: Mar, 2012 +KernelVersion: v3.10 +Contact: Linux kernel mailing list +Description: + (RO) Displays whether the brightness is controlled by the pwm + input("pwm based) or the i2c register("register based").