Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,23 +22,15 @@ properties:
reg:
maxItems: 1

adi,sharc-min:
$ref: /schemas/types.yaml#/definitions/uint32
description: Minimum valid SHARC core ID/count
minimum: 1
maximum: 2

adi,sharc-max:
$ref: /schemas/types.yaml#/definitions/uint32
description: Maximum valid SHARC core ID/count
minimum: 1
maximum: 2
adi,sharc-core-ids:
$ref: /schemas/types.yaml#/definitions/uint32-array
description: List of SHARC core id's


required:
- compatible
- reg
- adi,sharc-min
- adi,sharc-max
- adi,sharc-core-ids

additionalProperties: false

Expand All @@ -47,6 +39,5 @@ examples:
rcu: rcu@3108c000 {
compatible = "adi,reset-controller";
reg = <0x3108c000 0x1000>;
adi,sharc-min = <1>;
adi,sharc-max = <2>;
adi,sharc-core-ids = <1 2>;
};
3 changes: 1 addition & 2 deletions arch/arm/boot/dts/adi/sc57x.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,7 @@
rcu: rcu@3108B000 {
compatible = "adi,reset-controller";
reg = <0x3108C000 0x1000>;
adi,sharc-min = <1>;
adi,sharc-max = <2>;
adi,sharc-core-ids = <1 2>;
adi,enable-reboot;
status = "okay";
};
Expand Down
3 changes: 1 addition & 2 deletions arch/arm/boot/dts/adi/sc58x.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,7 @@
rcu: rcu@3108B000 {
compatible = "adi,reset-controller";
reg = <0x3108B000 0x1000>;
adi,sharc-min = <1>;
adi,sharc-max = <2>;
adi,sharc-core-ids = <1 2>;
adi,enable-reboot;
status = "okay";
};
Expand Down
3 changes: 1 addition & 2 deletions arch/arm/boot/dts/adi/sc59x.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,7 @@
rcu: rcu@3108C000 {
compatible = "adi,reset-controller";
reg = <0x3108C000 0x1000>;
adi,sharc-min = <1>;
adi,sharc-max = <2>;
adi,sharc-core-ids = <1 2>;
adi,enable-reboot;
status = "okay";
};
Expand Down
139 changes: 139 additions & 0 deletions arch/arm/configs/sc573-ezkit_defconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
CONFIG_LOCALVERSION=""
CONFIG_SYSVIPC=y
# CONFIG_CROSS_MEMORY_ATTACH is not set
CONFIG_HIGH_RES_TIMERS=y
CONFIG_PREEMPT_VOLUNTARY=y
CONFIG_IKCONFIG=y
CONFIG_LOG_BUF_SHIFT=14
CONFIG_CGROUPS=y
CONFIG_BLK_DEV_INITRD=y
# CONFIG_RD_BZIP2 is not set
# CONFIG_RD_LZMA is not set
# CONFIG_RD_XZ is not set
# CONFIG_RD_LZO is not set
# CONFIG_RD_LZ4 is not set
# CONFIG_RD_ZSTD is not set
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
CONFIG_EMBEDDED=y
# CONFIG_VM_EVENT_COUNTERS is not set
CONFIG_SLAB=y
CONFIG_PROFILING=y
CONFIG_ARCH_SC5XX=y
CONFIG_ARCH_SC57X=y
CONFIG_MACH_SC573_EZKIT=y
CONFIG_ARM_THUMBEE=y
CONFIG_HZ_250=y
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_STAT=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPUFREQ_DT=y
# CONFIG_SUSPEND is not set
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
# CONFIG_SWAP is not set
# CONFIG_COMPACTION is not set
CONFIG_NET=y
CONFIG_PACKET=y
CONFIG_UNIX=y
CONFIG_INET=y
CONFIG_IP_PNP=y
CONFIG_IP_PNP_DHCP=y
CONFIG_IP_PNP_BOOTP=y
CONFIG_IP_PNP_RARP=y
CONFIG_NETWORK_PHY_TIMESTAMPING=y
CONFIG_NETFILTER=y
CONFIG_DNS_RESOLVER=y
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
CONFIG_MTD=y
CONFIG_MTD_CMDLINE_PARTS=y
CONFIG_MTD_BLOCK=y
CONFIG_MTD_SPI_NOR=y
# CONFIG_MTD_SPI_NOR_USE_4K_SECTORS is not set
CONFIG_MTD_UBI=y
CONFIG_BLK_DEV_LOOP=y
CONFIG_SRAM=y
CONFIG_ADI_SRAM_MMAP_V7=y
CONFIG_ADI_SRAM_CONTROLLER=y
CONFIG_SCSI=y
CONFIG_BLK_DEV_SD=y
# CONFIG_BLK_DEV_BSG is not set
CONFIG_NETDEVICES=y
CONFIG_STMMAC_ETH=y
CONFIG_DP83867_PHY=y
# CONFIG_INPUT_KEYBOARD is not set
# CONFIG_INPUT_MOUSE is not set
CONFIG_SERIO_LIBPS2=y
CONFIG_VT_HW_CONSOLE_BINDING=y
# CONFIG_LEGACY_PTYS is not set
CONFIG_SERIAL_ADI_UART4=y
CONFIG_TTY_PRINTK=y
CONFIG_HW_RANDOM=y
CONFIG_HW_RANDOM_ADI=y
CONFIG_I2C=y
CONFIG_I2C_CHARDEV=y
CONFIG_I2C_MUX=m
CONFIG_I2C_ADI_TWI=y
CONFIG_SPI=y
CONFIG_SPI_ADI=y
CONFIG_PINCTRL_MCP23S08=y
CONFIG_SRUCTRL_ADSP_SC5XX=y
CONFIG_GPIO_SYSFS=y
# CONFIG_HWMON is not set
CONFIG_WATCHDOG=y
CONFIG_ADI_WATCHDOG=y
CONFIG_SOUND=y
CONFIG_SND=y
CONFIG_SND_SOC=y
CONFIG_SND_SC5XX_PCM=y
CONFIG_SND_SC5XX_ADAU1979=y
CONFIG_SND_SC5XX_ADAU1962=y
CONFIG_USB=y
CONFIG_USB_STORAGE=y
CONFIG_USB_MUSB_HDRC=y
CONFIG_USB_MUSB_ADI=y
CONFIG_USB_INVENTRA_DMA=y
CONFIG_NOP_USB_XCEIV=y
CONFIG_USB_GADGET=y
CONFIG_USB_ETH=m
CONFIG_USB_GADGETFS=m
CONFIG_USB_MASS_STORAGE=m
CONFIG_USB_G_SERIAL=m
CONFIG_USB_G_HID=m
CONFIG_MMC=y
CONFIG_MMC_DW=y
CONFIG_DMADEVICES=y
CONFIG_ADI_DMA=y
# CONFIG_VIRTIO_MENU is not set
# CONFIG_VHOST_MENU is not set
CONFIG_STAGING=y
# CONFIG_IOMMU_SUPPORT is not set
CONFIG_REMOTEPROC=y
CONFIG_ADI_REMOTEPROC=y
CONFIG_RPMSG_CHAR=y
CONFIG_RPMSG_VIRTIO=y
CONFIG_ADI_ADSP_IRQ=y
CONFIG_EXT4_FS=y
# CONFIG_DNOTIFY is not set
CONFIG_AUTOFS4_FS=y
CONFIG_VFAT_FS=y
CONFIG_TMPFS=y
CONFIG_JFFS2_FS=y
CONFIG_UBIFS_FS=y
CONFIG_NFS_FS=y
CONFIG_NFS_V3_ACL=y
CONFIG_NFS_V4=y
CONFIG_NFS_V4_1=y
CONFIG_NFS_V4_2=y
CONFIG_CRYPTO_TEST=m
CONFIG_CRYPTO_DEV_ADI_CRC=y
CONFIG_CRC_CCITT=y
CONFIG_PRINTK_TIME=y
CONFIG_DEBUG_KERNEL=y
CONFIG_DEBUG_INFO=y
CONFIG_DEBUG_FS=y
CONFIG_DEBUG_PAGEALLOC=y
# CONFIG_FTRACE is not set
CONFIG_ARM_PTDUMP_DEBUGFS=y
CONFIG_EARLY_PRINTK=y
CONFIG_RESET_SC5XX=y
1 change: 1 addition & 0 deletions arch/arm/configs/sc573-ezlite_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -136,3 +136,4 @@ CONFIG_DEBUG_PAGEALLOC=y
# CONFIG_FTRACE is not set
CONFIG_ARM_PTDUMP_DEBUGFS=y
CONFIG_EARLY_PRINTK=y
CONFIG_RESET_SC5XX=y
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing newline at the end of the file, its also the case for other defconfigs.

