Re: [PATCH] ARM: dts: dra7xx: Fix compatible string for PCF8575 chip

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

 



On 03/16/2016 02:10 PM, Ben Hutchings wrote:
> The binding definition for the PCF857x GPIO expanders doesn't mention
> a "ti,pcf8575" compatible string.  This is apparently because TI is
> only a second source - there is no functional difference between
> PCF8575 chips manufactured by TI and NXP, and the same board might be
> populated with either depending on availability.
> 
> As a practical matter, the gpio-pcf857x driver doesn't match this
> string, so these device trees currently don't work.

Sry, but could you explain more about "these device trees currently don't work"?
On my boards pcf_gpio_21: gpio@21 is enumerated, because the
i2c core uses modalias (of_modalias_node()).

root@dra7xx-evm:/# cat /proc/device-tree/ocp/i2c\@48070000/gpio\@21/compatible 
ti,pcf8575

root@dra7xx-evm:/# cat /sys/kernel/debug/gpio
GPIOs 480-495, i2c/0-0021, pcf8575, can sleep:
 gpio-481 (id                  ) in  hi IRQ
 gpio-482 (id                  ) in  hi IRQ
 gpio-485 (evm_3v3_sd          ) out hi    
 gpio-494 (enable              ) out lo

just worry if I missed smth. 


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



[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux