Skip to content

Commit f19a2ca

Browse files
committed
ASoC/tda998x: Fix reporting of nonexistent capture streams
Merge series from Mark Brown <[email protected]>: The recently added pcm-test selftest has pointed out that systems with the tda998x driver end up advertising that they support capture when in reality as far as I can see the tda998x devices are transmit only. The DAIs registered through hdmi-codec are bidirectional, meaning that for I2S systems when combined with a typical bidrectional CPU DAI the overall capability of the PCM is bidirectional. In most cases the I2S links will clock OK but no useful audio will be returned which isn't so bad but we should still not advertise the useless capability, and some systems may notice problems for example due to pinmux management. This is happening due to the hdmi-codec helpers not providing any mechanism for indicating unidirectional audio so add one and use it in the tda998x driver. It is likely other hdmi-codec users are also affected but I don't have those systems to hand. Mark Brown (2): ASoC: hdmi-codec: Allow playback and capture to be disabled drm: tda99x: Don't advertise non-existent capture support drivers/gpu/drm/i2c/tda998x_drv.c | 2 ++ include/sound/hdmi-codec.h | 4 ++++ sound/soc/codecs/hdmi-codec.c | 30 +++++++++++++++++++++++++----- 3 files changed, 31 insertions(+), 5 deletions(-) base-commit: f0c4d9f -- 2.30.2
2 parents 969357e + a04f1c8 commit f19a2ca

File tree

298 files changed

+2171
-1064
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

298 files changed

+2171
-1064
lines changed

CREDITS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2452,6 +2452,10 @@ S: 482 Shadowgraph Dr.
24522452
S: San Jose, CA 95110
24532453
S: USA
24542454

2455+
N: Michal Marek
2456+
2457+
D: Kbuild Maintainer 2009-2017
2458+
24552459
N: Martin Mares
24562460
24572461
W: http://www.ucw.cz/~mj/

Documentation/devicetree/bindings/input/goodix,gt7375p.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,11 @@ description:
1616

1717
properties:
1818
compatible:
19-
items:
19+
oneOf:
2020
- const: goodix,gt7375p
21+
- items:
22+
- const: goodix,gt7986u
23+
- const: goodix,gt7375p
2124

2225
reg:
2326
enum:

Documentation/driver-api/miscellaneous.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,11 @@ Parallel Port Devices
1616
16x50 UART Driver
1717
=================
1818

19-
.. kernel-doc:: drivers/tty/serial/serial_core.c
20-
:export:
21-
2219
.. kernel-doc:: drivers/tty/serial/8250/8250_core.c
2320
:export:
2421

22+
See serial/driver.rst for related APIs.
23+
2524
Pulse-Width Modulation (PWM)
2625
============================
2726

Documentation/process/code-of-conduct-interpretation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ the Technical Advisory Board (TAB) or other maintainers if you're
5151
uncertain how to handle situations that come up. It will not be
5252
considered a violation report unless you want it to be. If you are
5353
uncertain about approaching the TAB or any other maintainers, please
54-
reach out to our conflict mediator, Joanna Lee <[email protected]>.
54+
reach out to our conflict mediator, Joanna Lee <[email protected]>.
5555

5656
In the end, "be kind to each other" is really what the end goal is for
5757
everybody. We know everyone is human and we all fail at times, but the

MAINTAINERS

Lines changed: 38 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2197,7 +2197,7 @@ M: Wei Xu <[email protected]>
21972197
L: [email protected] (moderated for non-subscribers)
21982198
S: Supported
21992199
W: http://www.hisilicon.com
2200-
T: git git://github.com/hisilicon/linux-hisi.git
2200+
T: git https://github.com/hisilicon/linux-hisi.git
22012201
F: arch/arm/boot/dts/hi3*
22022202
F: arch/arm/boot/dts/hip*
22032203
F: arch/arm/boot/dts/hisi*
@@ -4809,7 +4809,7 @@ R: Jeff Layton <[email protected]>
48094809
48104810
S: Supported
48114811
W: http://ceph.com/
4812-
T: git git://github.com/ceph/ceph-client.git
4812+
T: git https://github.com/ceph/ceph-client.git
48134813
F: include/linux/ceph/
48144814
F: include/linux/crush/
48154815
F: net/ceph/
@@ -4821,7 +4821,7 @@ R: Jeff Layton <[email protected]>
48214821
48224822
S: Supported
48234823
W: http://ceph.com/
4824-
T: git git://github.com/ceph/ceph-client.git
4824+
T: git https://github.com/ceph/ceph-client.git
48254825
F: Documentation/filesystems/ceph.rst
48264826
F: fs/ceph/
48274827

