AnsweredAssumed Answered

imx6qdl-sabresd.dtsi issue

Question asked by veeranjaneyulu g on Mar 15, 2016
Latest reply on Mar 15, 2016 by veeranjaneyulu g

Hi everyone,

 

I customized in my imx6qdls-sabresd.dtsi file .I added ntc sensor  in place of gpio codd .below mentioned changed code.

 

        gpio-keys {

                compatible = "gpio-keys";

                pinctrl-names = "default";

                pinctrl-0 = <&pinctrl_gpio_keys>;

 

 

                power {

                        label = "Power Button";

                        gpios = <&gpio3 29 1>;

                        gpio-key,wakeup;

                        linux,code = <KEY_POWER>;

                };

 

/*              volume-up {

                        label = "Volume Up";

                        gpios = <&gpio1 4 1>;

                        gpio-key,wakeup;

                        linux,code = <KEY_VOLUMEUP>;

                };

 

 

                volume-down {

                        label = "Volume Down";

                        gpios = <&gpio1 5 1>;

                        gpio-key,wakeup;

                        linux,code = <KEY_VOLUMEDOWN>;

                };

       

/*PIR and NTC changed for custom board gpio */

                pir {

                        label = "pir sensor";

                        gpios = <&gpio1 4 1>;

                        gpio-key,wakeup;

                        linux,code = <KEY_PIRSENSOR>;

                };

                ntc {

                        label = "ntc sensor";

                        gpios = <&gpio1 5 1>;

                        gpio-key,wakeup;

                        linux,code = <KEY_NTCSENSOR>;

                };

    

| make: Leaving directory `/home/vishwa/workspace/veera_checkout_mar10/coderepo1/custom_mar11/tmp/work/imx6_zcam_custom-poky-linux-gnueabi/linux-imx/3.14.28-r0/image/usr/src/kernel'

| NOTE: make -j 4 imx6_zcam_custom.dtb

|   DTC     arch/arm/boot/dts/imx6_zcam_custom.dtb

| FATAL ERROR: Unable to parse input tree

| Error: arch/arm/boot/dts/imx6qdl-sabresd.dtsi:141.39-40 syntax error

| make[1]: *** [arch/arm/boot/dts/imx6_zcam_custom.dtb] Error 1

| make: *** [imx6_zcam_custom.dtb] Error 2

| ERROR: oe_runmake failed

| WARNING: exit code 1 from a shell command.

| Error: arch/arm/boot/dts/imx6qdl-sabresd.dtsi:141.39-40 syntax error

 

Can you any body guide me.

 

Thanks & Regards

veeranjaneyulu

Outcomes