https://github.com/torvalds/linux

sort by:
Revision Author Date Message Commit Date
df810d2 Patches from v5.7/aml/integ 24 February 2020, 20:32:08 UTC
0841b5d Amlogic patches from v5.7/aml/integ 24 February 2020, 20:29:33 UTC
c87ec6b defconfig for Odroid-C2 sound 28 January 2020, 22:27:26 UTC
ac252b4 gx-sound-card changes for Odroid-C2 from https://gitlab.com/jbrunet/linux/tree/v5.6/aml/integ and https://gitlab.com/jbrunet/linux/tree/v5.5/aml/aiu 28 January 2020, 22:20:02 UTC
7e93a67 Replace simple-audio-card by meson-aiu-i2s on dts Correct codec errors on dts Add audio GPIOs 05 January 2020, 12:44:03 UTC
38f8463 Remove SPDIF OUT and add I2S IN on GPIO AO 6 on Odroid C2 Add Cirrus CS4245 codec 22 December 2019, 17:43:13 UTC
59ec006 clk: Fix potential NULL dereference in clk_fetch_parent_index() Don't compare the parent clock name with a NULL name in the clk_parent_map. This prevents a kernel crash when passing NULL core->parents[i].name to strcmp(). An example which triggered this is a mux clock with four parents when each of them is referenced in the clock driver using clk_parent_data.fw_name and then calling clk_set_parent(clk, 3rd_parent) on this mux. In this case the first parent is also the HW default so core->parents[i].hw is populated when the clock is registered. Calling clk_set_parent(clk, 3rd_parent) will then go through all parents and skip the first parent because it's hw pointer doesn't match. For the second parent no hw pointer is cached yet and clk_core_get(core, 1) returns a non-matching pointer (which is correct because we are comparing the second with the third parent). Comparing the result of clk_core_get(core, 2) with the requested parent gives a match. However we don't reach this point because right after the clk_core_get(core, 1) mismatch the old code tried to !strcmp(parent->name, NULL) (where the second argument is actually core->parents[i].name, but that was never populated by the clock driver). Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Link: https://lkml.kernel.org/r/20190815223155.21384-1-martin.blumenstingl@googlemail.com Fixes: fc0c209c147f ("clk: Allow parents to be specified without string names") Signed-off-by: Stephen Boyd <sboyd@kernel.org> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> %% original patch: 0001-clk-Fix-potential-NULL-dereference-in-clk_fetch_pare.patch 19 December 2019, 12:26:52 UTC
225aa60 TEMP: drm/panfrost: kernel driver fix 2/2 https://patchwork.kernel.org/patch/10954241/ Signed-off-by: Christian Hewitt <christian.hewitt@gmail.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> %% original patch: 0232-TEMP-drm-panfrost-kernel-driver-fix-2-2.patch 19 December 2019, 12:26:51 UTC
4285096 TEMP: drm/panfrost: kernel driver fix 1/2 https://lkml.org/lkml/2019/5/29/786 Signed-off-by: Christian Hewitt <christian.hewitt@gmail.com> %% original patch: 0231-TEMP-drm-panfrost-kernel-driver-fix-1-2.patch 19 December 2019, 12:26:51 UTC
3f7e438 drm/panfrost: add support for custom soft-reset on Amlogic GXM (cherry picked from commit 2e5230c1bf9cf01f035da72291cc460cb3b37096) %% original patch: 0230-WiP-drm-panfrost-add-support-for-custom-soft-reset-o.patch 19 December 2019, 12:26:50 UTC
7988293 arm64: dts: meson-gxm-nexbox-a1: disable cvbs (cherry picked from commit 43a438462f00880abaa6ac5241f78644d2b4da07) %% original patch: 0229-arm64-dts-meson-gxm-nexbox-a1-disable-cvbs.patch 19 December 2019, 12:26:49 UTC
af52335 ARM64: dts: meson: activate hdmi audio HDMI enabled boards This patch activate audio over HDMI on selected boards Please note that this audio support is based on WIP changes This should be considered as preview and it does not reflect the audio I expect to see merged Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> %% original patch: 0228-ARM64-dts-meson-activate-hdmi-audio-HDMI-enabled-boa.patch 19 December 2019, 12:26:49 UTC
d6d02b2 ARM64: dts: meson-gx: add sound-dai-cells to HDMI node Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> %% original patch: 0227-ARM64-dts-meson-gx-add-sound-dai-cells-to-HDMI-node.patch 19 December 2019, 12:26:48 UTC
7265b48 snd: meson: activate HDMI audio path Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> %% original patch: 0226-snd-meson-activate-HDMI-audio-path.patch 19 December 2019, 12:26:47 UTC
8f52542 ARM64: dts: meson-gx: add audio controller nodes Add audio controller nodes for Amlogic meson gxbb and gxl. This includes the audio-core node, the i2s and spdif DAIs Audio on this SoC family is still a work in progress. More nodes are likely to be added later on (pcm DAIs, input DMAs, etc ...) Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> %% original patch: 0225-ARM64-dts-meson-gx-add-audio-controller-nodes.patch 19 December 2019, 12:26:47 UTC
c6413fd ARM64: defconfig: enable audio support for meson SoCs as module Add audio support for meson SoCs. This includes the audio core driver and the i2s and spdif output interfaces Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> %% original patch: 0224-ARM64-defconfig-enable-audio-support-for-meson-SoCs-.patch 19 December 2019, 12:26:46 UTC
fe8631b ASoC: meson: add initial spdif support Add support for the spdif found on Amlogic Meson SoC family. With this initial implementation, only uncompressed pcm playback from the spdif dma is supported. Future work will add compressed support, pcm playback from i2s dma and capture. Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> %% original patch: 0223-ASoC-meson-add-initial-spdif-support.patch 19 December 2019, 12:26:45 UTC
3ddfb5e ASoC: meson: add initial aiu i2s support Add support for the aiu i2s found on Amlogic Meson SoC family. With this initial implementation, only playback is supported. Capture will be part of furture work. Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> %% original patch: 0222-ASoC-meson-add-initial-aiu-i2s-support.patch 19 December 2019, 12:26:45 UTC
5c71071 ASoC: meson: add register definitions Add the register definition for the AIU and AUDIN blocks Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> %% original patch: 0221-ASoC-meson-add-register-definitions.patch 19 December 2019, 12:26:44 UTC
7ae9c52 ASoC: meson: add meson audio core driver This patch adds support for the audio core driver for the Amlogic Meson SoC family. The purpose of this driver is to properly reset the audio block and provide register access for the different devices scattered in this address space. This includes output and input DMAs, pcm, i2s and spdif dai, card level routing, internal codec for the gxl variant For more information, please refer to the section 5 of the public datasheet of the S905 (gxbb). This datasheet is available here: [0]. [0]: http://dn.odroid.com/S905/DataSheet/S905_Public_Datasheet_V1.1.4.pdf Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> %% original patch: 0220-ASoC-meson-add-meson-audio-core-driver.patch 19 December 2019, 12:26:43 UTC
f5d9e56 ARM64: defconfig: enable CEC support Turn on CONFIG_CEC_SUPPORT and CONFIG_CEC_PLATFORM_DRIVERS Turn on CONFIG_VIDEO_MESON_AO_CEC as module Turn on CONFIG_DRM_DW_HDMI_CEC as module Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> %% original patch: 0219-ARM64-defconfig-enable-CEC-support.patch 19 December 2019, 12:26:43 UTC
e45460f HACK: arm64: dts: : g12a: set cma pool to 896MB %% original patch: 0218-HACK-arm64-dts-g12a-set-cma-pool-to-896MB.patch 19 December 2019, 12:26:42 UTC
33dfd06 WIP: arm64: dts: meson-g12a: add video decoder node Signed-off-by: Maxime Jourdan <mjourdan@baylibre.com> %% original patch: 0217-WIP-arm64-dts-meson-g12a-add-video-decoder-node.patch 19 December 2019, 12:26:41 UTC
f080a0d WIP: media: meson: vp9: add IOMMU support Starting with GXL (S905X), the HEVC/VP9 decoder hardware supports an IOMMU to access the decoded frames. This IOMMU is controlled by writing the buffer's page IDs to the firmware, which then does the actual work. This commit adds support for using the IOMMU with VP9/HEVC on G12A, the first SoC on which it becomes mandatory. %% original patch: 0216-WIP-media-meson-vp9-add-IOMMU-support.patch 19 December 2019, 12:26:41 UTC
414b73f WIP: media: meson: vdec: add g12a platform %% original patch: 0215-WIP-media-meson-vdec-add-g12a-platform.patch 19 December 2019, 12:26:40 UTC
9ac9083 WIP: media: meson: vdec: add VP9 support %% original patch: 0214-WIP-media-meson-vdec-add-VP9-support.patch 19 December 2019, 12:26:40 UTC
ea49f5f WIP: media: meson: vdec: add VP9 input support Amlogic VP9 decoder requires an additional 16-byte payload before every frame header. %% original patch: 0213-WIP-media-meson-vdec-add-VP9-input-support.patch 19 December 2019, 12:26:39 UTC
aa1f404 WIP: media: meson: vdec: commonize some HEVC code Will be shared with the VP9 codebase. %% original patch: 0212-WIP-media-meson-vdec-commonize-some-HEVC-code.patch 19 December 2019, 12:26:38 UTC
5a1380d WIP: meson: vdec: Map the Firmware buf idx <-> VB2 buf idx The current code assumes the vb2 indexes are in order (0 -> n) when iterating over them. This is very wrong and, in the case where they are not in the perfect order, will generate mismatches between the firmware internal buffer indexes and the VB2 ones. This fixes this bad assumption by explicitely mapping the buffer index. %% original patch: 0211-WIP-meson-vdec-Map-the-Firmware-buf-idx-VB2-buf-idx.patch 19 December 2019, 12:26:37 UTC
bc72a2f WIP: media: meson: vdec: add HEVC decoding support Add support for V4L2_PIX_FMT_HEVC %% original patch: 0210-WIP-media-meson-vdec-add-HEVC-decoding-support.patch 19 December 2019, 12:26:37 UTC
7c50f64 WIP: meson: vdec: make amvdec_dst_buf_done_offset public Needed for future commit %% original patch: 0209-WIP-meson-vdec-make-amvdec_dst_buf_done_offset-publi.patch 19 December 2019, 12:26:36 UTC
532c7b2 WIP: media: meson: vdec: add support for V4L2_PIX_FMT_AM21C Support the lossless framebuffer compression format. %% original patch: 0208-WIP-media-meson-vdec-add-support-for-V4L2_PIX_FMT_AM.patch 19 December 2019, 12:26:35 UTC
711bfd5 WIP: media: videodev2.h: Add Amlogic compressed format Add V4L2_PIX_FMT_AM21C which is a lossless, compressed framebuffer format. It is used by the video decoding and the display IP on many Amlogic SoCs. %% original patch: 0207-WIP-media-videodev2.h-Add-Amlogic-compressed-format.patch 19 December 2019, 12:26:35 UTC
0f00b76 WIP: media: meson: vdec: add MJPEG decoding support Add support for V4L2_PIX_FMT_MJPEG %% original patch: 0206-WIP-media-meson-vdec-add-MJPEG-decoding-support.patch 19 December 2019, 12:26:34 UTC
1185b30 WIP: media: meson: vdec: add MPEG4 decoding support Add support for V4L2_PIX_FMT_MPEG4, V4L2_PIX_FMT_XVID and V4L2_PIX_FMT_H.263 %% original patch: 0205-WIP-media-meson-vdec-add-MPEG4-decoding-support.patch 19 December 2019, 12:26:33 UTC
905d521 WIP: media: meson: vdec: add H.264 decoding support Add support for V4L2_PIX_FMT_H264 %% original patch: 0204-WIP-media-meson-vdec-add-H.264-decoding-support.patch 19 December 2019, 12:26:33 UTC
4ec3ff1 WIP: arm64: dts: meson: add vdec entries This enables the video decoder for gxbb, gxl and gxm chips Signed-off-by: Maxime Jourdan <mjourdan@baylibre.com> %% original patch: 0203-WIP-arm64-dts-meson-add-vdec-entries.patch 19 December 2019, 12:26:32 UTC
20c464c WIP: arm64: dts: meson-gx: add vdec entry Add the video decoder dts entry Signed-off-by: Maxime Jourdan <mjourdan@baylibre.com> %% original patch: 0202-WIP-arm64-dts-meson-gx-add-vdec-entry.patch 19 December 2019, 12:26:31 UTC
d2fcc5c WIP: MAINTAINERS: Add meson video decoder Add an entry for the meson video decoder for amlogic SoCs. Signed-off-by: Maxime Jourdan <mjourdan@baylibre.com> %% original patch: 0201-WIP-MAINTAINERS-Add-meson-video-decoder.patch 19 December 2019, 12:26:31 UTC
1742b9f WIP: media: meson: add v4l2 m2m video decoder driver Amlogic SoCs feature a powerful video decoder unit able to decode many formats, with a performance of usually up to 4k60. This is a driver for this IP that is based around the v4l2 m2m framework. It features decoding for: - MPEG 1 - MPEG 2 Supported SoCs are: GXBB (S905), GXL (S905X/W/D), GXM (S912) There is also a hardware bitstream parser (ESPARSER) that is handled here. Signed-off-by: Maxime Jourdan <mjourdan@baylibre.com> %% original patch: 0200-WIP-media-meson-add-v4l2-m2m-video-decoder-driver.patch 19 December 2019, 12:26:30 UTC
8101259 WIP: media: videodev2: add V4L2_FMT_FLAG_FIXED_RESOLUTION When a v4l2 driver exposes V4L2_EVENT_SOURCE_CHANGE, some (usually OUTPUT) formats may not be able to trigger this event. For instance, MPEG2 on Amlogic hardware does not support resolution switching on the fly, and a decode session must operate at a set resolution defined before the decoding start. Add a enum_fmt format flag to tag those specific formats. Signed-off-by: Maxime Jourdan <mjourdan@baylibre.com> %% original patch: 0199-WIP-media-videodev2-add-V4L2_FMT_FLAG_FIXED_RESOLUTI.patch 19 December 2019, 12:26:29 UTC
09028de WIP: dt-bindings: media: add Amlogic Video Decoder Bindings Add documentation for the meson vdec dts node. Signed-off-by: Maxime Jourdan <mjourdan@baylibre.com> Reviewed-by: Rob Herring <robh@kernel.org> %% original patch: 0198-WIP-dt-bindings-media-add-Amlogic-Video-Decoder-Bind.patch 19 December 2019, 12:26:29 UTC
c376a9b WIP: drm/meson: Output in YUV444 if sink supports it With the YUV420 handling, we can dynamically setup the HDMI output pixel format depending on the mode and connector info. So now, we can output in YUV444, which is the native video pipeline format, directly to the HDMI Sink if it's supported without necessarily involving the HDMI Controller CSC. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> %% original patch: 0197-WIP-drm-meson-Output-in-YUV444-if-sink-supports-it.patch 19 December 2019, 12:26:28 UTC
486ab32 WIP: drm/meson: Add YUV420 output support This patch adds support for the YUV420 output from the Amlogic Meson SoCs Video Processing Unit to the HDMI Controller. The YUV420 is obtained by generating a YUV444 pixel stream like the classic HDMI display modes, but then the Video Encoder output can be configured to down-sample the YUV444 pixel stream to a YUV420 stream. In addition if pixel stream down-sampling, the Y Cb Cr components must also be mapped differently to align with the HDMI2.0 specifications. This mode needs a different clock generation scheme since the TMDS PHY clock must match the 10x ration with the YUV420 pixel clock, but the video encoder must run at 2x the pixel clock. This patch adds the TMDS PHY clock value in all the video clock setup in order to better support these specific uses cases and switch to the Common Clock framework for clocks handling in the future. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> %% original patch: 0196-WIP-drm-meson-Add-YUV420-output-support.patch 19 December 2019, 12:26:28 UTC
157736b WIP: drm/bridge: dw-hdmi: allow ycbcr420 modes for >= 0x200a Now the DW-HDMI Controller supports the HDMI2.0 modes, enable support for these modes in the connector if the platform supports them. We limit these modes to DW-HDMI IP version >= 0x200a which are designed to support HDMI2.0 display modes. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Tested-by: Heiko Stuebner <heiko@sntech.de> %% original patch: 0195-WIP-drm-bridge-dw-hdmi-allow-ycbcr420-modes-for-0x20.patch 19 December 2019, 12:26:27 UTC
e144f4e WIP: drm/bridge: dw-hdmi: support dynamically get input/out color info To get input/output bus_format/enc_format dynamically, this patch introduce following functions in plat_data: - get_input_bus_format - get_output_bus_format - get_enc_in_encoding - get_enc_out_encoding Signed-off-by: Zheng Yang <zhengyang@rock-chips.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Tested-by: Heiko Stuebner <heiko@sntech.de> %% original patch: 0194-WIP-drm-bridge-dw-hdmi-support-dynamically-get-input.patch 19 December 2019, 12:26:26 UTC
8bdbd7d WIP: arm64: dts: meson: add dwmac-3.710 to ethmac compatible list Adding snps,dwmac-3.710 will trigger some needed work around in the driver Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> %% original patch: 0193-WIP-arm64-dts-meson-add-dwmac-3.710-to-ethmac-compat.patch 19 December 2019, 12:26:26 UTC
0c1f474 WIP: ASoC: hdmi-codec: re-introduce mutex locking Replace the bit atomic operations by a mutex to ensure only one dai at a time is active on the hdmi codec. This is a follow up on change: 3fcf94ef4d41 ("ASoC: hdmi-codec: remove reference to the current substream") Suggested-by: Mark Brown <broonie@kernel.org> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> %% original patch: 0192-WIP-ASoC-hdmi-codec-re-introduce-mutex-locking.patch 19 December 2019, 12:26:25 UTC
806fab3 WIP: ASoC: max98357a: add Kconfig name Allows the module to be built on its own %% original patch: 0191-WIP-ASoC-max98357a-add-Kconfig-name.patch 19 December 2019, 12:26:25 UTC
37e00b4 FROMLIST: Bluetooth: btbcm: Add entry for BCM4359C0 UART bluetooth The BCM4359C0 BT/Wi-Fi compo chip needs an entry to be discovered by the btbcm driver. Tested using an AP6398S module from Ampak. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> %% original patch: 0190-FROMLIST-Bluetooth-btbcm-Add-entry-for-BCM4359C0-UAR.patch 19 December 2019, 12:26:24 UTC
6a110fa FROMLIST: usb: dwc3: meson-g12a: Add support for IRQ based OTG switching Add support for the OTG ID change interrupt to switch between Host and Device mode. Tested on the Hardkernel Odroid-N2 board. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> %% original patch: 0189-FROMLIST-usb-dwc3-meson-g12a-Add-support-for-IRQ-bas.patch 19 December 2019, 12:26:23 UTC
5629659 FROMLIST: arm64: dts: meson-g12b-odroid-n2: add sound card Enable the sound card on the Hardkernel Odroid-N2, enabling HDMI output using the TDM interface B, being aligned on other boards sound cards. The internal DAC connected to the audio jack will be added later on, when driver support is added. Tested by running: tinymix set "FRDDR_A SRC 1 EN Switch" 1 tinymix set "FRDDR_A SINK 1 SEL" "OUT 1" tinymix set "FRDDR_B SRC 1 EN Switch" 1 tinymix set "FRDDR_B SINK 1 SEL" "OUT 1" tinymix set "FRDDR_C SRC 1 EN Switch" 1 tinymix set "FRDDR_C SINK 1 SEL" "OUT 1" tinymix set "TOHDMITX I2S SRC" "I2S B" tinymix set "TOHDMITX Switch" 1 then: tinymix set "TDMOUT_B SRC SEL" "IN 0" speaker-test -Dhw:0,0 -c2 then: tinymix set "TDMOUT_B SRC SEL" "IN 1" speaker-test -Dhw:0,1 -c2 then: tinymix set "TDMOUT_B SRC SEL" "IN 2" speaker-test -Dhw:0,2 -c2 testing HDMI audio output from the all 3 ASoC playback interfaces. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> %% original patch: 0188-FROMLIST-arm64-dts-meson-g12b-odroid-n2-add-sound-ca.patch 19 December 2019, 12:26:23 UTC
5811c04 FROMLIST: arm64: dts: meson-g12a-x96-max: add sound card Enable the sound card on the X96 Max, enabling HDMI output using the TDM interface B, being aligned on other boards sound cards. SPDI/F support is also enabled to the physical toslink port and to HDMI. The internal DAC connected to the audio jack will be added later on, when driver support is added. Tested by running: tinymix set "FRDDR_A SRC 1 EN Switch" 1 tinymix set "FRDDR_A SINK 1 SEL" "OUT 1" tinymix set "FRDDR_B SRC 1 EN Switch" 1 tinymix set "FRDDR_B SINK 1 SEL" "OUT 1" tinymix set "FRDDR_C SRC 1 EN Switch" 1 tinymix set "FRDDR_C SINK 1 SEL" "OUT 1" tinymix set "TOHDMITX I2S SRC" "I2S B" tinymix set "TOHDMITX Switch" 1 then: tinymix set "TDMOUT_B SRC SEL" "IN 0" speaker-test -Dhw:0,0 -c2 then: tinymix set "TDMOUT_B SRC SEL" "IN 1" speaker-test -Dhw:0,1 -c2 then: tinymix set "TDMOUT_B SRC SEL" "IN 2" speaker-test -Dhw:0,2 -c2 testing HDMI audio output from the all 3 ASoC playback interfaces. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> %% original patch: 0187-FROMLIST-arm64-dts-meson-g12a-x96-max-add-sound-card.patch 19 December 2019, 12:26:22 UTC
7edbe1c BACKPORT: arm64: dts: meson: sei510: add sound card Enable the sound card on the sei510: * TDM interface A is connected to an external DAC and a speaker installed on the device. * HDMI is expected to use TDM B. It can also use TDM A but will be limited to 2 channels, as accepted by the external DAC. * 2 Built in PDM mics through the PDM interface. * Both TDM outputs may use HW loopback. The internal DAC connected to audio jack will be added later on, when driver support is added. Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> %% original patch: 0186-BACKPORT-arm64-dts-meson-sei510-add-sound-card.patch 19 December 2019, 12:26:21 UTC
472d490 FROMLIST: arm64: dts: meson: sei510: add max98357a DAC The SEI510 board features a max98357a audio codec for built-in speaker Signed-off-by: Maxime Jourdan <mjourdan@baylibre.com> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> %% original patch: 0185-FROMLIST-arm64-dts-meson-sei510-add-max98357a-DAC.patch 19 December 2019, 12:26:20 UTC
5157bc2 FROMLIST: arm64: cpufeature: Don't treat granule sizes as strict If a CPU doesn't support the page size for which the kernel is configured, then we will complain and refuse to bring it online. For secondary CPUs (and the boot CPU on a system booting with EFI), we will also print an error identifying the mismatch. Consequently, the only time that the cpufeature code can detect a granule size mismatch is for a granule other than the one that is currently being used. Although we would rather such systems didn't exist, we've unfortunately lost that battle and Kevin reports that on his amlogic S922X (odroid-n2 board) we end up warning and taining with defconfig because 16k pages are not supported by all of the CPUs. In such a situation, we don't actually care about the feature mismatch, particularly now that KVM only exposes the sanitised view of the CPU registers. Treat the granule fields as non-strict and let Kevin run without a tainted kernel. Cc: Mark Rutland <mark.rutland@arm.com> Cc: Marc Zyngier <maz@kernel.org> Cc: Suzuki Poulose <suzuki.poulose@arm.com> Cc: Catalin Marinas <catalin.marinas@arm.com> Reported-by: Kevin Hilman <khilman@baylibre.com> Signed-off-by: Will Deacon <will@kernel.org> Acked-by: Mark Rutland <mark.rutland@arm.com> Acked-by: Suzuki K Poulose <suzuki.poulose@arm.com> Tested-by: Kevin Hilman <khilman@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> %% original patch: 0184-FROMLIST-arm64-cpufeature-Don-t-treat-granule-sizes-.patch 19 December 2019, 12:26:20 UTC
7079263 FROMLIST: clk: meson: axg-audio: add g12a reset support On the g12a, the register space dedicated to the audio clock also provides some resets. Let the clock controller register a reset provider as well for this SoC family. the axg SoC family does not appear to provide this feature. Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> %% original patch: 0183-FROMLIST-clk-meson-axg-audio-add-g12a-reset-support.patch 19 December 2019, 12:26:19 UTC
59ee63c FROMLIST: dt-bindings: clock: meson: add resets to the audio clock controller Add the documentation and bindings for the resets provided by the g12a audio clock controller Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> %% original patch: 0182-FROMLIST-dt-bindings-clock-meson-add-resets-to-the-a.patch 19 December 2019, 12:26:19 UTC
7d63d5c FROMLIST: drm/bridge: dw-hdmi-i2s: add .get_eld support Provide the eld to the generic hdmi-codec driver. This will let the driver enforce the maximum channel number and set the channel allocation depending on the hdmi sink. Cc: Jonas Karlman <jonas@kwiboo.se> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> %% original patch: 0181-FROMLIST-drm-bridge-dw-hdmi-i2s-add-.get_eld-support.patch 19 December 2019, 12:26:18 UTC
b7c58cb FROMLIST: drm/bridge: dw-hdmi-i2s: enable only the required i2s lanes Enable the i2s lanes depending on the number of channel in the stream Reviewed-by: Jonas Karlman <jonas@kwiboo.se> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> %% original patch: 0180-FROMLIST-drm-bridge-dw-hdmi-i2s-enable-only-the-requ.patch 19 December 2019, 12:26:17 UTC
03b5aec FROMLIST: drm/bridge: dw-hdmi-i2s: reset audio fifo before applying new params When changing the audio hw params, reset the audio fifo to make sure any old remaining data is flushed. The databook mentions that such reset should be followed by a reset of the i2s block to make sure the samples stay aligned Reviewed-by: Jonas Karlman <jonas@kwiboo.se> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> %% original patch: 0179-FROMLIST-drm-bridge-dw-hdmi-i2s-reset-audio-fifo-bef.patch 19 December 2019, 12:26:17 UTC
1e6354f FROMLIST: drm/bridge: dw-hdmi-i2s: set the channel allocation setup the channel allocation provided by the generic hdmi-codec driver Reviewed-by: Jonas Karlman <jonas@kwiboo.se> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> %% original patch: 0178-FROMLIST-drm-bridge-dw-hdmi-i2s-set-the-channel-allo.patch 19 December 2019, 12:26:16 UTC
32023b0 FROMLIST: drm/bridge: dw-hdmi-i2s: enable lpcm multi channels Properly setup the channel count and layout in dw-hdmi i2s driver so we are not limited to 2 channels. Also correct the maximum channel reported by the DAI from 6 to 8 ch Reviewed-by: Jonas Karlman <jonas@kwiboo.se> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> %% original patch: 0177-FROMLIST-drm-bridge-dw-hdmi-i2s-enable-lpcm-multi-ch.patch 19 December 2019, 12:26:15 UTC
b05c22c FROMLIST: drm/bridge: dw-hdmi: set channel count in the infoframes Set the number of channel in the infoframes Reviewed-by: Jonas Karlman <jonas@kwiboo.se> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> %% original patch: 0176-FROMLIST-drm-bridge-dw-hdmi-set-channel-count-in-the.patch 19 December 2019, 12:26:15 UTC
2c4cc8b FROMLIST: drm/bridge: dw-hdmi: move audio channel setup out of ahb Part of the channel count setup done in dw-hdmi ahb should actually be done whatever the interface providing the data. Reviewed-by: Jonas Karlman <jonas@kwiboo.se> Let's move it to dw-hdmi driver instead. Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> %% original patch: 0175-FROMLIST-drm-bridge-dw-hdmi-move-audio-channel-setup.patch 19 December 2019, 12:26:14 UTC
b54a0d8 FROMLIST: drm/bridge: dw-hdmi-i2s: support more i2s format The dw-hdmi-i2s supports more formats than just regular i2s. Add support for left justified, right justified and dsp modes A and B. Reviewed-by: Jonas Karlman <jonas@kwiboo.se> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> %% original patch: 0174-FROMLIST-drm-bridge-dw-hdmi-i2s-support-more-i2s-for.patch 19 December 2019, 12:26:14 UTC
a340478 FROMLIST: MAINTAINERS: add entry for Amlogic Thermal driver Add myself as maintainer for Amlogic Thermal driver. Signed-off-by: Guillaume La Roque <glaroque@baylibre.com> Reviewed-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> %% original patch: 0173-FROMLIST-MAINTAINERS-add-entry-for-Amlogic-Thermal-d.patch 19 December 2019, 12:26:13 UTC
41711f3 BACKPORT: arm64: dts: amlogic: odroid-n2: add minimal thermal zone Add minimal thermal zone for two temperature sensor One is located close to the DDR and the other one is located close to the PLLs (between the CPU and GPU) Signed-off-by: Guillaume La Roque <glaroque@baylibre.com> Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> %% original patch: 0172-BACKPORT-arm64-dts-amlogic-odroid-n2-add-minimal-the.patch 19 December 2019, 12:26:12 UTC
5fab454 BACKPORT: arm64: dts: meson: sei510: Add minimal thermal zone Add minimal thermal zone for two temperature sensor One is located close to the DDR and the other one is located close to the PLLs (between the CPU and GPU) Signed-off-by: Guillaume La Roque <glaroque@baylibre.com> Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> %% original patch: 0171-BACKPORT-arm64-dts-meson-sei510-Add-minimal-thermal-.patch 19 December 2019, 12:26:12 UTC
17c9f50 FROMLIST: arm64: dts: amlogic: g12: add temperature sensor Add cpu and ddr temperature sensors for G12 Socs Signed-off-by: Guillaume La Roque <glaroque@baylibre.com> Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> %% original patch: 0170-FROMLIST-arm64-dts-amlogic-g12-add-temperature-senso.patch 19 December 2019, 12:26:11 UTC
4c799cd FROMLIST: thermal: amlogic: Add thermal driver to support G12 SoCs Amlogic G12A and G12B SoCs integrate two thermal sensors with the same design. One is located close to the DDR controller and the other one is located close to the PLLs (between the CPU and GPU). The calibration data for each of the thermal sensors instance is stored in a different location within the AO region. Implement reading the temperature from each thermal sensor. The IP block has more functionality, which may be added to this driver in the future: - chip reset when the temperature exceeds a configurable threshold - up to four interrupts when the temperature has risen above a configurable threshold - up to four interrupts when the temperature has fallen below a configurable threshold Signed-off-by: Guillaume La Roque <glaroque@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> %% original patch: 0169-FROMLIST-thermal-amlogic-Add-thermal-driver-to-suppo.patch 19 December 2019, 12:26:10 UTC
4ff38e0 FROMLIST: dt-bindings: thermal: Add DT bindings documentation for Amlogic Thermal Adding the devicetree binding documentation for the Amlogic temperature sensor found in the Amlogic Meson G12 SoCs. the G12A and G12B SoCs are supported. Signed-off-by: Guillaume La Roque <glaroque@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> %% original patch: 0168-FROMLIST-dt-bindings-thermal-Add-DT-bindings-documen.patch 19 December 2019, 12:26:10 UTC
edc5aba FROMLIST: clk: meson: g12a: fix gp0 and hifi ranges While some SoC samples are able to lock with a PLL factor of 55, others samples can't. ATM, a minimum of 60 appears to work on all the samples I have tried. Even with 60, it sometimes takes a long time for the PLL to eventually lock. The documentation says that the minimum rate of these PLLs DCO should be 3GHz, a factor of 125. Let's use that to be on the safe side. With factor range changed, the PLL seems to lock quickly (enough) so far. It is still unclear if the range was the only reason for the delay. Fixes: 085a4ea93d54 ("clk: meson: g12a: add peripheral clock controller") Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> %% original patch: 0167-FROMLIST-clk-meson-g12a-fix-gp0-and-hifi-ranges.patch 19 December 2019, 12:26:09 UTC
0b64cbd BACKPORT: arm64: dts: meson-g12b-odroid-n2: enable DVFS Enable DVFS for the Odroid-N2 by setting the clock, OPP and supply for each cores of each CPU clusters. The first cluster uses the "VDDCPU_B" power supply, and the second cluster uses the "VDDCPU_A" power supply. Each power supply can achieve 0.73V to 1.01V using 2 distinct PWM outputs clocked at 800KHz with an inverse duty-cycle. DVFS has been tested by running the arm64 cpuburn at [1] and cycling between all the possible cpufreq translations of each cluster and checking the final frequency using the clock-measurer, script at [2]. [1] https://github.com/ssvb/cpuburn-arm/blob/master/cpuburn-a53.S [2] https://gist.github.com/superna9999/d4de964dbc0f84b7d527e1df2ddea25f Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Reviewed-by: Kevin Hilman <khilman@baylibre.com> Tested-by: Kevin Hilman <khilman@baylibre.com> Signed-off-by: Kevin Hilman <khilman@baylibre.com> (cherry picked from commit d14734a04a8aea793a5534de39a21ad59b324a11 git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic.git v5.4/drivers) %% original patch: 0166-BACKPORT-arm64-dts-meson-g12b-odroid-n2-enable-DVFS.patch 19 December 2019, 12:26:09 UTC
aa689b8 BACKPORT: arm64: dts: meson-g12b-khadas-vim3: add initial device-tree The Khadas VIM3 uses the Amlogic S922X or A311S SoC, both based on the Amlogic G12B SoC family, on a board with the same form factor as the VIM/VIM2 models. It ships in two variants; basic and pro which differ in RAM and eMMC size: - 2GB (basic) or 4GB (pro) LPDDR4 RAM - 16GB (basic) or 32GB (pro) eMMC 5.1 storage - 16MB SPI flash - 10/100/1000 Base-T Ethernet - AP6398S Wireless (802.11 a/b/g/n/ac, BT5.0) - HDMI 2.1 video - 1x USB 2.0 + 1x USB 3.0 ports - 1x USB-C (power) with USB 2.0 OTG - 3x LED's (1x red, 1x blue, 1x white) - 3x buttons (power, function, reset) - IR receiver - M2 socket with PCIe, USB, ADC & I2C - 40pin GPIO Header - 1x micro SD card slot A common meson-g12b-khadas-vim3.dtsi is added to support both S922X and A311D SoCs supported by two variants of the board. Signed-off-by: Christian Hewitt <christianshewitt@gmail.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Kevin Hilman <khilman@baylibre.com> (cherry picked from commit c6d29c66e582f9a3ae27d08a488aa89232545a39 git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic.git v5.4/drivers) %% original patch: 0165-BACKPORT-arm64-dts-meson-g12b-khadas-vim3-add-initia.patch 19 December 2019, 12:26:08 UTC
7232615 FROMGIT: dt-bindings: arm: amlogic: fix x96-max/sei510 section in amlogic.yaml Move amediatech,x96-max and seirobotics,sei510 to the S905D2 section and update the S905D2 description to S905D2/X2/Y2. Signed-off-by: Christian Hewitt <christianshewitt@gmail.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Kevin Hilman <khilman@baylibre.com> (cherry picked from commit e2fb6f7c0df1cb9d5f89c1b6a9d3caf434c040bb git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic.git v5.4/drivers) %% original patch: 0164-FROMGIT-dt-bindings-arm-amlogic-fix-x96-max-sei510-s.patch 19 December 2019, 12:26:07 UTC
02a0f54 FROMGIT: arm64: dts: amlogic: g12 CPU timers stop in suspend The Arm per-CPU architected timers stop ticking in suspend, when the SCP powers down the CPUs. Flag that in the DT. Signed-off-by: Kevin Hilman <khilman@baylibre.com> (cherry picked from commit a55022706068c461f13552fbbb4e0f8cf056933f git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic.git v5.4/drivers) Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> %% original patch: 0163-FROMGIT-arm64-dts-amlogic-g12-CPU-timers-stop-in-sus.patch 19 December 2019, 12:26:07 UTC
021e5bf FROMGIT: drm: meson: venc: set the correct macrovision max amplitude value According to the register description of ENCI_MACV_MAX_AMP, the macrovision max amplitude value should be: - hdmi 480i => 0xb - hdmi 576i => 0x7 The max value is 0x7ff (10 bits). Signed-off-by: Julien Masson <jmasson@baylibre.com> Reviewed-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Link: https://patchwork.freedesktop.org/patch/msgid/86mui782dt.fsf@baylibre.com (cherry picked from commit a84ddb83806ed43a67f6fe6a03b0b4695cc314c3 git://anongit.freedesktop.org/drm/drm-misc drm-misc-next) %% original patch: 0162-FROMGIT-drm-meson-venc-set-the-correct-macrovision-m.patch 19 December 2019, 12:26:06 UTC
979e6c4 FROMGIT: drm: meson: add macro used to enable HDMI PLL This patch add new macro HHI_HDMI_PLL_CNTL_EN which is used to enable HDMI PLL. Signed-off-by: Julien Masson <jmasson@baylibre.com> Reviewed-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Link: https://patchwork.freedesktop.org/patch/msgid/86o92n82e1.fsf@baylibre.com (cherry picked from commit 0703146060786f972aaa22cad9c877a6067fd47d git://anongit.freedesktop.org/drm/drm-misc drm-misc-next) %% original patch: 0161-FROMGIT-drm-meson-add-macro-used-to-enable-HDMI-PLL.patch 19 December 2019, 12:26:06 UTC
d8511cb FROMGIT: drm: meson: global clean-up This patch aims to: - Add general and TODO comments - Respect coding style for multi-line comments - Align macro definitions - Remove useless macro Signed-off-by: Julien Masson <jmasson@baylibre.com> Reviewed-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Link: https://patchwork.freedesktop.org/patch/msgid/86pnn382e8.fsf@baylibre.com (cherry picked from commit e1012141242db89259175eeaac36b3de04377664 git://anongit.freedesktop.org/drm/drm-misc drm-misc-next) %% original patch: 0160-FROMGIT-drm-meson-global-clean-up.patch 19 December 2019, 12:26:05 UTC
ba49c54 FROMGIT: drm: meson: venc: use proper macros instead of magic constants This patch add new macros which are used to set the following registers: - ENCI_CFILT_CTRL - ENCI_CFILT_CTRL2 - ENCI_MACV_MAX_AMP - ENCI_VIDEO_MODE_ADV - ENCI_VFIFO2VD_CTL - ENCI_VIDEO_EN - ENCP_VIDEO_MODE - VPU_HDMI_SETTING - VENC_UPSAMPLE_CTRL0 - VENC_UPSAMPLE_CTRL1 - VENC_UPSAMPLE_CTRL2 - VENC_VDAC_FIFO_CTRL - VENC_VDAC_DAC0_FILT_CTRL0 - VENC_INTCTRL Signed-off-by: Julien Masson <jmasson@baylibre.com> Reviewed-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Link: https://patchwork.freedesktop.org/patch/msgid/86r27j82ef.fsf@baylibre.com (cherry picked from commit 7eef9e6104545e3aed75ac84129ab332e71b6557 git://anongit.freedesktop.org/drm/drm-misc drm-misc-next) %% original patch: 0159-FROMGIT-drm-meson-venc-use-proper-macros-instead-of-.patch 19 December 2019, 12:26:05 UTC
d366ba5 FROMGIT: drm: meson: viu: use proper macros instead of magic constants This patch add new macros which are used to set the following registers: - VIU_SW_RESET - VIU_OSD1_CTRL_STAT - VIU_OSD2_CTRL_STAT - VIU_OSD1_FIFO_CTRL_STAT - VIU_OSD2_FIFO_CTRL_STAT - VIU_MISC_CTRL0 - VIU_OSD_BLEND_CTRL - OSD1_BLEND_SRC_CTRL - OSD2_BLEND_SRC_CTRL - DOLBY_PATH_CTRL Signed-off-by: Julien Masson <jmasson@baylibre.com> Reviewed-by: Neil Armstrong <narmstrong@baylibre.com> [narmstrong: fix OSD1_BLEND_SRC_CTRL register init value for G12A] Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Link: https://patchwork.freedesktop.org/patch/msgid/86sgrz82em.fsf@baylibre.com (cherry picked from commit 147ae1cbaa18429b9450fd47136a29653294aaad git://anongit.freedesktop.org/drm/drm-misc drm-misc-next) %% original patch: 0158-FROMGIT-drm-meson-viu-use-proper-macros-instead-of-m.patch 19 December 2019, 12:26:04 UTC
0f8edcb FROMGIT: drm: meson: vpp: use proper macros instead of magic constants This patch add new macros which are used to set the following registers: - VPP_OSD_SCALE_COEF_IDX - VPP_DOLBY_CTRL - VPP_OFIFO_SIZE - VPP_HOLD_LINES - VPP_SC_MISC - VPP_VADJ_CTRL Signed-off-by: Julien Masson <jmasson@baylibre.com> Reviewed-by: Neil Armstrong <narmstrong@baylibre.com> [narmstrong: put back 0x1020080 in VPP_DUMMY_DATA1 for GXM] Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Link: https://patchwork.freedesktop.org/patch/msgid/86tvcf82eu.fsf@baylibre.com (cherry picked from commit 0ce266d018f4749c7049df76d7f670a675bfa9c6 git://anongit.freedesktop.org/drm/drm-misc drm-misc-next) %% original patch: 0157-FROMGIT-drm-meson-vpp-use-proper-macros-instead-of-m.patch 19 December 2019, 12:26:03 UTC
c92ad9b FROMGIT: drm: meson: drv: use macro when initializing vpu This patch add new macro which is used to set WRARB/RDARB mode of the VPU. Signed-off-by: Julien Masson <jmasson@baylibre.com> Reviewed-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Link: https://patchwork.freedesktop.org/patch/msgid/86v9wv82f1.fsf@baylibre.com (cherry picked from commit bfb86819829e5ed5eaba4b9449ecfe6db4f9f91e git://anongit.freedesktop.org/drm/drm-misc drm-misc-next) %% original patch: 0156-FROMGIT-drm-meson-drv-use-macro-when-initializing-vp.patch 19 December 2019, 12:26:03 UTC
6ed8e8f FROMGIT: drm: meson: crtc: use proper macros instead of magic constants This patch add new macros which describe couple bits field of the following registers: - VD1_BLEND_SRC_CTRL - VPP_SC_MISC Signed-off-by: Julien Masson <jmasson@baylibre.com> Reviewed-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Link: https://patchwork.freedesktop.org/patch/msgid/86wohb82fa.fsf@baylibre.com (cherry picked from commit 39bf9985b8598f20a3bf49844d2ac538a0d5697f git://anongit.freedesktop.org/drm/drm-misc drm-misc-next) %% original patch: 0155-FROMGIT-drm-meson-crtc-use-proper-macros-instead-of-.patch 19 December 2019, 12:26:02 UTC
eb42e12 FROMGIT: drm: meson: mask value when writing bits relaxed The value used in the macro writel_bits_relaxed has to be masked since we don't want change the bits outside the mask. Signed-off-by: Julien Masson <jmasson@baylibre.com> Reviewed-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Link: https://patchwork.freedesktop.org/patch/msgid/86y31r82fo.fsf@baylibre.com (cherry picked from commit f237bf2de82eafd224eb981c6c0bca8a9e039af6 git://anongit.freedesktop.org/drm/drm-misc drm-misc-next) %% original patch: 0154-FROMGIT-drm-meson-mask-value-when-writing-bits-relax.patch 19 December 2019, 12:26:01 UTC
840d37c FROMGIT: ASoC: codec2codec: fill some of the runtime stream parameters Set the information provided struct snd_soc_pcm_stream in the struct snd_pcm_runtime of the codec to codec link. Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Link: https://lore.kernel.org/r/20190725165949.29699-7-jbrunet@baylibre.com Signed-off-by: Mark Brown <broonie@kernel.org> (cherry picked from commit 9de98628c895d15427138073986eab1e3ce39cb4 git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4) Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> %% original patch: 0153-FROMGIT-ASoC-codec2codec-fill-some-of-the-runtime-st.patch 19 December 2019, 12:26:00 UTC
f3ff67f FROMGIT: ASoC: codec2codec: remove ephemeral variables Now that codec to codec links struct snd_soc_pcm_runtime have lasting pcm and substreams, let's use them. Alsa allocate and keep the struct snd_pcm_runtime as long as the link is powered. Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Link: https://lore.kernel.org/r/20190725165949.29699-6-jbrunet@baylibre.com Signed-off-by: Mark Brown <broonie@kernel.org> (cherry picked from commit a72706ed8208ac3f72d1c3ebbc6509e368b0dcb0 git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4) Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> %% original patch: 0152-FROMGIT-ASoC-codec2codec-remove-ephemeral-variables.patch 19 December 2019, 12:26:00 UTC
8140bad FROMGIT: ASoC: codec2codec: fix missing return of error return code Currently in function snd_soc_dai_link_event_pre_pmu the error return code in variable err is being set but this is not actually being returned, the function just returns zero even when there are failures. Fix this by returning the error return code. Addresses-Coverity: ("Unused value") Fixes: 3dcfb397dad2 ("ASoC: codec2codec: deal with params when necessary") Signed-off-by: Colin Ian King <colin.king@canonical.com> Link: https://lore.kernel.org/r/20190726123327.10467-1-colin.king@canonical.com Signed-off-by: Mark Brown <broonie@kernel.org> (cherry picked from commit c8415833ec242b9ddf73bf9e1057e12f9b0fcd16 git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4) Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> %% original patch: 0151-FROMGIT-ASoC-codec2codec-fix-missing-return-of-error.patch 19 December 2019, 12:25:59 UTC
009dd14 FROMGIT: ASoC: create pcm for codec2codec links as well At the moment, codec to codec links uses an ephemeral variable for the struct snd_pcm_substream. Also the struct snd_soc_pcm_runtime does not have real struct snd_pcm. This might a problem if the functions used by a codec on codec to codec link expect these structures to exist, and keep on existing during the life of the codec. For example, it is the case of the hdmi-codec, which uses snd_pcm_add_chmap_ctls(). For the controls to works, the pcm and substream must to exist. This change is first step, it create pcm (and substreams) for codec to codec links, in the same way as dpcm backend links. Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Link: https://lore.kernel.org/r/20190725165949.29699-5-jbrunet@baylibre.com Signed-off-by: Mark Brown <broonie@kernel.org> (cherry picked from commit a342031cdd0818cb0fbcb44798211c7a02c7ca27 git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4) Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> %% original patch: 0150-FROMGIT-ASoC-create-pcm-for-codec2codec-links-as-wel.patch 19 December 2019, 12:25:59 UTC
2b30a05 FROMGIT: ASoC: meson: g12a-tohdmitx: override codec2codec params So far, forwarding the hw_params of the input to output relied on the .hw_params() callback of the cpu side of the codec2codec link to be called first. This is a bit weak. Instead, override the stream params of the codec2codec to link to set it up correctly. Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Link: https://lore.kernel.org/r/20190729080139.32068-1-jbrunet@baylibre.com Signed-off-by: Mark Brown <broonie@kernel.org> (cherry picked from commit 2c4956bc1e9062e5e3c5ea7612294f24e6d4fbdd git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4) Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> %% original patch: 0149-FROMGIT-ASoC-meson-g12a-tohdmitx-override-codec2code.patch 19 December 2019, 12:25:58 UTC
4cc6e19 FROMGIT: ASoC: codec2codec: deal with params when necessary When there is an event on codec to codec dai_link, we only need to deal with params if the event is SND_SOC_DAPM_PRE_PMU, when .hw_params() is called. For the other events, it is useless. Also, dealing with the codec to codec params just before calling .hw_params() callbacks give change to either party on the link to alter params content in .startup(), which might be useful in some cases Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Link: https://lore.kernel.org/r/20190725165949.29699-4-jbrunet@baylibre.com Signed-off-by: Mark Brown <broonie@kernel.org> (cherry picked from commit 3dcfb397dad2ad55bf50de3c5d5a57090d35a18a git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4) Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> %% original patch: 0148-FROMGIT-ASoC-codec2codec-deal-with-params-when-neces.patch 19 December 2019, 12:25:57 UTC
6be6b15 FROMGIT: ASoC: codec2codec: name link using stream direction At the moment, codec to codec dai link widgets are named after the cpu dai and the 1st codec valid on the link. This might be confusing if there is multiple valid codecs on the link for one stream direction. Instead, use the dai link name and the stream direction to name the the dai link widget Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Link: https://lore.kernel.org/r/20190725165949.29699-3-jbrunet@baylibre.com Signed-off-by: Mark Brown <broonie@kernel.org> (cherry picked from commit 054d65004c6a008dfefbdae4fc1b46a3ad4e94c1 git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4) Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> %% original patch: 0147-FROMGIT-ASoC-codec2codec-name-link-using-stream-dire.patch 19 December 2019, 12:25:57 UTC
9bcf03e FROMGIT: ASoC: codec2codec: run callbacks in order When handling dai_link events on codec to codec links, run all .startup() callbacks on sinks and sources before running any .hw_params(). Same goes for hw_free() and shutdown(). This is closer to the behavior of regular dai links Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Link: https://lore.kernel.org/r/20190725165949.29699-2-jbrunet@baylibre.com Signed-off-by: Mark Brown <broonie@kernel.org> (cherry picked from commit 68c907f10cd816cad2287167a1a1d77914a6d466 git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4) Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> %% original patch: 0146-FROMGIT-ASoC-codec2codec-run-callbacks-in-order.patch 19 December 2019, 12:25:56 UTC
14686bd FROMGIT: ASoC: soc-dai: move snd_soc_dai_stream_valid() to soc-dai.c snd_soc_dai_stream_valid() is function to check stream validity. But, some code is using it, some code are checking stream->channels_min directly. Doing samethings by different method is confusable. This patch uses same funcntion for same purpose. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Link: https://lore.kernel.org/r/87ftmyhmzz.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org> (cherry picked from commit 467fece8fbc6774a3a3bd0981e1a342fb5022706 git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4) Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> %% original patch: 0145-FROMGIT-ASoC-soc-dai-move-snd_soc_dai_stream_valid-t.patch 19 December 2019, 12:25:56 UTC
de55cac FROMGIT: ASoC: soc-dai: add snd_soc_dai_compress_new() Current ALSA SoC is directly using dai->driver->xxx, thus, it has deep nested bracket, and it makes code unreadable. This patch adds new snd_soc_dai_compress_new() and use it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Link: https://lore.kernel.org/r/87h87ehn1a.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org> (cherry picked from commit b423c4202135f7794e0a9c55a884f5933d8e7156 git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4) Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> %% original patch: 0144-FROMGIT-ASoC-soc-dai-add-snd_soc_dai_compress_new.patch 19 December 2019, 12:25:55 UTC
bd9eabf FROMGIT: ASoC: soc-dai: add snd_soc_dai_remove() Current ALSA SoC is directly using dai->driver->xxx, thus, it has deep nested bracket, and it makes code unreadable. This patch adds new snd_soc_dai_remvoe() and use it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Link: https://lore.kernel.org/r/87imruhn1x.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org> (cherry picked from commit dcdab5820edd6123911dbd767ee1e389008b6a83 git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4) Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> %% original patch: 0143-FROMGIT-ASoC-soc-dai-add-snd_soc_dai_remove.patch 19 December 2019, 12:25:55 UTC
87e1230 FROMGIT: ASoC: soc-dai: add snd_soc_dai_probe() Current ALSA SoC is directly using dai->driver->xxx, thus, it has deep nested bracket, and it makes code unreadable. This patch adds new snd_soc_dai_probe() and use it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Link: https://lore.kernel.org/r/87k1cahn26.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org> (cherry picked from commit cfd9b5fbfe1e8763018aea2600aa0d6ff015ebfc git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4) Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> %% original patch: 0142-FROMGIT-ASoC-soc-dai-add-snd_soc_dai_probe.patch 19 December 2019, 12:25:54 UTC
a7db4e4 FROMGIT: ASoC: soc-dai: add snd_soc_dai_resume() Current ALSA SoC is directly using dai->driver->xxx, thus, it has deep nested bracket, and it makes code unreadable. This patch adds new snd_soc_dai_resume() and use it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Link: https://lore.kernel.org/r/87lfwqhn2j.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org> (cherry picked from commit 24b09d051164680f0a1d1910efe21ce36ad5c1ca git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4) Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> %% original patch: 0141-FROMGIT-ASoC-soc-dai-add-snd_soc_dai_resume.patch 19 December 2019, 12:25:53 UTC
c849e3d FROMGIT: ASoC: soc-dai: add snd_soc_dai_suspend() Current ALSA SoC is directly using dai->driver->xxx, thus, it has deep nested bracket, and it makes code unreadable. This patch adds new snd_soc_dai_suspend() and use it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Link: https://lore.kernel.org/r/87muh6hn2x.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org> (cherry picked from commit e0f2262292d0c8160cfd9a8c40425107fb65ab29 git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4) Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> %% original patch: 0140-FROMGIT-ASoC-soc-dai-add-snd_soc_dai_suspend.patch 19 December 2019, 12:25:53 UTC
back to top