Skip to content

Commit cbcf9c3

Browse files
committed
Merge branch 'bits/110-smc' into asahi-wip
2 parents 7d9efeb + 7b85519 commit cbcf9c3

29 files changed

Lines changed: 3787 additions & 6 deletions

Documentation/core-api/printk-formats.rst

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -648,6 +648,38 @@ Examples::
648648
%p4cc Y10 little-endian (0x20303159)
649649
%p4cc NV12 big-endian (0xb231564e)
650650

651+
Generic FourCC code
652+
-------------------
653+
654+
::
655+
%p4c[hnbl] gP00 (0x67503030)
656+
657+
Print a generic FourCC code, as both ASCII characters and its numerical
658+
value as hexadecimal.
659+
660+
The additional ``h``, ``r``, ``b``, and ``l`` specifiers are used to specify
661+
host, reversed, big or little endian order data respectively. Host endian
662+
order means the data is interpreted as a 32-bit integer and the most
663+
significant byte is printed first; that is, the character code as printed
664+
matches the byte order stored in memory on big-endian systems, and is reversed
665+
on little-endian systems.
666+
667+
Passed by reference.
668+
669+
Examples for a little-endian machine, given &(u32)0x67503030::
670+
671+
%p4ch gP00 (0x67503030)
672+
%p4cl gP00 (0x67503030)
673+
%p4cb 00Pg (0x30305067)
674+
%p4cr 00Pg (0x30305067)
675+
676+
Examples for a big-endian machine, given &(u32)0x67503030::
677+
678+
%p4ch gP00 (0x67503030)
679+
%p4cl 00Pg (0x30305067)
680+
%p4cb gP00 (0x67503030)
681+
%p4cr 00Pg (0x30305067)
682+
651683
Rust
652684
----
653685

MAINTAINERS

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

2311+
ARM/APPLE SMC HWMON DRIVER
2312+
M: James Calligeros <jcalligeros99@gmail.com>
2313+
L: asahi@lists.linux.dev
2314+
S: Maintained
2315+
W: https://asahilinux.org
2316+
B: https://github.com/AsahiLinux/linux/issues
2317+
C: irc://irc.oftc.net/asahi-dev
2318+
F: drivers/hwmon/macsmc-hwmon.c
2319+
23112320
ARM/ARTPEC MACHINE SUPPORT
23122321
M: Jesper Nilsson <jesper.nilsson@axis.com>
23132322
M: Lars Persson <lars.persson@axis.com>

drivers/gpio/Kconfig

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

1443+
config GPIO_MACSMC
1444+
tristate "Apple Mac SMC GPIO"
1445+
depends on APPLE_SMC
1446+
default ARCH_APPLE
1447+
help
1448+
Support for GPIOs controlled by the SMC microcontroller on Apple Mac
1449+
systems.
1450+
1451+
This driver can also be built as a module. If so, the module will be
1452+
called gpio-macsmc.
1453+
14431454
config GPIO_MADERA
14441455
tristate "Cirrus Logic Madera class codecs"
14451456
depends on PINCTRL_MADERA

drivers/gpio/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ obj-$(CONFIG_GPIO_LP873X) += gpio-lp873x.o
9797
obj-$(CONFIG_GPIO_LP87565) += gpio-lp87565.o
9898
obj-$(CONFIG_GPIO_LPC18XX) += gpio-lpc18xx.o
9999
obj-$(CONFIG_GPIO_LPC32XX) += gpio-lpc32xx.o
100+
obj-$(CONFIG_GPIO_MACSMC) += gpio-macsmc.o
100101
obj-$(CONFIG_GPIO_MADERA) += gpio-madera.o
101102
obj-$(CONFIG_GPIO_MAX3191X) += gpio-max3191x.o
102103
obj-$(CONFIG_GPIO_MAX7300) += gpio-max7300.o

0 commit comments

Comments
 (0)