[PATCH v10 6/9] LPC: Support the LPC host on Hip06/Hip07 with DT bindings
From: Gabriele Paoloni <hidden>
Date: 2017-11-09 10:05:44
Also in:
linux-acpi, linux-pci, lkml
From: Gabriele Paoloni <hidden>
Date: 2017-11-09 10:05:44
Also in:
linux-acpi, linux-pci, lkml
Hi Dann [...]
quoted
+ +#define START_WORK 0x01Any reason not to put this in the LPC_ namespace as well?
No, not really. We'll make it consistent in the next patchset
quoted
+/* The minimal nanosecond interval for each query on LPC cyclestatus. */
[...]
quoted
+ * hisilpc_target_in - trigger a series of lpc cycles to readrequired dataquoted
+ * from target peripheral. + * @pdev: pointer to hisi lpc deviceIt's now lpcdev
Thanks, we'll change it.
quoted
+ * @para: some parameters used to control the lpc I/O operations
[...]
quoted
+ * @pio: the target I/O port address.@outval & @pio are in the opposite order of the actual function
Thanks, we'll change it.
[...]
quoted
+ lpcdev->io_host->devpara = NULL; + dev_err(dev, "OF: scan hisilpc children got failed(%d)\n", + ret);nit: Maybe "OF: scanning hisilpc children failed(%d)" ?
Yes, thanks we'll change it.
quoted
+ return ret; + } + + dev_info(dev, "hslpc end probing. range[%pa - sz:%pa]\n", + &lpcdev->io_host->io_start, + &lpcdev->io_host->size); + + return ret; +}-dann