[PATCH v2] scripts/dtc: dt_to_config - example 3: nodes with complications, add config fragment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Example 3 -- show only the nodes that have complications, config fragments

Add config options that can be appended to existing kernel .config.

Use driver white list.

$ scripts/dtc/dt_to_config \
   --include-suspect --white-list-driver \
   --config ${KBUILD_OUTPUT}/.config \
   --config-format \
   arch/arm/boot/dts/qcom-apq8074-dragonboard.dts
# -dDc-------y- : /clocks/sleep_clk : fixed-clock : arch/powerpc/platforms/512x/clock-commonclk.c : CONFIG_COMMON_CLK : y
# CONFIG_COMMON_CLK is set
# CONFIG_COMMON_CLK=y
# -dDc-------y- : /clocks/sleep_clk : fixed-clock : drivers/clk/clk-fixed-rate.c : CONFIG_COMMON_CLK : y
# CONFIG_COMMON_CLK is set
# CONFIG_COMMON_CLK=y
# -dDc-----n--F : /clocks/sleep_clk : fixed-clock : drivers/clk/clk-u300.c : CONFIG_ARCH_U300 : n
# CONFIG_ARCH_U300 is not set
# CONFIG_ARCH_U300=y
# -dDc-----n--F : /clocks/sleep_clk : fixed-clock : drivers/clk/imx/clk-imx27.c : CONFIG_SOC_IMX27 : n
# CONFIG_SOC_IMX27 is not set
# CONFIG_SOC_IMX27=y
# -dDc-----n--F : /clocks/sleep_clk : fixed-clock : drivers/clk/imx/clk-imx31.c : CONFIG_SOC_IMX31 : n
# CONFIG_SOC_IMX31 is not set
# CONFIG_SOC_IMX31=y

# -dDc-------y- : /clocks/xo_board : fixed-clock : arch/powerpc/platforms/512x/clock-commonclk.c : CONFIG_COMMON_CLK : y
# CONFIG_COMMON_CLK is set
# CONFIG_COMMON_CLK=y
# -dDc-------y- : /clocks/xo_board : fixed-clock : drivers/clk/clk-fixed-rate.c : CONFIG_COMMON_CLK : y
# CONFIG_COMMON_CLK is set
# CONFIG_COMMON_CLK=y
# -dDc-----n--F : /clocks/xo_board : fixed-clock : drivers/clk/clk-u300.c : CONFIG_ARCH_U300 : n
# CONFIG_ARCH_U300 is not set
# CONFIG_ARCH_U300=y
# -dDc-----n--F : /clocks/xo_board : fixed-clock : drivers/clk/imx/clk-imx27.c : CONFIG_SOC_IMX27 : n
# CONFIG_SOC_IMX27 is not set
# CONFIG_SOC_IMX27=y
# -dDc-----n--F : /clocks/xo_board : fixed-clock : drivers/clk/imx/clk-imx31.c : CONFIG_SOC_IMX31 : n
# CONFIG_SOC_IMX31 is not set
# CONFIG_SOC_IMX31=y

# Md-c-------y- : /cpus/idle-states/spc : qcom,idle-state-spc : drivers/soc/qcom/spm.c : CONFIG_QCOM_PM : y
# CONFIG_QCOM_PM is set
# CONFIG_QCOM_PM=y
# MdDc-------y- : /cpus/idle-states/spc : arm,idle-state : drivers/cpuidle/cpuidle-arm.c : CONFIG_ARM_CPUIDLE : y
# CONFIG_ARM_CPUIDLE is set
# CONFIG_ARM_CPUIDLE=y
# MdDc-----n--F : /cpus/idle-states/spc : arm,idle-state : drivers/cpuidle/cpuidle-big_little.c : CONFIG_ARM_BIG_LITTLE_CPUIDLE : n
# CONFIG_ARM_BIG_LITTLE_CPUIDLE is not set
# CONFIG_ARM_BIG_LITTLE_CPUIDLE=y

# -------H----- : /cpus/l2-cache : cache : hardcoded_no_driver : no_config : x
# no_config

# -dDc-------y- : /smem : qcom,smem : drivers/soc/qcom/smem.c : CONFIG_QCOM_SMEM : y
# CONFIG_QCOM_SMEM is set
# CONFIG_QCOM_SMEM=y
# -dDc-----n--F : /smem : qcom,smem : drivers/soc/qcom/smp2p.c : CONFIG_QCOM_SMP2P : n
# CONFIG_QCOM_SMP2P is not set
# CONFIG_QCOM_SMP2P=y

# -d-c-----n--F : /smp2p-modem : qcom,smp2p : drivers/soc/qcom/smp2p.c : CONFIG_QCOM_SMP2P : n
# CONFIG_QCOM_SMP2P is not set
# CONFIG_QCOM_SMP2P=y