@@ -11035,6 +11035,7 @@ KCONFIG
1103511035
M: Masahiro Yamada <[email protected]>
1103611036
1103711037
S: Maintained
11038+
Q: https://patchwork.kernel.org/project/linux-kbuild/list/
1103811039
T: git git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git kconfig
1103911040
F: Documentation/kbuild/kconfig*
1104011041
F: scripts/Kconfig.include
@@ -11092,10 +11093,12 @@ F: fs/autofs/
1109211093

1109311094
KERNEL BUILD + files below scripts/ (unless maintained elsewhere)
1109411095
M: Masahiro Yamada <[email protected]>
11095-
M: Michal Marek <[email protected]>
11096+
R: Nathan Chancellor <[email protected]>
1109611097
R: Nick Desaulniers <[email protected]>
11098+
R: Nicolas Schier <[email protected]>
1109711099
1109811100
S: Maintained
11101+
Q: https://patchwork.kernel.org/project/linux-kbuild/list/
1109911102
T: git git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git
1110011103
F: Documentation/kbuild/
1110111104
F: Makefile
@@ -13625,6 +13628,12 @@ S: Supported
1362513628
F: drivers/misc/atmel-ssc.c
1362613629
F: include/linux/atmel-ssc.h
1362713630

13631+
MICROCHIP SOC DRIVERS
13632+
M: Conor Dooley <[email protected]>
13633+
S: Supported
13634+
T: git https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git/
13635+
F: drivers/soc/microchip/
13636+
1362813637
MICROCHIP USB251XB DRIVER
1362913638
M: Richard Leitner <[email protected]>
1363013639
@@ -17222,7 +17231,7 @@ R: Dongsheng Yang <[email protected]>
1722217231
1722317232
S: Supported
1722417233
W: http://ceph.com/
17225-
T: git git://github.com/ceph/ceph-client.git
17234+
T: git https://github.com/ceph/ceph-client.git
1722617235
F: Documentation/ABI/testing/sysfs-bus-rbd
1722717236
F: drivers/block/rbd.c
1722817237
F: drivers/block/rbd_types.h
@@ -17723,7 +17732,7 @@ F: arch/riscv/
1772317732
N: riscv
1772417733
K: riscv
1772517734

17726-
RISC-V/MICROCHIP POLARFIRE SOC SUPPORT
17735+
RISC-V MICROCHIP FPGA SUPPORT
1772717736
M: Conor Dooley <[email protected]>
1772817737
M: Daire McNamara <[email protected]>
1772917738
@@ -17741,17 +17750,26 @@ F: Documentation/devicetree/bindings/usb/microchip,mpfs-musb.yaml
1774117750
F: arch/riscv/boot/dts/microchip/
1774217751
F: drivers/char/hw_random/mpfs-rng.c
1774317752
F: drivers/clk/microchip/clk-mpfs.c
17744-
F: drivers/i2c/busses/i2c-microchip-core.c
17753+
F: drivers/i2c/busses/i2c-microchip-corei2c.c
1774517754
F: drivers/mailbox/mailbox-mpfs.c
1774617755
F: drivers/pci/controller/pcie-microchip-host.c
1774717756
F: drivers/reset/reset-mpfs.c
1774817757
F: drivers/rtc/rtc-mpfs.c
17749-
F: drivers/soc/microchip/
17758+
F: drivers/soc/microchip/mpfs-sys-controller.c
1775017759
F: drivers/spi/spi-microchip-core-qspi.c
1775117760
F: drivers/spi/spi-microchip-core.c
1775217761
F: drivers/usb/musb/mpfs.c
1775317762
F: include/soc/microchip/mpfs.h
1775417763

17764+
RISC-V MISC SOC SUPPORT
17765+
M: Conor Dooley <[email protected]>
17766+
17767+
S: Maintained
17768+
Q: https://patchwork.kernel.org/project/linux-riscv/list/
17769+
T: git https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git/
17770+
F: Documentation/devicetree/bindings/riscv/
17771+
F: arch/riscv/boot/dts/
17772+
1775517773
RNBD BLOCK DRIVERS
1775617774
M: Md. Haris Iqbal <[email protected]>
1775717775
M: Jack Wang <[email protected]>
@@ -18778,7 +18796,6 @@ M: Palmer Dabbelt <[email protected]>
1877818796
M: Paul Walmsley <[email protected]>
1877918797
1878018798
S: Supported
18781-
T: git https://github.com/sifive/riscv-linux.git
1878218799
N: sifive
1878318800
K: [^@]sifive
1878418801

@@ -18797,6 +18814,13 @@ S: Maintained
1879718814
F: Documentation/devicetree/bindings/dma/sifive,fu540-c000-pdma.yaml
1879818815
F: drivers/dma/sf-pdma/
1879918816

