mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-19 08:36:42 +07:00
49b3f87496
The Texas Instruments DAC7512 has the exact same pinout, programming interface and power-down modes as the Texas Instruments DAC121S101 and Analog Devices AD5320, which are already supported by the IIO driver ad5446.c. Remove the duplicate misc driver. This requires user space to migrate to the standardized IIO sysfs ABI. (In other words, it needs to change a filename.) The IIO driver supports the chip's features more fully, e.g. the ability to power down the output or choose one of the available powerdown modes. There is an oddity with the misc driver in that it initializes the SPI slave to SPI_MODE_0, in contradiction to the datasheet which specifies that data is latched in on the falling edge, implying that SPI_MODE_1 or SPI_MODE_2 must be used. Another oddity is that Kconfig and the MODULE_DESCRIPTION() claim the chip has 16-bit resolution although it actually has 12-bit. Datasheets: http://www.ti.com/lit/ds/symlink/dac7512.pdf http://www.ti.com/lit/ds/symlink/dac121s101.pdf http://www.analog.com/media/en/technical-documentation/data-sheets/AD5320.pdf Signed-off-by: Lukas Wunner <lukas@wunner.de> Acked-by: Daniel Mack <daniel@zonque.org> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
198 lines
4.4 KiB
Plaintext
198 lines
4.4 KiB
Plaintext
# CONFIG_LOCALVERSION_AUTO is not set
|
|
# CONFIG_SWAP is not set
|
|
CONFIG_MODULES=y
|
|
CONFIG_MODULE_UNLOAD=y
|
|
# CONFIG_LBDAF is not set
|
|
# CONFIG_BLK_DEV_BSG is not set
|
|
CONFIG_ARCH_PXA=y
|
|
CONFIG_MACH_RAUMFELD_RC=y
|
|
CONFIG_MACH_RAUMFELD_CONNECTOR=y
|
|
CONFIG_MACH_RAUMFELD_SPEAKER=y
|
|
CONFIG_NO_HZ=y
|
|
CONFIG_AEABI=y
|
|
# CONFIG_OABI_COMPAT is not set
|
|
CONFIG_CMDLINE="console=ttyS0,115200 rw"
|
|
CONFIG_CPU_FREQ=y
|
|
CONFIG_CPU_IDLE=y
|
|
CONFIG_PM=y
|
|
CONFIG_APM_EMULATION=y
|
|
CONFIG_NET=y
|
|
CONFIG_PACKET=y
|
|
CONFIG_UNIX=y
|
|
CONFIG_INET=y
|
|
CONFIG_IP_MULTICAST=y
|
|
CONFIG_IP_PNP=y
|
|
CONFIG_SYN_COOKIES=y
|
|
CONFIG_IPV6=y
|
|
CONFIG_CFG80211=y
|
|
CONFIG_MAC80211=y
|
|
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
|
|
CONFIG_MTD=y
|
|
CONFIG_MTD_BLOCK=y
|
|
CONFIG_NFTL=y
|
|
CONFIG_NFTL_RW=y
|
|
CONFIG_MTD_BLOCK2MTD=y
|
|
CONFIG_MTD_NAND=y
|
|
CONFIG_MTD_NAND_PXA3xx=y
|
|
CONFIG_MTD_UBI=y
|
|
CONFIG_BLK_DEV_LOOP=y
|
|
CONFIG_ISL29003=y
|
|
CONFIG_IIO=y
|
|
CONFIG_AD5446=y
|
|
CONFIG_SCSI=y
|
|
CONFIG_BLK_DEV_SD=y
|
|
CONFIG_CHR_DEV_SG=y
|
|
CONFIG_NETDEVICES=y
|
|
CONFIG_NET_ETHERNET=y
|
|
CONFIG_SMSC911X=y
|
|
CONFIG_LIBERTAS=y
|
|
CONFIG_LIBERTAS_SDIO=m
|
|
CONFIG_USB_USBNET=y
|
|
# CONFIG_USB_NET_AX8817X is not set
|
|
# CONFIG_USB_NET_NET1080 is not set
|
|
CONFIG_USB_NET_MCS7830=y
|
|
# CONFIG_USB_NET_CDC_SUBSET is not set
|
|
# CONFIG_USB_NET_ZAURUS is not set
|
|
CONFIG_INPUT_EVDEV=y
|
|
CONFIG_KEYBOARD_GPIO=y
|
|
# CONFIG_INPUT_MOUSE is not set
|
|
CONFIG_INPUT_TOUCHSCREEN=y
|
|
CONFIG_TOUCHSCREEN_EETI=m
|
|
CONFIG_INPUT_MISC=y
|
|
CONFIG_INPUT_GPIO_ROTARY_ENCODER=y
|
|
CONFIG_SERIAL_PXA=y
|
|
CONFIG_SERIAL_PXA_CONSOLE=y
|
|
CONFIG_HW_RANDOM=y
|
|
CONFIG_I2C=y
|
|
CONFIG_I2C_CHARDEV=y
|
|
CONFIG_I2C_PXA=y
|
|
CONFIG_SPI=y
|
|
CONFIG_SPI_DEBUG=y
|
|
CONFIG_SPI_GPIO=y
|
|
CONFIG_SPI_SPIDEV=y
|
|
CONFIG_DEBUG_GPIO=y
|
|
CONFIG_W1_MASTER_GPIO=m
|
|
CONFIG_POWER_SUPPLY=y
|
|
CONFIG_PDA_POWER=y
|
|
CONFIG_BATTERY_DS2760=m
|
|
CONFIG_SENSORS_LIS3_SPI=y
|
|
CONFIG_REGULATOR=y
|
|
CONFIG_REGULATOR_DEBUG=y
|
|
CONFIG_REGULATOR_FIXED_VOLTAGE=y
|
|
CONFIG_REGULATOR_MAX8660=y
|
|
CONFIG_FB=y
|
|
CONFIG_FB_PXA=y
|
|
CONFIG_BACKLIGHT_LCD_SUPPORT=y
|
|
# CONFIG_LCD_CLASS_DEVICE is not set
|
|
CONFIG_BACKLIGHT_CLASS_DEVICE=y
|
|
# CONFIG_BACKLIGHT_GENERIC is not set
|
|
CONFIG_BACKLIGHT_PWM=y
|
|
# CONFIG_VGA_CONSOLE is not set
|
|
CONFIG_FRAMEBUFFER_CONSOLE=y
|
|
CONFIG_LOGO=y
|
|
# CONFIG_LOGO_LINUX_MONO is not set
|
|
# CONFIG_LOGO_LINUX_VGA16 is not set
|
|
# CONFIG_LOGO_LINUX_CLUT224 is not set
|
|
CONFIG_SOUND=y
|
|
CONFIG_SND=y
|
|
# CONFIG_SND_DRIVERS is not set
|
|
# CONFIG_SND_USB is not set
|
|
CONFIG_SND_SOC=y
|
|
CONFIG_SND_PXA2XX_SOC=y
|
|
CONFIG_SND_SOC_RAUMFELD=y
|
|
CONFIG_HID_DRAGONRISE=y
|
|
CONFIG_HID_GYRATION=y
|
|
CONFIG_HID_TWINHAN=y
|
|
CONFIG_HID_NTRIG=y
|
|
CONFIG_HID_PANTHERLORD=y
|
|
CONFIG_HID_PETALYNX=y
|
|
CONFIG_HID_SAMSUNG=y
|
|
CONFIG_HID_SONY=y
|
|
CONFIG_HID_SUNPLUS=y
|
|
CONFIG_HID_GREENASIA=y
|
|
CONFIG_HID_SMARTJOYPLUS=y
|
|
CONFIG_HID_TOPSEED=y
|
|
CONFIG_HID_THRUSTMASTER=y
|
|
CONFIG_HID_ZEROPLUS=y
|
|
CONFIG_USB=y
|
|
CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
|
|
CONFIG_USB_MON=y
|
|
CONFIG_USB_OHCI_HCD=y
|
|
CONFIG_USB_STORAGE=y
|
|
CONFIG_USB_STORAGE_FREECOM=y
|
|
CONFIG_USB_STORAGE_ISD200=y
|
|
CONFIG_USB_STORAGE_USBAT=y
|
|
CONFIG_USB_STORAGE_SDDR09=y
|
|
CONFIG_USB_STORAGE_SDDR55=y
|
|
CONFIG_MMC=y
|
|
CONFIG_MMC_PXA=m
|
|
CONFIG_NEW_LEDS=y
|
|
CONFIG_LEDS_CLASS=y
|
|
CONFIG_LEDS_GPIO=y
|
|
CONFIG_LEDS_LT3593=y
|
|
CONFIG_LEDS_TRIGGERS=y
|
|
CONFIG_LEDS_TRIGGER_BACKLIGHT=y
|
|
CONFIG_RTC_CLASS=y
|
|
CONFIG_RTC_DRV_PXA=y
|
|
CONFIG_DMADEVICES=y
|
|
CONFIG_UIO=y
|
|
CONFIG_EXT2_FS=y
|
|
CONFIG_EXT2_FS_XIP=y
|
|
CONFIG_EXT3_FS=y
|
|
CONFIG_FSCACHE=y
|
|
CONFIG_FSCACHE_STATS=y
|
|
CONFIG_CACHEFILES=y
|
|
CONFIG_MSDOS_FS=y
|
|
CONFIG_VFAT_FS=y
|
|
CONFIG_TMPFS=y
|
|
CONFIG_UBIFS_FS=y
|
|
CONFIG_NFS_FS=y
|
|
CONFIG_NFS_V3=y
|
|
CONFIG_ROOT_NFS=y
|
|
CONFIG_NFS_FSCACHE=y
|
|
CONFIG_NLS_CODEPAGE_437=y
|
|
CONFIG_NLS_CODEPAGE_737=y
|
|
CONFIG_NLS_CODEPAGE_775=y
|
|
CONFIG_NLS_CODEPAGE_850=y
|
|
CONFIG_NLS_CODEPAGE_852=y
|
|
CONFIG_NLS_CODEPAGE_855=y
|
|
CONFIG_NLS_CODEPAGE_857=y
|
|
CONFIG_NLS_CODEPAGE_860=y
|
|
CONFIG_NLS_CODEPAGE_861=y
|
|
CONFIG_NLS_CODEPAGE_862=y
|
|
CONFIG_NLS_CODEPAGE_863=y
|
|
CONFIG_NLS_CODEPAGE_864=y
|
|
CONFIG_NLS_CODEPAGE_865=y
|
|
CONFIG_NLS_CODEPAGE_866=y
|
|
CONFIG_NLS_CODEPAGE_869=y
|
|
CONFIG_NLS_CODEPAGE_936=y
|
|
CONFIG_NLS_CODEPAGE_950=y
|
|
CONFIG_NLS_CODEPAGE_932=y
|
|
CONFIG_NLS_CODEPAGE_949=y
|
|
CONFIG_NLS_CODEPAGE_874=y
|
|
CONFIG_NLS_ISO8859_8=y
|
|
CONFIG_NLS_CODEPAGE_1250=y
|
|
CONFIG_NLS_CODEPAGE_1251=y
|
|
CONFIG_NLS_ASCII=y
|
|
CONFIG_NLS_ISO8859_1=y
|
|
CONFIG_NLS_ISO8859_2=y
|
|
CONFIG_NLS_ISO8859_3=y
|
|
CONFIG_NLS_ISO8859_4=y
|
|
CONFIG_NLS_ISO8859_5=y
|
|
CONFIG_NLS_ISO8859_6=y
|
|
CONFIG_NLS_ISO8859_7=y
|
|
CONFIG_NLS_ISO8859_9=y
|
|
CONFIG_NLS_ISO8859_13=y
|
|
CONFIG_NLS_ISO8859_14=y
|
|
CONFIG_NLS_ISO8859_15=y
|
|
CONFIG_NLS_KOI8_R=y
|
|
CONFIG_NLS_KOI8_U=y
|
|
CONFIG_NLS_UTF8=y
|
|
CONFIG_PRINTK_TIME=y
|
|
CONFIG_DEBUG_KERNEL=y
|
|
CONFIG_DEBUG_INFO=y
|
|
CONFIG_DEBUG_USER=y
|
|
CONFIG_DEBUG_LL=y
|
|
# CONFIG_CRYPTO_ANSI_CPRNG is not set
|
|
# CONFIG_CRYPTO_HW is not set
|