Received: by 10.223.176.46 with SMTP id f43csp785072wra; Fri, 26 Jan 2018 06:56:14 -0800 (PST) X-Google-Smtp-Source: AH8x226UV1EIV4UJIouXilX0vNfmFwRuMvF5oboGTSfWf7Nb9JXlb5U9VfqbTn74avR/J38GsBVD X-Received: by 2002:a17:902:148:: with SMTP id 66-v6mr6258314plb.266.1516978574216; Fri, 26 Jan 2018 06:56:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516978574; cv=none; d=google.com; s=arc-20160816; b=vKmygt9JjEBMa/tFzGnQOu+kap/85H5DVL/uDQNzNCP29MmExyq8x41UwINr6qWUwY fIcLsSufmT8yDIf/woUG3/UmLf6BYmweIhL0SooVFTqpFae80IbhYbIL9O8F1mQe1lK4 A8O2NrfHL3p4BBSFTgQGIcCVovTZwte4dnioWk3FM/7LUMpsWmuAChcWO43jTuree3vy z+bmMkFLh6gh8Fc2RoX8kLrJy2IDKAx6076WUaWeVWA6xjP4hKnw+MUtHm1h3IF60lGe xZmzrPOK6kO11loZpGfA+zSf1Lus73/aM8V8qKjiAZ++ksEXIH1FBfS5csmklbmblBWT c37g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=e/rJXOnuzWqoUcGKyzcFL9+zR1dXwat0ZRetKULpGag=; b=kJh3TdN/a+HcUfDrh8OI5f6SfwqeDQVexu60r9tFzT/p1SEO/CUw8SSu2GheM9P1qT 93zHH05yzzP0uXdzZXBCYzQCpZQ5HixtGLRX4ahpskRvsbxGOZSH3xhZ2J5pwhHxTuaM R+ohRa7U/LSdyoHu//CGFxiT9CmyBHbdnvoExxU9VzXlNJcjk3d6VDQjpUOx/pLwTxjx ll1V4rCWmEVagkmeNUMHWg8gHEVPq08mYoUN4UKfo/yItFEqlxXNKnJ4JlwJ9jtmsfuS 5eE0xQKebPOISoNE3B2N+0BxWFr65Ku1agLfN5TTmgvxdG6dyRNGbXWFFhNDws9epf4G zxeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=A+WscUs8; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e62si6451623pfa.7.2018.01.26.06.55.59; Fri, 26 Jan 2018 06:56:14 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=A+WscUs8; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753106AbeAZOzA (ORCPT + 99 others); Fri, 26 Jan 2018 09:55:00 -0500 Received: from mail-pf0-f194.google.com ([209.85.192.194]:37635 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751505AbeAZOy6 (ORCPT ); Fri, 26 Jan 2018 09:54:58 -0500 Received: by mail-pf0-f194.google.com with SMTP id p1so402323pfh.4; Fri, 26 Jan 2018 06:54:58 -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=e/rJXOnuzWqoUcGKyzcFL9+zR1dXwat0ZRetKULpGag=; b=A+WscUs8lm1XoQjxuFfJqrxEwhxAUaCbPSTm53cBFyMSfeZhzF6kkfxMGGENlpFDqd VKIUuxp2CQgtKK2+Ux32r4n+HXR9dC0OeYlY1blttVPDG7pSX+6h9EzFruqRCcCO7ejJ KYcLMeGZ9SfCSfv9b7dr6OUCRT/Z1YXPUnkkGTblrOtlAnwzVY+qe5LxR4teZ4d34PiX eolQCJUMPAxF06WNdLvz/uku+Ek2I1J6Ql1F2BpfJcEWlpKcgG82BtaKXgNxDxJLo95u JF6FRiREKEIS5+HV2i3EaS0xYxdfMILI6/FDHBi53A2nXmKJPZSavSuw9KDE7ODWJkx8 a8hw== 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=e/rJXOnuzWqoUcGKyzcFL9+zR1dXwat0ZRetKULpGag=; b=ZIjvRyK9A0I0ZoK6oSdVMDOkRBFfxbDPft4D6kj7SbNOvlBCbVgDCKc1mZNfAE+xul MjvsOzdhT07SAqL/7BqzpBsbLwj7UBLnW9pmC4Lep7wAgjOLpg/p/FVniS9hgbERbQd4 /W2qDwsszTMfULrd1GFlExHrbvRk6Td8IM5z33/wJbmDN/Uxt5Bwqk1ZeBUfjfqbqGNb NhXkKcgM2O1ctqYVTPY8PKmS6hqZTxBOsizCfxuuHSIVxHIALYUuURjQKLFbrG6IRP+B fLY/F4JHm/PYDtOyJL4xvcEOMGhhZaBv/OP5Syy2Mz+lXw/Azk11C4Kx/5jBxScITYM8 OhFg== X-Gm-Message-State: AKwxytf9onoKZj7TlzCUNR3mhsSfkVNB/SQESlIWLTap1Gz5bW5/oevL f6BpXQBmfCEoQ2jct9I6UkZ7xw== X-Received: by 10.98.97.4 with SMTP id v4mr9100333pfb.160.1516978497864; Fri, 26 Jan 2018 06:54:57 -0800 (PST) Received: from mordor.localdomain ([49.205.216.57]) by smtp.gmail.com with ESMTPSA id 62sm9917620pfs.0.2018.01.26.06.54.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 26 Jan 2018 06:54:57 -0800 (PST) Date: Fri, 26 Jan 2018 20:24:50 +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 , Michael Hennerich Cc: Julia Lawall Subject: [PATCH 4/5] backlight: adp5520: document sysfs attributes Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add documentation for sysfs interface of adp5520/adp5501 analog devices backlight driver by reading code and looking through git commit logs. Signed-off-by: Aishwarya Pant --- .../ABI/testing/sysfs-class-backlight-adp5520 | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-class-backlight-adp5520 diff --git a/Documentation/ABI/testing/sysfs-class-backlight-adp5520 b/Documentation/ABI/testing/sysfs-class-backlight-adp5520 new file mode 100644 index 000000000000..34b6ebafa210 --- /dev/null +++ b/Documentation/ABI/testing/sysfs-class-backlight-adp5520 @@ -0,0 +1,31 @@ +sysfs interface for analog devices adp5520(01) backlight driver +--------------------------------------------------------------- + +The backlight brightness control operates at three different levels for the +adp5520 and adp5501 devices: daylight (level 1), office (level 2) and dark +(level 3). By default the brightness operates at the daylight brightness level. + +What: /sys/class/backlight//daylight_max +What: /sys/class/backlight//office_max +What: /sys/class/backlight//dark_max +Date: Sep, 2009 +KernelVersion: v2.6.32 +Contact: Michael Hennerich +Description: + (RW) Maximum current setting for the backlight when brightness + is at one of the three levels (daylight, office or dark). This + is an input code between 0 and 127, which is transformed to a + value between 0 mA and 30 mA using linear or non-linear + algorithms. + +What: /sys/class/backlight//daylight_dim +What: /sys/class/backlight//office_dim +What: /sys/class/backlight//dark_dim +Date: Sep, 2009 +KernelVersion: v2.6.32 +Contact: Michael Hennerich +Description: + (RW) Dim current setting for the backlight when brightness is at + one of the three levels (daylight, office or dark). This is an + input code between 0 and 127, which is transformed to a value + between 0 mA and 30 mA using linear or non-linear algorithms. -- 2.16.1