| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Gmux driver for Apple laptops |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) Canonical Ltd. <seth.forshee@canonical.com> |
|---|
| 5 | 6 | * Copyright (C) 2010-2012 Andreas Heider <andreas@meetr.de> |
|---|
| 6 | 7 | * Copyright (C) 2015 Lukas Wunner <lukas@wunner.de> |
|---|
| 7 | | - * |
|---|
| 8 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 9 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 10 | | - * published by the Free Software Foundation. |
|---|
| 11 | 8 | */ |
|---|
| 12 | 9 | |
|---|
| 13 | 10 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
|---|
| .. | .. |
|---|
| 280 | 277 | * MBP5 2008/09 uses a `TI LP8543`_ backlight driver. All newer models |
|---|
| 281 | 278 | * use a `TI LP8545`_. |
|---|
| 282 | 279 | * |
|---|
| 283 | | - * .. _TI LP8543: http://www.ti.com/lit/ds/symlink/lp8543.pdf |
|---|
| 284 | | - * .. _TI LP8545: http://www.ti.com/lit/ds/symlink/lp8545.pdf |
|---|
| 280 | + * .. _TI LP8543: https://www.ti.com/lit/ds/symlink/lp8543.pdf |
|---|
| 281 | + * .. _TI LP8545: https://www.ti.com/lit/ds/symlink/lp8545.pdf |
|---|
| 285 | 282 | */ |
|---|
| 286 | 283 | |
|---|
| 287 | 284 | static int gmux_get_brightness(struct backlight_device *bd) |
|---|
| .. | .. |
|---|
| 376 | 373 | * switch the panel and the external DP connector and allocates a framebuffer |
|---|
| 377 | 374 | * for the selected GPU. |
|---|
| 378 | 375 | * |
|---|
| 379 | | - * .. _US 8,687,007 B2: http://pimg-fpiw.uspto.gov/fdd/07/870/086/0.pdf |
|---|
| 380 | | - * .. _NXP CBTL06141: http://www.nxp.com/documents/data_sheet/CBTL06141.pdf |
|---|
| 381 | | - * .. _NXP CBTL06142: http://www.nxp.com/documents/data_sheet/CBTL06141.pdf |
|---|
| 382 | | - * .. _TI HD3SS212: http://www.ti.com/lit/ds/symlink/hd3ss212.pdf |
|---|
| 376 | + * .. _US 8,687,007 B2: https://pimg-fpiw.uspto.gov/fdd/07/870/086/0.pdf |
|---|
| 377 | + * .. _NXP CBTL06141: https://www.nxp.com/documents/data_sheet/CBTL06141.pdf |
|---|
| 378 | + * .. _NXP CBTL06142: https://www.nxp.com/documents/data_sheet/CBTL06141.pdf |
|---|
| 379 | + * .. _TI HD3SS212: https://www.ti.com/lit/ds/symlink/hd3ss212.pdf |
|---|
| 383 | 380 | * .. _Pericom PI3VDP12412: https://www.pericom.com/assets/Datasheets/PI3VDP12412.pdf |
|---|
| 384 | | - * .. _TI SN74LV4066A: http://www.ti.com/lit/ds/symlink/sn74lv4066a.pdf |
|---|
| 381 | + * .. _TI SN74LV4066A: https://www.ti.com/lit/ds/symlink/sn74lv4066a.pdf |
|---|
| 385 | 382 | * .. _NXP CBTL03062: http://pdf.datasheetarchive.com/indexerfiles/Datasheets-SW16/DSASW00308511.pdf |
|---|
| 386 | | - * .. _TI TS3DS10224: http://www.ti.com/lit/ds/symlink/ts3ds10224.pdf |
|---|
| 383 | + * .. _TI TS3DS10224: https://www.ti.com/lit/ds/symlink/ts3ds10224.pdf |
|---|
| 387 | 384 | */ |
|---|
| 388 | 385 | |
|---|
| 389 | 386 | static void gmux_read_switch_state(struct apple_gmux_data *gmux_data) |
|---|