[PATCH linux dev-4.10] ARM: dts: aspeed: Add ARM system BMC device tree

Andrew Jeffery andrew at aj.id.au
Fri Feb 2 10:46:31 AEDT 2018


On Mon, 22 Jan 2018, at 16:32, Chen.KenYY 陳永營 TAO wrote:
> Hi Joel,
> 
> Thanks you. 
> Before I update new patch, I have some question.
> Should I remove the definition which the driver didn't update now?
> The related driver added or modified will be update in future.
> 
> The watchdog is check for BMC and avoid BMC boot error, if we didn't 
> stop this, BMC chip will boot second BMC SPI ROM.
> Does the driver support this? Could you give me an example or advice?
> 
> The multi-function is enable SPI. It might modify driver.

There's no need to modify the driver. See my previous reply about how to do this via the devicetree and existing pinmux support. Hopefully that clears it up for you.

> 
> What is the mean of "Can you use a GPIO hog instead?" ?

GPIO hogs are a concept in the GPIO subsystem where you can allocate and configure lines during boot and then have them left alone, exactly like you're doing here. You can specify hogs in the devicetree. See [1] for an explanation and example.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/gpio/gpio.txt?h=v4.15#n187

Cheers,

Andrew


More information about the openbmc mailing list