Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1702370

Re: [PATCH v6 5/7] PCI: dwc: qcom: Use block IP version for operations

From Stanimir Varbanov <svarbanov@mm-sol.com>
Newsgroups linux.kernel
Subject Re: [PATCH v6 5/7] PCI: dwc: qcom: Use block IP version for operations
Date 2017-08-02 20:40 +0200
Message-ID <ua6IO-59a-11@gated-at.bofh.it> (permalink)
References <u9cwV-2P5-5@gated-at.bofh.it> <u9cwW-2P5-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

On 31.07.2017 09:34, Varadarajan Narayanan wrote:
> Presently, when support for a new SoC is added, the driver ops
> structures and functions are versioned with plain 1, 2, 3 etc.
> Instead use the block IP version number.
> 
> Signed-off-by: Varadarajan Narayanan <varada@codeaurora.org>
> ---
>   drivers/pci/dwc/pcie-qcom.c | 133 +++++++++++++++++++++++---------------------
>   1 file changed, 71 insertions(+), 62 deletions(-)
> 
> diff --git a/drivers/pci/dwc/pcie-qcom.c b/drivers/pci/dwc/pcie-qcom.c

<cut>

> +/*
> + * Declare one of_device_id entry
> + * c - Compatible string
> + * d - Associated data
> + * w - SoC wrapper version (ignored)
> + * s - Synopsys core version (ignored)
> + */
> +#define QCOM_DECL(c, d, w, s) { .compatible = c, .data = &d }

Please don't introduce this macro, just add a comment with qcom version 
and corresponding synopsys version.

regards,
Stan

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH v6 5/7] PCI: dwc: qcom: Use block IP version for  operations Stanimir Varbanov <svarbanov@mm-sol.com> - 2017-08-02 20:40 +0200

csiph-web