Received: by 10.223.176.5 with SMTP id f5csp360625wra; Mon, 5 Feb 2018 23:43:02 -0800 (PST) X-Google-Smtp-Source: AH8x226VH0KmitSxM++qr532bywbMMA7wrZHDxegT72EDZqHk9Iq5WOUB0uJaEDBMN4sEOn4uNFf X-Received: by 2002:a17:902:24c7:: with SMTP id l7-v6mr1546118plg.268.1517902982322; Mon, 05 Feb 2018 23:43:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517902982; cv=none; d=google.com; s=arc-20160816; b=cyvQQJDpZp73WXCxB1tLjlTKLoYuD2N0j7/0EN+3pEe7QxFrFXbohwyiTU5Qc96aq3 u1W/LqNHkLnwWe6WW4tM+31G4fl6Q328A42ZKiGNdpk+IfjBwnNnu9xkRxkB18GD+QRh pLkrIZ+qSyckkgrBMN/rXRjNn7Uyd6H2AinZnBQgIfmouIHM9k57Nq1pxGLsKY9DdOVb ULV5Eg5Pgibvwku9OtnfzIN7c+HFlTffL5BG+lz+Mq9dVny6tutaArBAOxQjxDsn4gzE e5H8gbtaCsZ81R5GqIPo3oEMjNOaEa27vU8CJSm5K13wzdpT5XSrOMoWRe0GyidV+GZv sEWQ== 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=vyFtUJFwfAj//dKdEF6adtYbiZd+eEtOYYVQbGeWTdQ=; b=U8L1cUU6hYxh8tv/YIys9FooY7x88/gdfxd2HyDiTrTEn6fTVnDDURQUzlaAO6kw9q eEQlAm5fi8Fkd+k2fOtFEj3BR0zKwNccjpeDmqHyfM37TekYcks6kSp4EqYYN24MmyKL RldmHfdNs5WK9p1/Cq6ZoTIqpzxGH1qHPsEc8ZrwISK6MAzm2SzHCWiFoYPuqGsA8YVj WqT5nA8mRU0ye+OlWo3GrCuTkUZd20kbjcSwovlPsKh9Ry+OWt/T41t6FLcf19W0fpo+ +2VA5CrRIjg5gO81QtRdnRA81TltXuQI47vs9fBz+pgNeqrlzWi/8nveVUZNvX+lk77y RxLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=bxB5V0Ov; 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 62-v6si1774310plb.383.2018.02.05.23.42.47; Mon, 05 Feb 2018 23:43:02 -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=bxB5V0Ov; 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 S1752461AbeBFHkl (ORCPT + 99 others); Tue, 6 Feb 2018 02:40:41 -0500 Received: from mail-it0-f66.google.com ([209.85.214.66]:56167 "EHLO mail-it0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752185AbeBFHke (ORCPT ); Tue, 6 Feb 2018 02:40:34 -0500 Received: by mail-it0-f66.google.com with SMTP id b66so1369431itd.5; Mon, 05 Feb 2018 23:40:33 -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=vyFtUJFwfAj//dKdEF6adtYbiZd+eEtOYYVQbGeWTdQ=; b=bxB5V0Ove5tzzkzrEcqjdrVOlraOa3VAvS41V/QWJoYLHGiWQxzFqudWHxr0MrLMOd QujjSn36vHqzqVsaE6vBTK2BCfhfJ9U6/rIRyJuN26B/tpoG07knYidSJTKddbuPgzZs fcMTZO/0c79pYDxXkxqHf7EuqToT3L4mFFmOnjvP5H2RBEZQ6Yx3HymZ3ERoNcpqmsWh DdB95AbKSaU0XgeYuVCBdi2snPAT45+Y1+UvB/mTa9vAoUP1hWS0Urn76CJAqjV3KF8s PJQyzcfC5yJpvwJUoP/Tozh9mmrakmStLLaij+Blgx7PGMAGxyc2y+t+DoGimzxme3wc oDZw== 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=vyFtUJFwfAj//dKdEF6adtYbiZd+eEtOYYVQbGeWTdQ=; b=m4JKIp6sNADeiYxPAQsCObyBYtHFInPaCoqw9tDCBeYXxdFKBVYPcUTJdEPknTh1Nj Ua+a4ZdWbNqKhY22KCKtiTOfd6QlTA2Ix8afghTTQdoGQNQF7sqnfYBYi+R1vE0Fy52w a+eZBFx3XtZ+lyMPpl93KrSTKbK8B5TfzjPda0LrFdMVUN272keIcJLdEPdDGL+vcYr0 3SD79I4SzhxDPXduQ8lDhlxuGF30KikjQwlNxM7WZlJMy5Dd+prBePgYzTVoIZoM1iTK 8gueNAQKurw5ZdajgcNgx4R6RRrCDPjYrA41sFvYNO5gBoTBFih6snPw1LfP0oSjQzHr DkVg== X-Gm-Message-State: APf1xPB/0Fkp4jcsze1UmL6h16L+MtdgQchHnxcuRWgroGVMqvHPwAHk h2EkofBk9JST5OJTJ3zi4z8= X-Received: by 10.36.254.1 with SMTP id w1mr1935565ith.50.1517902833434; Mon, 05 Feb 2018 23:40:33 -0800 (PST) Received: from mordor.localdomain ([49.205.217.87]) by smtp.gmail.com with ESMTPSA id 20sm6610252iof.43.2018.02.05.23.40.29 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 05 Feb 2018 23:40:33 -0800 (PST) Date: Tue, 6 Feb 2018 13:10:26 +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 v2 2/3] 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.3 (2018-01-21) 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 Acked-by: Michael Hennerich --- .../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