Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

docs: misc-devices/bh1770glc.txt: convert to ReST

- Adjust document title markup;
- use list markups;
- Adjust identations to display properly at ReST output.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/58ba712524318d03b3196bba33cb409472b4807d.1592203650.git.mchehab+huawei@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>

authored by

Mauro Carvalho Chehab and committed by
Jonathan Corbet
0e7ade47 433b1b0d

+33 -13
+32 -13
Documentation/misc-devices/bh1770glc.txt Documentation/misc-devices/bh1770glc.rst
··· 1 + .. SPDX-License-Identifier: GPL-2.0 2 + 3 + ======================= 1 4 Kernel driver bh1770glc 2 5 ======================= 3 6 4 7 Supported chips: 5 - ROHM BH1770GLC 6 - OSRAM SFH7770 8 + 9 + - ROHM BH1770GLC 10 + - OSRAM SFH7770 7 11 8 12 Data sheet: 9 13 Not freely available ··· 52 48 RO - shows detected chip type and version 53 49 54 50 power_state 55 - RW - enable / disable chip. Uses counting logic 56 - 1 enables the chip 57 - 0 disables the chip 51 + RW - enable / disable chip 52 + 53 + Uses counting logic 54 + 55 + - 1 enables the chip 56 + - 0 disables the chip 58 57 59 58 lux0_input 60 59 RO - measured lux value 60 + 61 61 sysfs_notify called when threshold interrupt occurs 62 62 63 63 lux0_sensor_range ··· 74 66 RO - supported measurement rates 75 67 76 68 lux0_thresh_above_value 77 - RW - HI level threshold value. All results above the value 69 + RW - HI level threshold value 70 + 71 + All results above the value 78 72 trigs an interrupt. 65535 (i.e. sensor_range) disables the above 79 73 interrupt. 80 74 81 75 lux0_thresh_below_value 82 - RW - LO level threshold value. All results below the value 76 + RW - LO level threshold value 77 + 78 + All results below the value 83 79 trigs an interrupt. 0 disables the below interrupt. 84 80 85 81 lux0_calibscale 86 - RW - calibration value. Set to neutral value by default. 82 + RW - calibration value 83 + 84 + Set to neutral value by default. 87 85 Output results are multiplied with calibscale / calibscale_default 88 86 value. 89 87 ··· 98 84 99 85 prox0_raw 100 86 RO - measured proximity value 87 + 101 88 sysfs_notify called when threshold interrupt occurs 102 89 103 90 prox0_sensor_range 104 91 RO - prox0_raw max value 105 92 106 93 prox0_raw_en 107 - RW - enable / disable proximity - uses counting logic 108 - 1 enables the proximity 109 - 0 disables the proximity 94 + RW - enable / disable proximity 95 + 96 + Uses counting logic 97 + 98 + - 1 enables the proximity 99 + - 0 disables the proximity 110 100 111 101 prox0_thresh_above_count 112 102 RW - number of proximity interrupts needed before triggering the event 113 103 114 104 prox0_rate_above 115 105 RW - Measurement rate (in Hz) when the level is above threshold 116 - i.e. when proximity on has been reported. 106 + i.e. when proximity on has been reported. 117 107 118 108 prox0_rate_below 119 109 RW - Measurement rate (in Hz) when the level is below threshold 120 - i.e. when proximity off has been reported. 110 + i.e. when proximity off has been reported. 121 111 122 112 prox0_rate_avail 123 113 RO - Supported proximity measurement rates in Hz 124 114 125 115 prox0_thresh_above0_value 126 116 RW - threshold level which trigs proximity events. 117 + 127 118 Filtered by persistence filter (prox0_thresh_above_count) 128 119 129 120 prox0_thresh_above1_value
+1
Documentation/misc-devices/index.rst
··· 15 15 :maxdepth: 2 16 16 17 17 ad525x_dpot 18 + bh1770glc 18 19 eeprom 19 20 c2port 20 21 ibmvmc