mirror of
https://github.com/armbian/linux-cix.git
synced 2026-01-06 12:30:45 -08:00
Merge tag 'arm-soc-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
Pull 32-bit ARM SoC updates from Arnd Bergmann: "These updates are for platform specific code in arch/arm/, mostly fixing minor issues. The at91 platform gains support for better power management on the lan966 platform and new firmware on the sama5 platform. The mediatek soc drivers in turn are enabled for the new mt8195 SoC" * tag 'arm-soc-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (34 commits) ARM: at91: debug: add lan966 support ARM: at91: pm: add support for sama5d2 secure suspend ARM: at91: add code to handle secure calls ARM: at91: Kconfig: implement PIT64B selection ARM: at91: pm: add quirks for pm ARM: at91: pm: use kernel documentation style ARM: at91: pm: introduce macros for pm mode replacement ARM: at91: pm: keep documentation inline with structure members orion5x: fix typos in comments ARM: hisi: Add missing of_node_put after of_find_compatible_node ARM: shmobile: rcar-gen2: Drop comma after OF match table sentinel ARM: shmobile: Drop commas after dt_compat sentinels soc: mediatek: mutex: remove mt8195 MOD0 and SOF0 definition MAINTAINERS: Add Broadcom BCMBCA entry arm: bcmbca: add arch bcmbca machine entry MAINTAINERS: Broadcom internal lists aren't maintainers dt-bindings: pwrap: mediatek: Update pwrap document for mt8195 soc: mediatek: add DDP_DOMPONENT_DITHER0 enum for mt8195 vdosys0 soc: mediatek: add mtk-mutex support for mt8195 vdosys0 soc: mediatek: add mtk-mmsys support for mt8195 vdosys0 ...
This commit is contained in:
@@ -31,6 +31,7 @@ properties:
|
||||
- mediatek,mt8183-mmsys
|
||||
- mediatek,mt8186-mmsys
|
||||
- mediatek,mt8192-mmsys
|
||||
- mediatek,mt8195-mmsys
|
||||
- mediatek,mt8365-mmsys
|
||||
- const: syscon
|
||||
- items:
|
||||
@@ -41,6 +42,30 @@ properties:
|
||||
reg:
|
||||
maxItems: 1
|
||||
|
||||
power-domains:
|
||||
description:
|
||||
A phandle and PM domain specifier as defined by bindings
|
||||
of the power controller specified by phandle. See
|
||||
Documentation/devicetree/bindings/power/power-domain.yaml for details.
|
||||
|
||||
mboxes:
|
||||
description:
|
||||
Using mailbox to communicate with GCE, it should have this
|
||||
property and list of phandle, mailbox specifiers. See
|
||||
Documentation/devicetree/bindings/mailbox/mtk-gce.txt for details.
|
||||
$ref: /schemas/types.yaml#/definitions/phandle-array
|
||||
|
||||
mediatek,gce-client-reg:
|
||||
description:
|
||||
The register of client driver can be configured by gce with 4 arguments
|
||||
defined in this property, such as phandle of gce, subsys id,
|
||||
register offset and size.
|
||||
Each subsys id is mapping to a base address of display function blocks
|
||||
register which is defined in the gce header
|
||||
include/dt-bindings/gce/<chip>-gce.h.
|
||||
$ref: /schemas/types.yaml#/definitions/phandle-array
|
||||
maxItems: 1
|
||||
|
||||
"#clock-cells":
|
||||
const: 1
|
||||
|
||||
@@ -56,9 +81,16 @@ additionalProperties: false
|
||||
|
||||
examples:
|
||||
- |
|
||||
#include <dt-bindings/power/mt8173-power.h>
|
||||
#include <dt-bindings/gce/mt8173-gce.h>
|
||||
|
||||
mmsys: syscon@14000000 {
|
||||
compatible = "mediatek,mt8173-mmsys", "syscon";
|
||||
reg = <0x14000000 0x1000>;
|
||||
power-domains = <&spm MT8173_POWER_DOMAIN_MM>;
|
||||
#clock-cells = <1>;
|
||||
#reset-cells = <1>;
|
||||
mboxes = <&gce 0 CMDQ_THR_PRIO_HIGHEST>,
|
||||
<&gce 1 CMDQ_THR_PRIO_HIGHEST>;
|
||||
mediatek,gce-client-reg = <&gce SUBSYS_1400XXXX 0 0x1000>;
|
||||
};
|
||||
|
||||
@@ -31,20 +31,20 @@ Required properties in pwrap device node.
|
||||
"mediatek,mt8195-pwrap" for MT8195 SoCs
|
||||
"mediatek,mt8516-pwrap" for MT8516 SoCs
|
||||
- interrupts: IRQ for pwrap in SOC
|
||||
- reg-names: Must include the following entries:
|
||||
- reg-names: "pwrap" is required; "pwrap-bridge" is optional.
|
||||
"pwrap": Main registers base
|
||||
"pwrap-bridge": bridge base (IP Pairing)
|
||||
- reg: Must contain an entry for each entry in reg-names.
|
||||
- reset-names: Must include the following entries:
|
||||
"pwrap"
|
||||
"pwrap-bridge" (IP Pairing)
|
||||
- resets: Must contain an entry for each entry in reset-names.
|
||||
- clock-names: Must include the following entries:
|
||||
"spi": SPI bus clock
|
||||
"wrap": Main module clock
|
||||
- clocks: Must contain an entry for each entry in clock-names.
|
||||
|
||||
Optional properities:
|
||||
- reset-names: Some SoCs include the following entries:
|
||||
"pwrap"
|
||||
"pwrap-bridge" (IP Pairing)
|
||||
- resets: Must contain an entry for each entry in reset-names.
|
||||
- pmic: Using either MediaTek PMIC MFD as the child device of pwrap
|
||||
See the following for child node definitions:
|
||||
Documentation/devicetree/bindings/mfd/mt6397.txt
|
||||
|
||||
79
MAINTAINERS
79
MAINTAINERS
@@ -3753,9 +3753,23 @@ F: drivers/net/dsa/bcm_sf2*
|
||||
F: include/linux/dsa/brcm.h
|
||||
F: include/linux/platform_data/b53.h
|
||||
|
||||
BROADCOM BCMBCA ARM ARCHITECTURE
|
||||
M: William Zhang <william.zhang@broadcom.com>
|
||||
M: Anand Gore <anand.gore@broadcom.com>
|
||||
M: Kursad Oney <kursad.oney@broadcom.com>
|
||||
R: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com>
|
||||
L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
|
||||
S: Maintained
|
||||
T: git git://github.com/broadcom/stblinux.git
|
||||
F: Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml
|
||||
F: arch/arm/boot/dts/bcm47622.dtsi
|
||||
F: arch/arm/boot/dts/bcm947622.dts
|
||||
N: bcmbca
|
||||
N: bcm[9]?47622
|
||||
|
||||
BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE
|
||||
M: Nicolas Saenz Julienne <nsaenz@kernel.org>
|
||||
R: Broadcom Kernel Team <bcm-kernel-feedback-list@broadcom.com>
|
||||
R: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com>
|
||||
L: linux-rpi-kernel@lists.infradead.org (moderated for non-subscribers)
|
||||
L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
|
||||
S: Maintained
|
||||
@@ -3765,12 +3779,13 @@ F: drivers/pci/controller/pcie-brcmstb.c
|
||||
F: drivers/staging/vc04_services
|
||||
N: bcm2711
|
||||
N: bcm283*
|
||||
N: raspberrypi
|
||||
|
||||
BROADCOM BCM281XX/BCM11XXX/BCM216XX ARM ARCHITECTURE
|
||||
M: Florian Fainelli <f.fainelli@gmail.com>
|
||||
M: Ray Jui <rjui@broadcom.com>
|
||||
M: Scott Branden <sbranden@broadcom.com>
|
||||
R: Broadcom Kernel Team <bcm-kernel-feedback-list@broadcom.com>
|
||||
R: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com>
|
||||
S: Maintained
|
||||
T: git git://github.com/broadcom/mach-bcm
|
||||
F: arch/arm/mach-bcm/
|
||||
@@ -3790,7 +3805,7 @@ F: arch/mips/include/asm/mach-bcm47xx/*
|
||||
|
||||
BROADCOM BCM4908 ETHERNET DRIVER
|
||||
M: Rafał Miłecki <rafal@milecki.pl>
|
||||
R: Broadcom Kernel Team <bcm-kernel-feedback-list@broadcom.com>
|
||||
R: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com>
|
||||
L: netdev@vger.kernel.org
|
||||
S: Maintained
|
||||
F: Documentation/devicetree/bindings/net/brcm,bcm4908-enet.yaml
|
||||
@@ -3799,7 +3814,7 @@ F: drivers/net/ethernet/broadcom/unimac.h
|
||||
|
||||
BROADCOM BCM4908 PINMUX DRIVER
|
||||
M: Rafał Miłecki <rafal@milecki.pl>
|
||||
R: Broadcom Kernel Team <bcm-kernel-feedback-list@broadcom.com>
|
||||
R: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com>
|
||||
L: linux-gpio@vger.kernel.org
|
||||
S: Maintained
|
||||
F: Documentation/devicetree/bindings/pinctrl/brcm,bcm4908-pinctrl.yaml
|
||||
@@ -3809,7 +3824,7 @@ BROADCOM BCM5301X ARM ARCHITECTURE
|
||||
M: Florian Fainelli <f.fainelli@gmail.com>
|
||||
M: Hauke Mehrtens <hauke@hauke-m.de>
|
||||
M: Rafał Miłecki <zajec5@gmail.com>
|
||||
R: Broadcom Kernel Team <bcm-kernel-feedback-list@broadcom.com>
|
||||
R: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com>
|
||||
L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
|
||||
S: Maintained
|
||||
F: arch/arm/boot/dts/bcm470*
|
||||
@@ -3820,7 +3835,7 @@ F: arch/arm/mach-bcm/bcm_5301x.c
|
||||
BROADCOM BCM53573 ARM ARCHITECTURE
|
||||
M: Florian Fainelli <f.fainelli@gmail.com>
|
||||
M: Rafał Miłecki <rafal@milecki.pl>
|
||||
R: Broadcom Kernel Team <bcm-kernel-feedback-list@broadcom.com>
|
||||
R: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com>
|
||||
L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
|
||||
S: Maintained
|
||||
F: arch/arm/boot/dts/bcm47189*
|
||||
@@ -3828,7 +3843,7 @@ F: arch/arm/boot/dts/bcm53573*
|
||||
|
||||
BROADCOM BCM63XX ARM ARCHITECTURE
|
||||
M: Florian Fainelli <f.fainelli@gmail.com>
|
||||
R: Broadcom Kernel Team <bcm-kernel-feedback-list@broadcom.com>
|
||||
R: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com>
|
||||
L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
|
||||
S: Maintained
|
||||
T: git git://github.com/broadcom/stblinux.git
|
||||
@@ -3842,7 +3857,7 @@ F: drivers/usb/gadget/udc/bcm63xx_udc.*
|
||||
|
||||
BROADCOM BCM7XXX ARM ARCHITECTURE
|
||||
M: Florian Fainelli <f.fainelli@gmail.com>
|
||||
R: Broadcom Kernel Team <bcm-kernel-feedback-list@broadcom.com>
|
||||
R: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com>
|
||||
L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
|
||||
S: Maintained
|
||||
T: git git://github.com/broadcom/stblinux.git
|
||||
@@ -3860,21 +3875,21 @@ N: bcm7120
|
||||
BROADCOM BDC DRIVER
|
||||
M: Al Cooper <alcooperx@gmail.com>
|
||||
L: linux-usb@vger.kernel.org
|
||||
R: Broadcom Kernel Team <bcm-kernel-feedback-list@broadcom.com>
|
||||
R: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com>
|
||||
S: Maintained
|
||||
F: Documentation/devicetree/bindings/usb/brcm,bdc.yaml
|
||||
F: drivers/usb/gadget/udc/bdc/
|
||||
|
||||
BROADCOM BMIPS CPUFREQ DRIVER
|
||||
M: Markus Mayer <mmayer@broadcom.com>
|
||||
R: Broadcom Kernel Team <bcm-kernel-feedback-list@broadcom.com>
|
||||
R: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com>
|
||||
L: linux-pm@vger.kernel.org
|
||||
S: Maintained
|
||||
F: drivers/cpufreq/bmips-cpufreq.c
|
||||
|
||||
BROADCOM BMIPS MIPS ARCHITECTURE
|
||||
M: Florian Fainelli <f.fainelli@gmail.com>
|
||||
R: Broadcom Kernel Team <bcm-kernel-feedback-list@broadcom.com>
|
||||
R: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com>
|
||||
L: linux-mips@vger.kernel.org
|
||||
S: Maintained
|
||||
T: git git://github.com/broadcom/stblinux.git
|
||||
@@ -3942,14 +3957,14 @@ F: drivers/net/wireless/broadcom/brcm80211/
|
||||
BROADCOM BRCMSTB GPIO DRIVER
|
||||
M: Doug Berger <opendmb@gmail.com>
|
||||
M: Florian Fainelli <f.fainelli@gmail.com>
|
||||
R: Broadcom Kernel Team <bcm-kernel-feedback-list@broadcom.com>
|
||||
R: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com>
|
||||
S: Supported
|
||||
F: Documentation/devicetree/bindings/gpio/brcm,brcmstb-gpio.yaml
|
||||
F: drivers/gpio/gpio-brcmstb.c
|
||||
|
||||
BROADCOM BRCMSTB I2C DRIVER
|
||||
M: Kamal Dasu <kdasu.kdev@gmail.com>
|
||||
R: Broadcom Kernel Team <bcm-kernel-feedback-list@broadcom.com>
|
||||
R: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com>
|
||||
L: linux-i2c@vger.kernel.org
|
||||
S: Supported
|
||||
F: Documentation/devicetree/bindings/i2c/brcm,brcmstb-i2c.yaml
|
||||
@@ -3957,7 +3972,7 @@ F: drivers/i2c/busses/i2c-brcmstb.c
|
||||
|
||||
BROADCOM BRCMSTB UART DRIVER
|
||||
M: Al Cooper <alcooperx@gmail.com>
|
||||
R: Broadcom Kernel Team <bcm-kernel-feedback-list@broadcom.com>
|
||||
R: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com>
|
||||
L: linux-serial@vger.kernel.org
|
||||
S: Maintained
|
||||
F: Documentation/devicetree/bindings/serial/brcm,bcm7271-uart.yaml
|
||||
@@ -3965,7 +3980,7 @@ F: drivers/tty/serial/8250/8250_bcm7271.c
|
||||
|
||||
BROADCOM BRCMSTB USB EHCI DRIVER
|
||||
M: Al Cooper <alcooperx@gmail.com>
|
||||
R: Broadcom Kernel Team <bcm-kernel-feedback-list@broadcom.com>
|
||||
R: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com>
|
||||
L: linux-usb@vger.kernel.org
|
||||
S: Maintained
|
||||
F: Documentation/devicetree/bindings/usb/brcm,bcm7445-ehci.yaml
|
||||
@@ -3973,7 +3988,7 @@ F: drivers/usb/host/ehci-brcm.*
|
||||
|
||||
BROADCOM BRCMSTB USB PIN MAP DRIVER
|
||||
M: Al Cooper <alcooperx@gmail.com>
|
||||
R: Broadcom Kernel Team <bcm-kernel-feedback-list@broadcom.com>
|
||||
R: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com>
|
||||
L: linux-usb@vger.kernel.org
|
||||
S: Maintained
|
||||
F: Documentation/devicetree/bindings/usb/brcm,usb-pinmap.yaml
|
||||
@@ -3981,14 +3996,14 @@ F: drivers/usb/misc/brcmstb-usb-pinmap.c
|
||||
|
||||
BROADCOM BRCMSTB USB2 and USB3 PHY DRIVER
|
||||
M: Al Cooper <alcooperx@gmail.com>
|
||||
R: Broadcom Kernel Team <bcm-kernel-feedback-list@broadcom.com>
|
||||
R: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com>
|
||||
L: linux-kernel@vger.kernel.org
|
||||
S: Maintained
|
||||
F: drivers/phy/broadcom/phy-brcm-usb*
|
||||
|
||||
BROADCOM ETHERNET PHY DRIVERS
|
||||
M: Florian Fainelli <f.fainelli@gmail.com>
|
||||
R: Broadcom Kernel Team <bcm-kernel-feedback-list@broadcom.com>
|
||||
R: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com>
|
||||
L: netdev@vger.kernel.org
|
||||
S: Supported
|
||||
F: Documentation/devicetree/bindings/net/broadcom-bcm87xx.txt
|
||||
@@ -3999,7 +4014,7 @@ F: include/linux/brcmphy.h
|
||||
BROADCOM GENET ETHERNET DRIVER
|
||||
M: Doug Berger <opendmb@gmail.com>
|
||||
M: Florian Fainelli <f.fainelli@gmail.com>
|
||||
R: Broadcom Kernel Team <bcm-kernel-feedback-list@broadcom.com>
|
||||
R: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com>
|
||||
L: netdev@vger.kernel.org
|
||||
S: Supported
|
||||
F: Documentation/devicetree/bindings/net/brcm,bcmgenet.yaml
|
||||
@@ -4013,7 +4028,7 @@ F: include/linux/platform_data/mdio-bcm-unimac.h
|
||||
BROADCOM IPROC ARM ARCHITECTURE
|
||||
M: Ray Jui <rjui@broadcom.com>
|
||||
M: Scott Branden <sbranden@broadcom.com>
|
||||
R: Broadcom Kernel Team <bcm-kernel-feedback-list@broadcom.com>
|
||||
R: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com>
|
||||
L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
|
||||
S: Maintained
|
||||
T: git git://github.com/broadcom/stblinux.git
|
||||
@@ -4041,7 +4056,7 @@ N: stingray
|
||||
|
||||
BROADCOM IPROC GBIT ETHERNET DRIVER
|
||||
M: Rafał Miłecki <rafal@milecki.pl>
|
||||
R: Broadcom Kernel Team <bcm-kernel-feedback-list@broadcom.com>
|
||||
R: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com>
|
||||
L: netdev@vger.kernel.org
|
||||
S: Maintained
|
||||
F: Documentation/devicetree/bindings/net/brcm,amac.yaml
|
||||
@@ -4050,7 +4065,7 @@ F: drivers/net/ethernet/broadcom/unimac.h
|
||||
|
||||
BROADCOM KONA GPIO DRIVER
|
||||
M: Ray Jui <rjui@broadcom.com>
|
||||
R: Broadcom Kernel Team <bcm-kernel-feedback-list@broadcom.com>
|
||||
R: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com>
|
||||
S: Supported
|
||||
F: Documentation/devicetree/bindings/gpio/brcm,kona-gpio.txt
|
||||
F: drivers/gpio/gpio-bcm-kona.c
|
||||
@@ -4083,7 +4098,7 @@ F: drivers/firmware/broadcom/*
|
||||
BROADCOM PMB (POWER MANAGEMENT BUS) DRIVER
|
||||
M: Rafał Miłecki <rafal@milecki.pl>
|
||||
M: Florian Fainelli <f.fainelli@gmail.com>
|
||||
R: Broadcom Kernel Team <bcm-kernel-feedback-list@broadcom.com>
|
||||
R: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com>
|
||||
L: linux-pm@vger.kernel.org
|
||||
S: Maintained
|
||||
T: git git://github.com/broadcom/stblinux.git
|
||||
@@ -4099,7 +4114,7 @@ F: include/linux/bcma/
|
||||
|
||||
BROADCOM SPI DRIVER
|
||||
M: Kamal Dasu <kdasu.kdev@gmail.com>
|
||||
R: Broadcom Kernel Team <bcm-kernel-feedback-list@broadcom.com>
|
||||
R: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com>
|
||||
S: Maintained
|
||||
F: Documentation/devicetree/bindings/spi/brcm,spi-bcm-qspi.yaml
|
||||
F: drivers/spi/spi-bcm-qspi.*
|
||||
@@ -4108,7 +4123,7 @@ F: drivers/spi/spi-iproc-qspi.c
|
||||
|
||||
BROADCOM STB AVS CPUFREQ DRIVER
|
||||
M: Markus Mayer <mmayer@broadcom.com>
|
||||
R: Broadcom Kernel Team <bcm-kernel-feedback-list@broadcom.com>
|
||||
R: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com>
|
||||
L: linux-pm@vger.kernel.org
|
||||
S: Maintained
|
||||
F: Documentation/devicetree/bindings/cpufreq/brcm,stb-avs-cpu-freq.txt
|
||||
@@ -4116,7 +4131,7 @@ F: drivers/cpufreq/brcmstb*
|
||||
|
||||
BROADCOM STB AVS TMON DRIVER
|
||||
M: Markus Mayer <mmayer@broadcom.com>
|
||||
R: Broadcom Kernel Team <bcm-kernel-feedback-list@broadcom.com>
|
||||
R: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com>
|
||||
L: linux-pm@vger.kernel.org
|
||||
S: Maintained
|
||||
F: Documentation/devicetree/bindings/thermal/brcm,avs-tmon.yaml
|
||||
@@ -4124,7 +4139,7 @@ F: drivers/thermal/broadcom/brcmstb*
|
||||
|
||||
BROADCOM STB DPFE DRIVER
|
||||
M: Markus Mayer <mmayer@broadcom.com>
|
||||
R: Broadcom Kernel Team <bcm-kernel-feedback-list@broadcom.com>
|
||||
R: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com>
|
||||
L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
|
||||
S: Maintained
|
||||
F: Documentation/devicetree/bindings/memory-controllers/brcm,dpfe-cpu.yaml
|
||||
@@ -4133,7 +4148,7 @@ F: drivers/memory/brcmstb_dpfe.c
|
||||
BROADCOM STB NAND FLASH DRIVER
|
||||
M: Brian Norris <computersforpeace@gmail.com>
|
||||
M: Kamal Dasu <kdasu.kdev@gmail.com>
|
||||
R: Broadcom Kernel Team <bcm-kernel-feedback-list@broadcom.com>
|
||||
R: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com>
|
||||
L: linux-mtd@lists.infradead.org
|
||||
S: Maintained
|
||||
F: drivers/mtd/nand/raw/brcmnand/
|
||||
@@ -4143,7 +4158,7 @@ BROADCOM STB PCIE DRIVER
|
||||
M: Jim Quinlan <jim2101024@gmail.com>
|
||||
M: Nicolas Saenz Julienne <nsaenz@kernel.org>
|
||||
M: Florian Fainelli <f.fainelli@gmail.com>
|
||||
R: Broadcom Kernel Team <bcm-kernel-feedback-list@broadcom.com>
|
||||
R: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com>
|
||||
L: linux-pci@vger.kernel.org
|
||||
S: Maintained
|
||||
F: Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml
|
||||
@@ -4151,7 +4166,7 @@ F: drivers/pci/controller/pcie-brcmstb.c
|
||||
|
||||
BROADCOM SYSTEMPORT ETHERNET DRIVER
|
||||
M: Florian Fainelli <f.fainelli@gmail.com>
|
||||
R: Broadcom Kernel Team <bcm-kernel-feedback-list@broadcom.com>
|
||||
R: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com>
|
||||
L: netdev@vger.kernel.org
|
||||
S: Supported
|
||||
F: drivers/net/ethernet/broadcom/bcmsysport.*
|
||||
@@ -4168,7 +4183,7 @@ F: drivers/net/ethernet/broadcom/tg3.*
|
||||
|
||||
BROADCOM VK DRIVER
|
||||
M: Scott Branden <scott.branden@broadcom.com>
|
||||
R: Broadcom Kernel Team <bcm-kernel-feedback-list@broadcom.com>
|
||||
R: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com>
|
||||
S: Supported
|
||||
F: drivers/misc/bcm-vk/
|
||||
F: include/uapi/linux/misc/bcm_vk.h
|
||||
@@ -17775,7 +17790,7 @@ K: \bTIF_SECCOMP\b
|
||||
|
||||
SECURE DIGITAL HOST CONTROLLER INTERFACE (SDHCI) Broadcom BRCMSTB DRIVER
|
||||
M: Al Cooper <alcooperx@gmail.com>
|
||||
R: Broadcom Kernel Team <bcm-kernel-feedback-list@broadcom.com>
|
||||
R: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com>
|
||||
L: linux-mmc@vger.kernel.org
|
||||
S: Maintained
|
||||
F: drivers/mmc/host/sdhci-brcmstb*
|
||||
|
||||
@@ -210,6 +210,26 @@ choice
|
||||
Say Y here if you want kernel low-level debugging support
|
||||
on the FLEXCOM3 port of SAMA7G5.
|
||||
|
||||
config DEBUG_AT91_LAN966_FLEXCOM
|
||||
bool "Kernel low-level debugging on LAN966 FLEXCOM USART"
|
||||
select DEBUG_AT91_UART
|
||||
depends on SOC_LAN966
|
||||
help
|
||||
Say Y here if you want kernel low-level debugging support
|
||||
on the FLEXCOM port of LAN966.
|
||||
|
||||
DEBUG_UART_PHYS | DEBUG_UART_VIRT
|
||||
|
||||
0xe0040200 | 0xfd040200 | FLEXCOM0
|
||||
0xe0044200 | 0xfd044200 | FLEXCOM1
|
||||
0xe0060200 | 0xfd060200 | FLEXCOM2
|
||||
0xe0064200 | 0xfd064200 | FLEXCOM3
|
||||
0xe0070200 | 0xfd070200 | FLEXCOM4
|
||||
|
||||
By default, enabling FLEXCOM3 port. Based on requirement, use
|
||||
DEBUG_UART_PHYS and DEBUG_UART_VIRT configurations from above
|
||||
table.
|
||||
|
||||
config DEBUG_BCM2835
|
||||
bool "Kernel low-level debugging on BCM2835 PL011 UART"
|
||||
depends on ARCH_BCM2835 && ARCH_MULTI_V6
|
||||
@@ -1685,6 +1705,7 @@ config DEBUG_UART_PHYS
|
||||
default 0xd4017000 if DEBUG_MMP_UART2
|
||||
default 0xd4018000 if DEBUG_MMP_UART3
|
||||
default 0xe0000000 if DEBUG_SPEAR13XX
|
||||
default 0xe0064200 if DEBUG_AT91_LAN966_FLEXCOM
|
||||
default 0xe1824200 if DEBUG_AT91_SAMA7G5_FLEXCOM3
|
||||
default 0xe4007000 if DEBUG_HIP04_UART
|
||||
default 0xe6c40000 if DEBUG_RMOBILE_SCIFA0
|
||||
@@ -1805,6 +1826,7 @@ config DEBUG_UART_VIRT
|
||||
default 0xfb10c000 if DEBUG_REALVIEW_PB1176_PORT
|
||||
default 0xfcfe8600 if DEBUG_BCM63XX_UART
|
||||
default 0xfd000000 if DEBUG_SPEAR3XX || DEBUG_SPEAR13XX
|
||||
default 0xfd064200 if DEBUG_AT91_LAN966_FLEXCOM
|
||||
default 0xfd531000 if DEBUG_STIH41X_SBC_ASC1
|
||||
default 0xfd883000 if DEBUG_ALPINE_UART0
|
||||
default 0xfdd32000 if DEBUG_STIH41X_ASC2
|
||||
|
||||
@@ -6,7 +6,6 @@ CONFIG_BLK_DEV_INITRD=y
|
||||
# CONFIG_COMPAT_BRK is not set
|
||||
CONFIG_ARCH_S3C24XX=y
|
||||
CONFIG_S3C_ADC=y
|
||||
CONFIG_S3C24XX_PWM=y
|
||||
# CONFIG_CPU_S3C2410 is not set
|
||||
CONFIG_CPU_S3C2440=y
|
||||
CONFIG_MACH_MINI2440=y
|
||||
@@ -228,6 +227,8 @@ CONFIG_RTC_INTF_DEV_UIE_EMUL=y
|
||||
CONFIG_RTC_DRV_S3C=y
|
||||
CONFIG_DMADEVICES=y
|
||||
CONFIG_S3C24XX_DMAC=y
|
||||
CONFIG_PWM=y
|
||||
CONFIG_PWM_SAMSUNG=y
|
||||
CONFIG_EXT2_FS=m
|
||||
CONFIG_EXT2_FS_XATTR=y
|
||||
CONFIG_EXT2_FS_POSIX_ACL=y
|
||||
|
||||
@@ -358,6 +358,8 @@ CONFIG_RTC_CLASS=y
|
||||
CONFIG_RTC_DRV_S3C=y
|
||||
CONFIG_DMADEVICES=y
|
||||
CONFIG_S3C24XX_DMAC=y
|
||||
CONFIG_PWM=y
|
||||
CONFIG_PWM_SAMSUNG=y
|
||||
CONFIG_EXT2_FS=y
|
||||
CONFIG_EXT2_FS_XATTR=y
|
||||
CONFIG_EXT2_FS_POSIX_ACL=y
|
||||
|
||||
@@ -165,6 +165,15 @@ config ATMEL_CLOCKSOURCE_TCB
|
||||
to make a single 32-bit timer.
|
||||
It can also be used as a clock event device supporting oneshot mode.
|
||||
|
||||
config MICROCHIP_CLOCKSOURCE_PIT64B
|
||||
bool "64-bit Periodic Interval Timer (PIT64B) support"
|
||||
default SOC_SAM9X60 || SOC_SAMA7
|
||||
select MICROCHIP_PIT64B
|
||||
help
|
||||
Select this to get a high resolution clockevent (SAM9X60) or
|
||||
clocksource and clockevent (SAMA7G5) based on Microchip 64-bit
|
||||
Periodic Interval Timer.
|
||||
|
||||
config HAVE_AT91_UTMI
|
||||
bool
|
||||
|
||||
@@ -209,7 +218,16 @@ config SOC_SAMA5
|
||||
select SRAM if PM
|
||||
|
||||
config ATMEL_PM
|
||||
bool
|
||||
bool "Atmel PM support"
|
||||
|
||||
config ATMEL_SECURE_PM
|
||||
bool "Atmel Secure PM support"
|
||||
depends on SOC_SAMA5D2 && ATMEL_PM
|
||||
select ARM_PSCI
|
||||
help
|
||||
When running under a TEE, the suspend mode must be requested to be set
|
||||
at TEE level. When enable, this option will use secure monitor calls
|
||||
to set the suspend level. PSCI is then used to enter suspend.
|
||||
|
||||
config SOC_SAMA7
|
||||
bool
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
obj-$(CONFIG_SOC_AT91RM9200) += at91rm9200.o
|
||||
obj-$(CONFIG_SOC_AT91SAM9) += at91sam9.o
|
||||
obj-$(CONFIG_SOC_SAM9X60) += sam9x60.o
|
||||
obj-$(CONFIG_SOC_SAMA5) += sama5.o
|
||||
obj-$(CONFIG_SOC_SAMA5) += sama5.o sam_secure.o
|
||||
obj-$(CONFIG_SOC_SAMA7) += sama7.o
|
||||
obj-$(CONFIG_SOC_SAMV7) += samv7.o
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
46
arch/arm/mach-at91/sam_secure.c
Normal file
46
arch/arm/mach-at91/sam_secure.c
Normal file
@@ -0,0 +1,46 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
/*
|
||||
* Copyright (C) 2022, Microchip
|
||||
*/
|
||||
|
||||
#include <linux/arm-smccc.h>
|
||||
#include <linux/of.h>
|
||||
|
||||
#include "sam_secure.h"
|
||||
|
||||
static bool optee_available;
|
||||
|
||||
#define SAM_SIP_SMC_STD_CALL_VAL(func_num) \
|
||||
ARM_SMCCC_CALL_VAL(ARM_SMCCC_STD_CALL, ARM_SMCCC_SMC_32, \
|
||||
ARM_SMCCC_OWNER_SIP, (func_num))
|
||||
|
||||
struct arm_smccc_res sam_smccc_call(u32 fn, u32 arg0, u32 arg1)
|
||||
{
|
||||
struct arm_smccc_res res = {.a0 = -1};
|
||||
|
||||
if (WARN_ON(!optee_available))
|
||||
return res;
|
||||
|
||||
arm_smccc_smc(SAM_SIP_SMC_STD_CALL_VAL(fn), arg0, arg1, 0, 0, 0, 0, 0,
|
||||
&res);
|
||||
|
||||
return res;
|
||||
}
|
||||
|
||||
void __init sam_secure_init(void)
|
||||
{
|
||||
struct device_node *np;
|
||||
|
||||
/*
|
||||
* We only check that the OP-TEE node is present and available. The
|
||||
* OP-TEE kernel driver is not needed for the type of interaction made
|
||||
* with OP-TEE here so the driver's status is not checked.
|
||||
*/
|
||||
np = of_find_node_by_path("/firmware/optee");
|
||||
if (np && of_device_is_available(np))
|
||||
optee_available = true;
|
||||
of_node_put(np);
|
||||
|
||||
if (optee_available)
|
||||
pr_info("Running under OP-TEE firmware\n");
|
||||
}
|
||||
18
arch/arm/mach-at91/sam_secure.h
Normal file
18
arch/arm/mach-at91/sam_secure.h
Normal file
@@ -0,0 +1,18 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/*
|
||||
* Copyright (C) 2022, Microchip
|
||||
*/
|
||||
|
||||
#ifndef SAM_SECURE_H
|
||||
#define SAM_SECURE_H
|
||||
|
||||
#include <linux/arm-smccc.h>
|
||||
|
||||
/* Secure Monitor mode APIs */
|
||||
#define SAMA5_SMC_SIP_SET_SUSPEND_MODE 0x400
|
||||
#define SAMA5_SMC_SIP_GET_SUSPEND_MODE 0x401
|
||||
|
||||
void __init sam_secure_init(void);
|
||||
struct arm_smccc_res sam_smccc_call(u32 fn, u32 arg0, u32 arg1);
|
||||
|
||||
#endif /* SAM_SECURE_H */
|
||||
@@ -14,6 +14,7 @@
|
||||
#include <asm/system_misc.h>
|
||||
|
||||
#include "generic.h"
|
||||
#include "sam_secure.h"
|
||||
|
||||
static void __init sama5_dt_device_init(void)
|
||||
{
|
||||
@@ -47,6 +48,7 @@ MACHINE_END
|
||||
static void __init sama5d2_init(void)
|
||||
{
|
||||
of_platform_default_populate(NULL, NULL, NULL);
|
||||
sam_secure_init();
|
||||
sama5d2_pm_init();
|
||||
}
|
||||
|
||||
|
||||
@@ -218,4 +218,16 @@ config ARCH_BRCMSTB
|
||||
This enables support for Broadcom ARM-based set-top box chipsets,
|
||||
including the 7445 family of chips.
|
||||
|
||||
config ARCH_BCMBCA
|
||||
bool "Broadcom Broadband SoC"
|
||||
depends on ARCH_MULTI_V7
|
||||
select ARM_AMBA
|
||||
select ARM_GIC
|
||||
select HAVE_ARM_ARCH_TIMER
|
||||
help
|
||||
Say Y if you intend to run the kernel on a Broadcom Broadband ARM-based
|
||||
BCA chipset.
|
||||
|
||||
This enables support for Broadcom BCA ARM-based broadband chipsets,
|
||||
including the DSL, PON and Wireless family of chips.
|
||||
endif
|
||||
|
||||
@@ -59,7 +59,7 @@ static u32 hif_cont_reg;
|
||||
/*
|
||||
* We must quiesce a dying CPU before it can be killed by the boot CPU. Because
|
||||
* one or more cache may be disabled, we must flush to ensure coherency. We
|
||||
* cannot use traditionl completion structures or spinlocks as they rely on
|
||||
* cannot use traditional completion structures or spinlocks as they rely on
|
||||
* coherency.
|
||||
*/
|
||||
static DEFINE_PER_CPU_ALIGNED(int, per_cpu_sw_state);
|
||||
|
||||
@@ -67,14 +67,17 @@ static void __init hi3xxx_smp_prepare_cpus(unsigned int max_cpus)
|
||||
}
|
||||
ctrl_base = of_iomap(np, 0);
|
||||
if (!ctrl_base) {
|
||||
of_node_put(np);
|
||||
pr_err("failed to map address\n");
|
||||
return;
|
||||
}
|
||||
if (of_property_read_u32(np, "smp-offset", &offset) < 0) {
|
||||
of_node_put(np);
|
||||
pr_err("failed to find smp-offset property\n");
|
||||
return;
|
||||
}
|
||||
ctrl_base += offset;
|
||||
of_node_put(np);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -160,6 +163,7 @@ static int hip01_boot_secondary(unsigned int cpu, struct task_struct *idle)
|
||||
if (WARN_ON(!node))
|
||||
return -1;
|
||||
ctrl_base = of_iomap(node, 0);
|
||||
of_node_put(node);
|
||||
|
||||
/* set the secondary core boot from DDR */
|
||||
remap_reg_value = readl_relaxed(ctrl_base + REG_SC_CTRL);
|
||||
|
||||
@@ -320,8 +320,10 @@ int __init omap2_cm_base_init(void)
|
||||
data = (struct omap_prcm_init_data *)match->data;
|
||||
|
||||
ret = of_address_to_resource(np, 0, &res);
|
||||
if (ret)
|
||||
if (ret) {
|
||||
of_node_put(np);
|
||||
return ret;
|
||||
}
|
||||
|
||||
if (data->index == TI_CLKM_CM)
|
||||
mem = &cm_base;
|
||||
@@ -367,8 +369,10 @@ int __init omap_cm_init(void)
|
||||
continue;
|
||||
|
||||
ret = omap2_clk_provider_init(np, data->index, NULL, data->mem);
|
||||
if (ret)
|
||||
if (ret) {
|
||||
of_node_put(np);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
@@ -769,8 +769,10 @@ int __init omap2_control_base_init(void)
|
||||
data = (struct control_init_data *)match->data;
|
||||
|
||||
mem = of_iomap(np, 0);
|
||||
if (!mem)
|
||||
if (!mem) {
|
||||
of_node_put(np);
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
||||
if (data->index == TI_CLKM_CTRL) {
|
||||
omap2_ctrl_base = mem;
|
||||
@@ -810,22 +812,24 @@ int __init omap_control_init(void)
|
||||
if (scm_conf) {
|
||||
syscon = syscon_node_to_regmap(scm_conf);
|
||||
|
||||
if (IS_ERR(syscon))
|
||||
return PTR_ERR(syscon);
|
||||
if (IS_ERR(syscon)) {
|
||||
ret = PTR_ERR(syscon);
|
||||
goto of_node_put;
|
||||
}
|
||||
|
||||
if (of_get_child_by_name(scm_conf, "clocks")) {
|
||||
ret = omap2_clk_provider_init(scm_conf,
|
||||
data->index,
|
||||
syscon, NULL);
|
||||
if (ret)
|
||||
return ret;
|
||||
goto of_node_put;
|
||||
}
|
||||
} else {
|
||||
/* No scm_conf found, direct access */
|
||||
ret = omap2_clk_provider_init(np, data->index, NULL,
|
||||
data->mem);
|
||||
if (ret)
|
||||
return ret;
|
||||
goto of_node_put;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -836,6 +840,11 @@ int __init omap_control_init(void)
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
of_node_put:
|
||||
of_node_put(np);
|
||||
return ret;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -96,9 +96,6 @@ static void _add_clkdev(struct omap_device *od, const char *clk_alias,
|
||||
* omap_device, this function adds an entry in the clkdev table of the
|
||||
* form <dev-id=dev_name, con-id=role> if it does not exist already.
|
||||
*
|
||||
* The function is called from inside omap_device_build_ss(), after
|
||||
* omap_device_register.
|
||||
*
|
||||
* This allows drivers to get a pointer to its optional clocks based on its role
|
||||
* by calling clk_get(<dev*>, <role>).
|
||||
* In the case of the main clock, a "fck" alias is used.
|
||||
@@ -473,23 +470,6 @@ struct dev_pm_domain omap_device_pm_domain = {
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* omap_device_register - register an omap_device with one omap_hwmod
|
||||
* @pdev: the platform device (omap_device) to register.
|
||||
*
|
||||
* Register the omap_device structure. This currently just calls
|
||||
* platform_device_register() on the underlying platform_device.
|
||||
* Returns the return value of platform_device_register().
|
||||
*/
|
||||
int omap_device_register(struct platform_device *pdev)
|
||||
{
|
||||
pr_debug("omap_device: %s: registering\n", pdev->name);
|
||||
|
||||
dev_pm_domain_set(&pdev->dev, &omap_device_pm_domain);
|
||||
return platform_device_add(pdev);
|
||||
}
|
||||
|
||||
|
||||
/* Public functions for use by device drivers through struct platform_data */
|
||||
|
||||
/**
|
||||
|
||||
@@ -71,7 +71,6 @@ int omap_device_idle(struct platform_device *pdev);
|
||||
struct omap_device *omap_device_alloc(struct platform_device *pdev,
|
||||
struct omap_hwmod **ohs, int oh_cnt);
|
||||
void omap_device_delete(struct omap_device *od);
|
||||
int omap_device_register(struct platform_device *pdev);
|
||||
|
||||
struct device *omap_device_get_by_hwmod_name(const char *oh_name);
|
||||
|
||||
|
||||
@@ -752,8 +752,10 @@ int __init omap2_prm_base_init(void)
|
||||
data = (struct omap_prcm_init_data *)match->data;
|
||||
|
||||
ret = of_address_to_resource(np, 0, &res);
|
||||
if (ret)
|
||||
if (ret) {
|
||||
of_node_put(np);
|
||||
return ret;
|
||||
}
|
||||
|
||||
data->mem = ioremap(res.start, resource_size(&res));
|
||||
|
||||
@@ -799,8 +801,10 @@ int __init omap_prcm_init(void)
|
||||
data = match->data;
|
||||
|
||||
ret = omap2_clk_provider_init(np, data->index, NULL, data->mem);
|
||||
if (ret)
|
||||
if (ret) {
|
||||
of_node_put(np);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
omap_cm_init();
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user