Skip to content

Commit 3c802ab

Browse files
committed
Merge branch 'bits/110-smc' into asahi-wip
2 parents 514d98a + 0ed7dc5 commit 3c802ab

29 files changed

Lines changed: 3780 additions & 6 deletions

Documentation/core-api/printk-formats.rst

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -630,6 +630,38 @@ Examples::
630630
%p4cc Y10 little-endian (0x20303159)
631631
%p4cc NV12 big-endian (0xb231564e)
632632

633+
Generic FourCC code
634+
-------------------
635+
636+
::
637+
%p4c[hnbl] gP00 (0x67503030)
638+
639+
Print a generic FourCC code, as both ASCII characters and its numerical
640+
value as hexadecimal.
641+
642+
The additional ``h``, ``r``, ``b``, and ``l`` specifiers are used to specify
643+
host, reversed, big or little endian order data respectively. Host endian
644+
order means the data is interpreted as a 32-bit integer and the most
645+
significant byte is printed first; that is, the character code as printed
646+
matches the byte order stored in memory on big-endian systems, and is reversed
647+
on little-endian systems.
648+
649+
Passed by reference.
650+
651+
Examples for a little-endian machine, given &(u32)0x67503030::
652+
653+
%p4ch gP00 (0x67503030)
654+
%p4cl gP00 (0x67503030)
655+
%p4cb 00Pg (0x30305067)
656+
%p4cr 00Pg (0x30305067)
657+
658+
Examples for a big-endian machine, given &(u32)0x67503030::
659+
660+
%p4ch gP00 (0x67503030)
661+
%p4cl 00Pg (0x30305067)
662+
%p4cb gP00 (0x67503030)
663+
%p4cr 00Pg (0x30305067)
664+
633665
Rust
634666
----
635667

MAINTAINERS

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2186,6 +2186,15 @@ F: include/dt-bindings/interrupt-controller/apple-aic.h
21862186
F: include/dt-bindings/pinctrl/apple.h
21872187
F: include/linux/soc/apple/*
21882188

2189+
ARM/APPLE SMC HWMON DRIVER
2190+
M: James Calligeros <jcalligeros99@gmail.com>
2191+
L: asahi@lists.linux.dev
2192+
S: Maintained
2193+
W: https://asahilinux.org
2194+
B: https://github.com/AsahiLinux/linux/issues
2195+
C: irc://irc.oftc.net/asahi-dev
2196+
F: drivers/hwmon/macsmc-hwmon.c
2197+
21892198
ARM/ARTPEC MACHINE SUPPORT
21902199
M: Jesper Nilsson <jesper.nilsson@axis.com>
21912200
M: Lars Persson <lars.persson@axis.com>

drivers/gpio/Kconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1427,6 +1427,17 @@ config GPIO_LP87565
14271427
This driver can also be built as a module. If so, the module will be
14281428
called gpio-lp87565.
14291429

1430+
config GPIO_MACSMC
1431+
tristate "Apple Mac SMC GPIO"
1432+
depends on APPLE_SMC
1433+
default ARCH_APPLE
1434+
help
1435+
Support for GPIOs controlled by the SMC microcontroller on Apple Mac
1436+
systems.
1437+
1438+
This driver can also be built as a module. If so, the module will be
1439+
called gpio-macsmc.
1440+
14301441
config GPIO_MADERA
14311442
tristate "Cirrus Logic Madera class codecs"
14321443
depends on PINCTRL_MADERA

drivers/gpio/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ obj-$(CONFIG_GPIO_LP873X) += gpio-lp873x.o
9393
obj-$(CONFIG_GPIO_LP87565) += gpio-lp87565.o
9494
obj-$(CONFIG_GPIO_LPC18XX) += gpio-lpc18xx.o
9595
obj-$(CONFIG_GPIO_LPC32XX) += gpio-lpc32xx.o
96+
obj-$(CONFIG_GPIO_MACSMC) += gpio-macsmc.o
9697
obj-$(CONFIG_GPIO_MADERA) += gpio-madera.o
9798
obj-$(CONFIG_GPIO_MAX3191X) += gpio-max3191x.o
9899
obj-$(CONFIG_GPIO_MAX7300) += gpio-max7300.o

0 commit comments

Comments
 (0)