diff options
| author | Masanari Iida <standby24x7@gmail.com> | 2015-11-16 06:00:35 -0500 |
|---|---|---|
| committer | Jonathan Corbet <corbet@lwn.net> | 2015-11-20 18:51:16 -0500 |
| commit | 547d4c107822fe79a1f8ee8eb61d933d16769319 (patch) | |
| tree | 6c9092924843fa28704f13d4bb727f65a28413b2 /Documentation/gpio | |
| parent | 32d79b023abe442e76648a70f3255fca3c6f67c9 (diff) | |
Doc: gpio: Fix typos in Documentation/gpio
This patch fix some spelling typos found in Documentation/gpio.
Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/gpio')
| -rw-r--r-- | Documentation/gpio/consumer.txt | 2 | ||||
| -rw-r--r-- | Documentation/gpio/driver.txt | 6 | ||||
| -rw-r--r-- | Documentation/gpio/drivers-on-gpio.txt | 6 |
3 files changed, 7 insertions, 7 deletions
diff --git a/Documentation/gpio/consumer.txt b/Documentation/gpio/consumer.txt index e000502fde20..05676fdacfe3 100644 --- a/Documentation/gpio/consumer.txt +++ b/Documentation/gpio/consumer.txt | |||
| @@ -260,7 +260,7 @@ will be driven low. | |||
| 260 | 260 | ||
| 261 | To summarize: | 261 | To summarize: |
| 262 | 262 | ||
| 263 | Function (example) active-low proporty physical line | 263 | Function (example) active-low property physical line |
| 264 | gpiod_set_raw_value(desc, 0); don't care low | 264 | gpiod_set_raw_value(desc, 0); don't care low |
| 265 | gpiod_set_raw_value(desc, 1); don't care high | 265 | gpiod_set_raw_value(desc, 1); don't care high |
| 266 | gpiod_set_value(desc, 0); default (active-high) low | 266 | gpiod_set_value(desc, 0); default (active-high) low |
diff --git a/Documentation/gpio/driver.txt b/Documentation/gpio/driver.txt index 12a61948ec91..bbeec415f406 100644 --- a/Documentation/gpio/driver.txt +++ b/Documentation/gpio/driver.txt | |||
| @@ -113,8 +113,8 @@ GPIO irqchips usually fall in one of two categories: | |||
| 113 | it will be threaded IRQ handler on -RT and hard IRQ handler on non-RT | 113 | it will be threaded IRQ handler on -RT and hard IRQ handler on non-RT |
| 114 | (for example, see [3]). | 114 | (for example, see [3]). |
| 115 | Know W/A: The generic_handle_irq() is expected to be called with IRQ disabled, | 115 | Know W/A: The generic_handle_irq() is expected to be called with IRQ disabled, |
| 116 | so IRQ core will complain if it will be called from IRQ handler wich is forced | 116 | so IRQ core will complain if it will be called from IRQ handler which is |
| 117 | thread. The "fake?" raw lock can be used to W/A this problem: | 117 | forced thread. The "fake?" raw lock can be used to W/A this problem: |
| 118 | 118 | ||
| 119 | raw_spinlock_t wa_lock; | 119 | raw_spinlock_t wa_lock; |
| 120 | static irqreturn_t omap_gpio_irq_handler(int irq, void *gpiobank) | 120 | static irqreturn_t omap_gpio_irq_handler(int irq, void *gpiobank) |
| @@ -224,7 +224,7 @@ Real-Time compliance for GPIO IRQ chips | |||
| 224 | --------------------------------------- | 224 | --------------------------------------- |
| 225 | 225 | ||
| 226 | Any provider of irqchips needs to be carefully tailored to support Real Time | 226 | Any provider of irqchips needs to be carefully tailored to support Real Time |
| 227 | preemption. It is desireable that all irqchips in the GPIO subsystem keep this | 227 | preemption. It is desirable that all irqchips in the GPIO subsystem keep this |
| 228 | in mind and does the proper testing to assure they are real time-enabled. | 228 | in mind and does the proper testing to assure they are real time-enabled. |
| 229 | So, pay attention on above " RT_FULL:" notes, please. | 229 | So, pay attention on above " RT_FULL:" notes, please. |
| 230 | The following is a checklist to follow when preparing a driver for real | 230 | The following is a checklist to follow when preparing a driver for real |
diff --git a/Documentation/gpio/drivers-on-gpio.txt b/Documentation/gpio/drivers-on-gpio.txt index f6121328630f..14bf95a13bae 100644 --- a/Documentation/gpio/drivers-on-gpio.txt +++ b/Documentation/gpio/drivers-on-gpio.txt | |||
| @@ -54,7 +54,7 @@ hardware descriptions such as device tree or ACPI: | |||
| 54 | drivers for the I2C devices on the bus like any other I2C bus driver. | 54 | drivers for the I2C devices on the bus like any other I2C bus driver. |
| 55 | 55 | ||
| 56 | - spi_gpio: drivers/spi/spi-gpio.c is used to drive an SPI bus (variable number | 56 | - spi_gpio: drivers/spi/spi-gpio.c is used to drive an SPI bus (variable number |
| 57 | of wires, atleast SCK and optionally MISO, MOSI and chip select lines) using | 57 | of wires, at least SCK and optionally MISO, MOSI and chip select lines) using |
| 58 | GPIO hammering (bitbang). It will appear as any other SPI bus on the system | 58 | GPIO hammering (bitbang). It will appear as any other SPI bus on the system |
| 59 | and makes it possible to connect drivers for SPI devices on the bus like | 59 | and makes it possible to connect drivers for SPI devices on the bus like |
| 60 | any other SPI bus driver. For example any MMC/SD card can then be connected | 60 | any other SPI bus driver. For example any MMC/SD card can then be connected |
| @@ -75,7 +75,7 @@ hardware descriptions such as device tree or ACPI: | |||
| 75 | 75 | ||
| 76 | - gpio-wdt: drivers/watchdog/gpio_wdt.c is used to provide a watchdog timer | 76 | - gpio-wdt: drivers/watchdog/gpio_wdt.c is used to provide a watchdog timer |
| 77 | that will periodically "ping" a hardware connected to a GPIO line by toggling | 77 | that will periodically "ping" a hardware connected to a GPIO line by toggling |
| 78 | it from 1-to-0-to-1. If that hardware does not recieve its "ping" | 78 | it from 1-to-0-to-1. If that hardware does not receive its "ping" |
| 79 | periodically, it will reset the system. | 79 | periodically, it will reset the system. |
| 80 | 80 | ||
| 81 | - gpio-nand: drivers/mtd/nand/gpio.c is used to connect a NAND flash chip to | 81 | - gpio-nand: drivers/mtd/nand/gpio.c is used to connect a NAND flash chip to |
| @@ -91,5 +91,5 @@ usually connected directly to the flash. | |||
| 91 | 91 | ||
| 92 | Use those instead of talking directly to the GPIOs using sysfs; they integrate | 92 | Use those instead of talking directly to the GPIOs using sysfs; they integrate |
| 93 | with kernel frameworks better than your userspace code could. Needless to say, | 93 | with kernel frameworks better than your userspace code could. Needless to say, |
| 94 | just using the apropriate kernel drivers will simplify and speed up your | 94 | just using the appropriate kernel drivers will simplify and speed up your |
| 95 | embedded hacking in particular by providing ready-made components. | 95 | embedded hacking in particular by providing ready-made components. |