1 change: 1 addition & 0 deletions arch/arm/configs/sc589-mini_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -141,3 +141,4 @@ CONFIG_DEBUG_PAGEALLOC=y
# CONFIG_FTRACE is not set
CONFIG_DEBUG_LL=y
CONFIG_EARLY_PRINTK=y
CONFIG_RESET_SC5XX=y
1 change: 1 addition & 0 deletions arch/arm/configs/sc594-som-ezkit_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -149,3 +149,4 @@ CONFIG_DEBUG_PAGEALLOC=y
CONFIG_DEBUG_FS=y
# CONFIG_FTRACE is not set
CONFIG_ADI_REMOTEPROC=y
CONFIG_RESET_SC5XX=y
1 change: 1 addition & 0 deletions arch/arm/configs/sc594-som-ezlite_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -146,3 +146,4 @@ CONFIG_DEBUG_INFO=y
CONFIG_DEBUG_PAGEALLOC=y
CONFIG_DEBUG_FS=y
# CONFIG_FTRACE is not set
CONFIG_RESET_SC5XX=y
3 changes: 1 addition & 2 deletions arch/arm64/boot/dts/adi/sc59x-64.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,7 @@
rcu: rcu@3108c000 {
compatible = "adi,reset-controller";
reg = <0x3108c000 0x1000>;
adi,sharc-min = <1>;
adi,sharc-max = <2>;
adi,sharc-core-ids = <1 2>;
adi,enable-reboot;
status = "okay";
};
Expand Down
8 changes: 8 additions & 0 deletions drivers/reset/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,14 @@ config RESET_RZG2L_USBPHY_CTRL
Support for USBPHY Control found on RZ/G2L family. It mainly
controls reset and power down of the USB/PHY.

config RESET_SC5XX
bool "ADI SC5XX Reset Driver"
depends on ARCH_SC59X_64 || ARCH_SC5XX
default y
help
This enables simple reset controller for ADI ADSP-SC5xx family.
Support software reset.

config RESET_SCMI
tristate "Reset driver controlled via ARM SCMI interface"
depends on ARM_SCMI_PROTOCOL || COMPILE_TEST
Expand Down
1 change: 1 addition & 0 deletions drivers/reset/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ obj-$(CONFIG_RESET_QCOM_AOSS) += reset-qcom-aoss.o
obj-$(CONFIG_RESET_QCOM_PDC) += reset-qcom-pdc.o
obj-$(CONFIG_RESET_RASPBERRYPI) += reset-raspberrypi.o
obj-$(CONFIG_RESET_RZG2L_USBPHY_CTRL) += reset-rzg2l-usbphy-ctrl.o
obj-$(CONFIG_RESET_SC5XX) += reset-sc5xx.o
obj-$(CONFIG_RESET_SCMI) += reset-scmi.o
obj-$(CONFIG_RESET_SIMPLE) += reset-simple.o
obj-$(CONFIG_RESET_SOCFPGA) += reset-socfpga.o
Expand Down
Loading