# -d-c-----n--F : /smp2p-wcnss : qcom,smp2p : drivers/soc/qcom/smp2p.c : CONFIG_QCOM_SMP2P : n
# CONFIG_QCOM_SMP2P is not set
# CONFIG_QCOM_SMP2P=y

# -d-c-----n--F : /smsm : qcom,smsm : drivers/soc/qcom/smsm.c : CONFIG_QCOM_SMSM : n
# CONFIG_QCOM_SMSM is not set
# CONFIG_QCOM_SMSM=y

# ------W------ : /soc : simple-bus : no_driver : no_config : x
# no_config

# -dDc-------y- : /soc/clock-controller@f9088000 : qcom,kpss-acc-v2 : arch/arm/mach-qcom/platsmp.c : CONFIG_SMP : y
# CONFIG_SMP is set
# CONFIG_SMP=y
# -dDc-------y- : /soc/clock-controller@f9088000 : qcom,kpss-acc-v2 : drivers/soc/qcom/spm.c : CONFIG_QCOM_PM : y
# CONFIG_QCOM_PM is set
# CONFIG_QCOM_PM=y

# -dDc-------y- : /soc/clock-controller@f9098000 : qcom,kpss-acc-v2 : arch/arm/mach-qcom/platsmp.c : CONFIG_SMP : y
# CONFIG_SMP is set
# CONFIG_SMP=y
# -dDc-------y- : /soc/clock-controller@f9098000 : qcom,kpss-acc-v2 : drivers/soc/qcom/spm.c : CONFIG_QCOM_PM : y
# CONFIG_QCOM_PM is set
# CONFIG_QCOM_PM=y

# -dDc-------y- : /soc/clock-controller@f90a8000 : qcom,kpss-acc-v2 : arch/arm/mach-qcom/platsmp.c : CONFIG_SMP : y
# CONFIG_SMP is set
# CONFIG_SMP=y
# -dDc-------y- : /soc/clock-controller@f90a8000 : qcom,kpss-acc-v2 : drivers/soc/qcom/spm.c : CONFIG_QCOM_PM : y
# CONFIG_QCOM_PM is set
# CONFIG_QCOM_PM=y

# -dDc-------y- : /soc/clock-controller@f90b8000 : qcom,kpss-acc-v2 : arch/arm/mach-qcom/platsmp.c : CONFIG_SMP : y
# CONFIG_SMP is set
# CONFIG_SMP=y
# -dDc-------y- : /soc/clock-controller@f90b8000 : qcom,kpss-acc-v2 : drivers/soc/qcom/spm.c : CONFIG_QCOM_PM : y
# CONFIG_QCOM_PM is set
# CONFIG_QCOM_PM=y

# -d-c-E-----y- : /soc/i2c@f9924000 : qcom,i2c-qup-v2.1.1 : drivers/i2c/busses/i2c-qup.c : CONFIG_I2C_QUP : y
# CONFIG_I2C_QUP is set
# CONFIG_I2C_QUP=y

# -d-c-E-----y- : /soc/i2c@f9964000 : qcom,i2c-qup-v2.1.1 : drivers/i2c/busses/i2c-qup.c : CONFIG_I2C_QUP : y
# CONFIG_I2C_QUP is set
# CONFIG_I2C_QUP=y

# Md-c-------y- : /soc/power-controller@f9089000 : qcom,msm8974-saw2-v2.1-cpu : drivers/soc/qcom/spm.c : CONFIG_QCOM_PM : y
# CONFIG_QCOM_PM is set
# CONFIG_QCOM_PM=y
# M------------ : /soc/power-controller@f9089000 : qcom,saw2 : no_driver : no_makefile : x
# no_makefile

# Md-c-------y- : /soc/power-controller@f9099000 : qcom,msm8974-saw2-v2.1-cpu : drivers/soc/qcom/spm.c : CONFIG_QCOM_PM : y
# CONFIG_QCOM_PM is set
# CONFIG_QCOM_PM=y
# M------------ : /soc/power-controller@f9099000 : qcom,saw2 : no_driver : no_makefile : x
# no_makefile

# Md-c-------y- : /soc/power-controller@f90a9000 : qcom,msm8974-saw2-v2.1-cpu : drivers/soc/qcom/spm.c : CONFIG_QCOM_PM : y
# CONFIG_QCOM_PM is set
# CONFIG_QCOM_PM=y
# M------------ : /soc/power-controller@f90a9000 : qcom,saw2 : no_driver : no_makefile : x
# no_makefile

