Re: Extending wdt-gpio to be used on non-of (no DT) platforms

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

 




2014-03-29 14:33 GMT+01:00 Alexander Shiyan <shc_work@xxxxxxx>:
> Sat, 29 Mar 2014 14:16:40 +0100 от Hauke Mehrtens <hauke@xxxxxxxxxx>:
>> The Huawei E970, the only device with a bcm47xx SoC which uses this gpio
>> watchdog I know of, needs the gpio driver very early. It is not possible
>> to deactivate the watchdogs, so it has to get trigged very early in the
>
> Why it cannot be deactivated?
> The driver has been designed for ADM70x ICs, where watchdog is
> deactivated by set GPIO to tristate.

I'm not sure how to achieve tri-state with Broadcom SoC. Our code is in:
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/bcma/driver_gpio.c

We have bcma_chipco_gpio_control that sets if GPIO is controlled by
ChipCommon (part of the SoC, one of many cores).
Maybe setting GPIO to be *not* controlled by ChipCommon will make it tri-state?

Any other ideas?

-- 
Rafał
--
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