History

Merge tag 'soc-fixes-6.17-3' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc

Pull SoC fixes from Arnd Bergmann: "There are a few minor code fixes for tegra firmware, i.MX firmware and the eyeq reset controller, and a MAINTAINERS update as Alyssa Rosenzweig moves on to non-kernel projects. The other changes are all for devicetree files: - Multiple Marvell Armada SoCs need changes to fix PCIe, audio and SATA - A socfpga board fails to probe the ethernet phy - The two temperature sensors on i.MX8MP are swapped - Allwinner devicetree files cause build-time warnings - Two Rockchip based boards need corrections for headphone detection and SPI flash" * tag 'soc-fixes-6.17-3' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: MAINTAINERS: remove Alyssa Rosenzweig firmware: tegra: Do not warn on missing memory-region property arm64: dts: marvell: cn9132-clearfog: fix multi-lane pci x2 and x4 ports arm64: dts: marvell: cn9132-clearfog: disable eMMC high-speed modes arm64: dts: marvell: cn913x-solidrun: fix sata ports status ARM: dts: kirkwood: Fix sound DAI cells for OpenRD clients arm64: dts: imx8mp: Correct thermal sensor index ARM: imx: Kconfig: Adjust select after renamed config option firmware: imx: Add stub functions for SCMI CPU API firmware: imx: Add stub functions for SCMI LMM API firmware: imx: Add stub functions for SCMI MISC API riscv: dts: allwinner: rename devterm i2c-gpio node to comply with binding arm64: dts: rockchip: Fix the headphone detection on the orangepi 5 arm64: dts: rockchip: Add vcc supply for SPI Flash on NanoPC-T6 ARM: dts: socfpga: sodia: Fix mdio bus probe and PHY address reset: eyeq: fix OF node leak ARM64: dts: mcbin: fix SATA ports on Macchiatobin ARM: dts: armada-370-db: Fix stereo audio input routing on Armada 370 ARM: dts: allwinner: Minor whitespace cleanup

Linus Torvalds committed 1 year ago

Commit ea78c192 parents 4ea5af0 139237722 files · +113 −28Browse files

Showing the changes to include (1 of 22 files). Show all

Unified · Split

include/linux/firmware/imx/sm.h+47−0
@@ -26,13 +26,43 @@ · 25 unmodified lines
26#define SCMI_IMX94_CTRL_SAI3_MCLK 5U /*!< WAKE SAI3 MCLK */26#define SCMI_IMX94_CTRL_SAI3_MCLK 5U /*!< WAKE SAI3 MCLK */
27#define SCMI_IMX94_CTRL_SAI4_MCLK 6U /*!< WAKE SAI4 MCLK */27#define SCMI_IMX94_CTRL_SAI4_MCLK 6U /*!< WAKE SAI4 MCLK */
28 28
29#if IS_ENABLED(CONFIG_IMX_SCMI_MISC_DRV)
29int scmi_imx_misc_ctrl_get(u32 id, u32 *num, u32 *val);30int scmi_imx_misc_ctrl_get(u32 id, u32 *num, u32 *val);
30int scmi_imx_misc_ctrl_set(u32 id, u32 val);31int scmi_imx_misc_ctrl_set(u32 id, u32 val);
32#else
33static inline int scmi_imx_misc_ctrl_get(u32 id, u32 *num, u32 *val)
34{
35 return -EOPNOTSUPP;
36}
31 37
38static inline int scmi_imx_misc_ctrl_set(u32 id, u32 val)
39{
40 return -EOPNOTSUPP;
41}
42#endif
43
44#if IS_ENABLED(CONFIG_IMX_SCMI_CPU_DRV)
32int scmi_imx_cpu_start(u32 cpuid, bool start);45int scmi_imx_cpu_start(u32 cpuid, bool start);
33int scmi_imx_cpu_started(u32 cpuid, bool *started);46int scmi_imx_cpu_started(u32 cpuid, bool *started);
34int scmi_imx_cpu_reset_vector_set(u32 cpuid, u64 vector, bool start, bool boot,47int scmi_imx_cpu_reset_vector_set(u32 cpuid, u64 vector, bool start, bool boot,
35 bool resume);48 bool resume);
49#else
50static inline int scmi_imx_cpu_start(u32 cpuid, bool start)
51{
52 return -EOPNOTSUPP;
53}
54
55static inline int scmi_imx_cpu_started(u32 cpuid, bool *started)
56{
57 return -EOPNOTSUPP;
58}
59
60static inline int scmi_imx_cpu_reset_vector_set(u32 cpuid, u64 vector, bool start,
61 bool boot, bool resume)
62{
63 return -EOPNOTSUPP;
64}
65#endif
36 66
37enum scmi_imx_lmm_op {67enum scmi_imx_lmm_op {
38 SCMI_IMX_LMM_BOOT,68 SCMI_IMX_LMM_BOOT,
@@ -44,7 +74,24 @@ enum scmi_imx_lmm_op { · 5 unmodified lines
44#define SCMI_IMX_LMM_OP_FORCEFUL 074#define SCMI_IMX_LMM_OP_FORCEFUL 0
45#define SCMI_IMX_LMM_OP_GRACEFUL BIT(0)75#define SCMI_IMX_LMM_OP_GRACEFUL BIT(0)
46 76
77#if IS_ENABLED(CONFIG_IMX_SCMI_LMM_DRV)
47int scmi_imx_lmm_operation(u32 lmid, enum scmi_imx_lmm_op op, u32 flags);78int scmi_imx_lmm_operation(u32 lmid, enum scmi_imx_lmm_op op, u32 flags);
48int scmi_imx_lmm_info(u32 lmid, struct scmi_imx_lmm_info *info);79int scmi_imx_lmm_info(u32 lmid, struct scmi_imx_lmm_info *info);
49int scmi_imx_lmm_reset_vector_set(u32 lmid, u32 cpuid, u32 flags, u64 vector);80int scmi_imx_lmm_reset_vector_set(u32 lmid, u32 cpuid, u32 flags, u64 vector);
81#else
82static inline int scmi_imx_lmm_operation(u32 lmid, enum scmi_imx_lmm_op op, u32 flags)
83{
84 return -EOPNOTSUPP;
85}
86
87static inline int scmi_imx_lmm_info(u32 lmid, struct scmi_imx_lmm_info *info)
88{
89 return -EOPNOTSUPP;
90}
91
92static inline int scmi_imx_lmm_reset_vector_set(u32 lmid, u32 cpuid, u32 flags, u64 vector)
93{
94 return -EOPNOTSUPP;
95}
96#endif
50#endif97#endif