# Md-c-------y- : /soc/power-controller@f90b9000 : qcom,msm8974-saw2-v2.1-cpu : drivers/soc/qcom/spm.c : CONFIG_QCOM_PM : y
# CONFIG_QCOM_PM is set
# CONFIG_QCOM_PM=y
# M------------ : /soc/power-controller@f90b9000 : qcom,saw2 : no_driver : no_makefile : x
# no_makefile

# -d-c-E-----y- : /soc/sdhci@f98a4900 : qcom,sdhci-msm-v4 : drivers/mmc/host/sdhci-msm.c : CONFIG_MMC_SDHCI_MSM : y
# CONFIG_MMC_SDHCI_MSM is set
# CONFIG_MMC_SDHCI_MSM=y

# Md-c-------y- : /soc/serial@f991e000 : qcom,msm-uartdm-v1.4 : drivers/tty/serial/msm_serial.c : CONFIG_SERIAL_MSM : y
# CONFIG_SERIAL_MSM is set
# CONFIG_SERIAL_MSM=y
# Md-c-------y- : /soc/serial@f991e000 : qcom,msm-uartdm : drivers/tty/serial/msm_serial.c : CONFIG_SERIAL_MSM : y
# CONFIG_SERIAL_MSM is set
# CONFIG_SERIAL_MSM=y

# Md-c-------y- : /soc/spmi@fc4cf000/pm8841@4 : qcom,pm8841 : drivers/mfd/qcom-spmi-pmic.c : CONFIG_MFD_SPMI_PMIC : y
# CONFIG_MFD_SPMI_PMIC is set
# CONFIG_MFD_SPMI_PMIC=y
# Md-c-------y- : /soc/spmi@fc4cf000/pm8841@4 : qcom,spmi-pmic : drivers/mfd/qcom-spmi-pmic.c : CONFIG_MFD_SPMI_PMIC : y
# CONFIG_MFD_SPMI_PMIC is set
# CONFIG_MFD_SPMI_PMIC=y

# Md-c-------y- : /soc/spmi@fc4cf000/pm8841@4/mpps@a000 : qcom,pm8841-mpp : drivers/pinctrl/qcom/pinctrl-spmi-mpp.c : CONFIG_PINCTRL_QCOM_SPMI_PMIC : y
# CONFIG_PINCTRL_QCOM_SPMI_PMIC is set
# CONFIG_PINCTRL_QCOM_SPMI_PMIC=y
# M------------ : /soc/spmi@fc4cf000/pm8841@4/mpps@a000 : qcom,spmi-mpp : no_driver : no_config : x
# no_config

# -d-c-----n--F : /soc/spmi@fc4cf000/pm8841@4/temp-alarm@2400 : qcom,spmi-temp-alarm : drivers/thermal/qcom-spmi-temp-alarm.c : CONFIG_QCOM_SPMI_TEMP_ALARM : n
# CONFIG_QCOM_SPMI_TEMP_ALARM is not set
# CONFIG_QCOM_SPMI_TEMP_ALARM=y

# Md-c-------y- : /soc/spmi@fc4cf000/pm8841@5 : qcom,pm8841 : drivers/mfd/qcom-spmi-pmic.c : CONFIG_MFD_SPMI_PMIC : y
# CONFIG_MFD_SPMI_PMIC is set
# CONFIG_MFD_SPMI_PMIC=y
# Md-c-------y- : /soc/spmi@fc4cf000/pm8841@5 : qcom,spmi-pmic : drivers/mfd/qcom-spmi-pmic.c : CONFIG_MFD_SPMI_PMIC : y
# CONFIG_MFD_SPMI_PMIC is set
# CONFIG_MFD_SPMI_PMIC=y

# Md-c-------y- : /soc/spmi@fc4cf000/pm8941@0 : qcom,pm8941 : drivers/mfd/qcom-spmi-pmic.c : CONFIG_MFD_SPMI_PMIC : y
# CONFIG_MFD_SPMI_PMIC is set
# CONFIG_MFD_SPMI_PMIC=y
# Md-c-------y- : /soc/spmi@fc4cf000/pm8941@0 : qcom,spmi-pmic : drivers/mfd/qcom-spmi-pmic.c : CONFIG_MFD_SPMI_PMIC : y
# CONFIG_MFD_SPMI_PMIC is set
# CONFIG_MFD_SPMI_PMIC=y

# -d-c-E-----y- : /soc/spmi@fc4cf000/pm8941@0/coincell@2800 : qcom,pm8941-coincell : drivers/misc/qcom-coincell.c : CONFIG_QCOM_COINCELL : y
# CONFIG_QCOM_COINCELL is set
# CONFIG_QCOM_COINCELL=y

