i2c: Remove unncessary HAS_I2C_DW Kconfig symbol

The HAS_I2C_DW was to limit Kconfig visibility to only platforms
that utilize the I2C DW IP.  The Kconfig for I2C_DW depends on
DT_HAS_SNPS_DESIGNWARE_I2C_ENABLED which will cause the same
visbility limitation to only platforms that have I2C DW devicetree
nodes.  Thus we can remove HAS_I2C_DW and its references.

Signed-off-by: Kumar Gala <galak@kernel.org>
This commit is contained in:
Kumar Gala 2022-07-28 16:27:40 -05:00 committed by Carles Cufí
parent 4d49ba67b5
commit 84575930f5
6 changed files with 0 additions and 11 deletions

View file

@ -1,16 +1,10 @@
# Copyright (c) 2018 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
# This option signifies whether DesignWare I2C compatible HW is
# available
config HAS_I2C_DW
bool
menuconfig I2C_DW
bool "Design Ware I2C support"
default y
depends on DT_HAS_SNPS_DESIGNWARE_I2C_ENABLED
depends on HAS_I2C_DW
help
Enable the Design Ware I2C driver

View file

@ -5,5 +5,4 @@
config SOC_EMSK
bool "Synopsys ARC EM Starter Kit SoC"
select ARC
select HAS_I2C_DW if I2C
select HAS_SPI_DW if SPI

View file

@ -10,7 +10,6 @@ config SOC_SERIES_CYCLONE5
select GIC_V1
select SOC_FAMILY_INTEL_SOCFPGA_STD
select ARM_ARCH_TIMER_ERRATUM_740657 if ARM_ARCH_TIMER
select HAS_I2C_DW if I2C
select HAS_SPI_DW if SPI
select ARCH_HAS_RESERVED_PAGE_FRAMES
help

View file

@ -13,7 +13,6 @@ config SOC_SERIES_RP2XXX
select CPU_HAS_ARM_MPU
select SOC_FAMILY_RPI_PICO
select HAS_RPI_PICO
select HAS_I2C_DW if I2C
select XIP
help
Enable support for Raspberry Pi RP2 MCU series

View file

@ -5,7 +5,6 @@ config SOC_APOLLO_LAKE
bool "Intel Apollo Lake Soc"
select X86
select CPU_APOLLO_LAKE
select HAS_I2C_DW if I2C
select PCIE
select PCIE_MSI
select DYNAMIC_INTERRUPTS

View file

@ -5,7 +5,6 @@ config SOC_ELKHART_LAKE
bool "Intel Elkhart Lake Soc"
select X86
select CPU_ATOM
select HAS_I2C_DW if I2C
select PCIE
select PCIE_MSI
select DYNAMIC_INTERRUPTS