18817+
SIFIVE SOC DRIVERS
18818+
M: Conor Dooley <[email protected]>
18819+
18820+
S: Maintained
18821+
T: git https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git/
18822+
F: drivers/soc/sifive/
18823+
1880018824
SILEAD TOUCHSCREEN DRIVER
1880118825
M: Hans de Goede <[email protected]>
1880218826
@@ -19598,6 +19622,11 @@ M: Ion Badulescu <[email protected]>
1959819622
S: Odd Fixes
1959919623
F: drivers/net/ethernet/adaptec/starfire*
1960019624

19625+
STARFIVE DEVICETREES
19626+
M: Emil Renner Berthing <[email protected]>
19627+
S: Maintained
19628+
F: arch/riscv/boot/dts/starfive/
19629+
1960119630
STARFIVE JH7100 CLOCK DRIVERS
1960219631
M: Emil Renner Berthing <[email protected]>
1960319632
S: Maintained

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
VERSION = 6
33
PATCHLEVEL = 1
44
SUBLEVEL = 0
5-
EXTRAVERSION = -rc5
5+
EXTRAVERSION = -rc6
66
NAME = Hurr durr I'ma ninja sloth
77

88
# *DOCUMENTATION*

arch/arm/boot/dts/imx7s.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1270,10 +1270,10 @@
12701270
clocks = <&clks IMX7D_NAND_USDHC_BUS_RAWNAND_CLK>;
12711271
};
12721272

1273-
gpmi: nand-controller@33002000{
1273+
gpmi: nand-controller@33002000 {
12741274
compatible = "fsl,imx7d-gpmi-nand";
12751275
#address-cells = <1>;
1276-
#size-cells = <1>;
1276+
#size-cells = <0>;
12771277
reg = <0x33002000 0x2000>, <0x33004000 0x4000>;
12781278
reg-names = "gpmi-nand", "bch";
12791279
interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;

arch/arm/boot/dts/lan966x-pcb8291.dts

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,12 @@
6969
pins = "GPIO_35", "GPIO_36";
7070
function = "can0_b";
7171
};
72+
73+
sgpio_a_pins: sgpio-a-pins {
74+
/* SCK, D0, D1, LD */
75+
pins = "GPIO_32", "GPIO_33", "GPIO_34", "GPIO_35";
76+
function = "sgpio_a";
77+
};
7278
};
7379

7480
&can0 {
@@ -118,6 +124,20 @@
118124
status = "okay";
119125
};
120126

127+
&sgpio {
128+
pinctrl-0 = <&sgpio_a_pins>;
129+
pinctrl-names = "default";
130+
microchip,sgpio-port-ranges = <0 3>, <8 11>;
131+
status = "okay";
132+
133+
gpio@0 {
134+
ngpios = <64>;
135+
};
136+
gpio@1 {
137+
ngpios = <64>;
138+
};
139+
};
140+
121141
&switch {
122142
status = "okay";
123143
};

arch/arm/boot/dts/sama7g5-pinfunc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@
261261
#define PIN_PB2__FLEXCOM6_IO0 PINMUX_PIN(PIN_PB2, 2, 1)
262262
#define PIN_PB2__ADTRG PINMUX_PIN(PIN_PB2, 3, 1)
263263
#define PIN_PB2__A20 PINMUX_PIN(PIN_PB2, 4, 1)
264-
#define PIN_PB2__FLEXCOM11_IO0 PINMUX_PIN(PIN_PB2, 6, 3)
264+
#define PIN_PB2__FLEXCOM11_IO1 PINMUX_PIN(PIN_PB2, 6, 3)
265265
#define PIN_PB3 35
266266
#define PIN_PB3__GPIO PINMUX_PIN(PIN_PB3, 0, 0)
267267
#define PIN_PB3__RF1 PINMUX_PIN(PIN_PB3, 1, 1)

arch/arm/mach-at91/pm_suspend.S

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,10 +169,15 @@ sr_ena_2:
169169
cmp tmp1, #UDDRC_STAT_SELFREF_TYPE_SW
170170
bne sr_ena_2
171171

172-
/* Put DDR PHY's DLL in bypass mode for non-backup modes. */
172+
/* Disable DX DLLs for non-backup modes. */
173173
cmp r7, #AT91_PM_BACKUP
174174
beq sr_ena_3
175175

176+
/* Do not soft reset the AC DLL. */
177+
ldr tmp1, [r3, DDR3PHY_ACDLLCR]
178+
bic tmp1, tmp1, DDR3PHY_ACDLLCR_DLLSRST
179+
str tmp1, [r3, DDR3PHY_ACDLLCR]
180+
176181
/* Disable DX DLLs. */
177182
ldr tmp1, [r3, #DDR3PHY_DX0DLLCR]
178183
orr tmp1, tmp1, #DDR3PHY_DXDLLCR_DLLDIS

0 commit comments

Comments
 (0)