# Md-c-------y- : /soc/spmi@fc4cf000/pm8941@0/gpios@c000 : qcom,pm8941-gpio : drivers/pinctrl/qcom/pinctrl-spmi-gpio.c : CONFIG_PINCTRL_QCOM_SPMI_PMIC : y
# CONFIG_PINCTRL_QCOM_SPMI_PMIC is set
# CONFIG_PINCTRL_QCOM_SPMI_PMIC=y
# M------------ : /soc/spmi@fc4cf000/pm8941@0/gpios@c000 : qcom,spmi-gpio : no_driver : no_config : x
# no_config

# M------------ : /soc/spmi@fc4cf000/pm8941@0/iadc@3600 : qcom,pm8941-iadc : no_driver : no_config : x
# no_config
# Md-c-----n--F : /soc/spmi@fc4cf000/pm8941@0/iadc@3600 : qcom,spmi-iadc : drivers/iio/adc/qcom-spmi-iadc.c : CONFIG_QCOM_SPMI_IADC : n
# CONFIG_QCOM_SPMI_IADC is not set
# CONFIG_QCOM_SPMI_IADC=y

# Md-c-------y- : /soc/spmi@fc4cf000/pm8941@0/mpps@a000 : qcom,pm8941-mpp : drivers/pinctrl/qcom/pinctrl-spmi-mpp.c : CONFIG_PINCTRL_QCOM_SPMI_PMIC : y
# CONFIG_PINCTRL_QCOM_SPMI_PMIC is set
# CONFIG_PINCTRL_QCOM_SPMI_PMIC=y
# M------------ : /soc/spmi@fc4cf000/pm8941@0/mpps@a000 : qcom,spmi-mpp : no_driver : no_makefile : x
# no_makefile

# -d-c-----n--F : /soc/spmi@fc4cf000/pm8941@0/pwrkey@800 : qcom,pm8941-pwrkey : drivers/input/misc/pm8941-pwrkey.c : CONFIG_INPUT_PM8941_PWRKEY : n
# CONFIG_INPUT_PM8941_PWRKEY is not set
# CONFIG_INPUT_PM8941_PWRKEY=y

# -d-c-----n--F : /soc/spmi@fc4cf000/pm8941@0/temp-alarm@2400 : qcom,spmi-temp-alarm : drivers/thermal/qcom-spmi-temp-alarm.c : CONFIG_QCOM_SPMI_TEMP_ALARM : n
# CONFIG_QCOM_SPMI_TEMP_ALARM is not set
# CONFIG_QCOM_SPMI_TEMP_ALARM=y

# -d-c-----n--F : /soc/spmi@fc4cf000/pm8941@0/vadc@3100 : qcom,spmi-vadc : drivers/iio/adc/qcom-spmi-vadc.c : CONFIG_QCOM_SPMI_VADC : n
# CONFIG_QCOM_SPMI_VADC is not set
# CONFIG_QCOM_SPMI_VADC=y

# Md-c-------y- : /soc/spmi@fc4cf000/pm8941@1 : qcom,pm8941 : drivers/mfd/qcom-spmi-pmic.c : CONFIG_MFD_SPMI_PMIC : y
# CONFIG_MFD_SPMI_PMIC is set
# CONFIG_MFD_SPMI_PMIC=y
# Md-c-------y- : /soc/spmi@fc4cf000/pm8941@1 : qcom,spmi-pmic : drivers/mfd/qcom-spmi-pmic.c : CONFIG_MFD_SPMI_PMIC : y
# CONFIG_MFD_SPMI_PMIC is set
# CONFIG_MFD_SPMI_PMIC=y

# -d-c-E---n--F : /soc/spmi@fc4cf000/pm8941@1/wled@d800 : qcom,pm8941-wled : drivers/video/backlight/pm8941-wled.c : CONFIG_BACKLIGHT_PM8941_WLED : n
# CONFIG_BACKLIGHT_PM8941_WLED is not set
# CONFIG_BACKLIGHT_PM8941_WLED=y

# -d-c---H---y- : /soc/syscon@f9011000 : syscon : drivers/mfd/syscon.c : CONFIG_MFD_SYSCON : y
# CONFIG_MFD_SYSCON is set
# CONFIG_MFD_SYSCON=y

# -d-c---H---y- : /soc/syscon@fd484000 : syscon : drivers/mfd/syscon.c : CONFIG_MFD_SYSCON : y
# CONFIG_MFD_SYSCON is set
# CONFIG_MFD_SYSCON=y

# -dDc-------y- : /timer : arm,armv7-timer : arch/arm/kernel/vdso.c : CONFIG_VDSO : y
# CONFIG_VDSO is set
# CONFIG_VDSO=y
# -dDc-------y- : /timer : arm,armv7-timer : drivers/clocksource/arm_arch_timer.c : CONFIG_ARM_ARCH_TIMER : y
# CONFIG_ARM_ARCH_TIMER is set
# CONFIG_ARM_ARCH_TIMER=y


--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux