* [PATCH 0/2] mmc: AM64: Add new compatible string and driver support @ 2021-01-13 11:59 Aswath Govindraju 2021-01-13 11:59 ` [PATCH 1/2] dt-bindings: mmc: sdhci-am654: Add compatible string for AM64 SoC Aswath Govindraju ` (2 more replies) 0 siblings, 3 replies; 6+ messages in thread From: Aswath Govindraju @ 2021-01-13 11:59 UTC (permalink / raw) Cc: Sekhar Nori, Vignesh Raghavendra, Kishon Vijay Abraham I, Faiz Abbas, Aswath Govindraju, Ulf Hansson, Rob Herring, Adrian Hunter, linux-mmc, devicetree, linux-kernel The following series of patches, - Adds new compatible string for AM64 SoC - Adds support for AM64 SoC in sdhci_am654 driver This patch series is a combination of the patches [1] and [2]. [1] - https://lore.kernel.org/patchwork/patch/1361560/ [2] - https://lore.kernel.org/patchwork/patch/1364589/ Aswath Govindraju (1): dt-bindings: mmc: sdhci-am654: Add compatible string for AM64 SoC Faiz Abbas (1): mmc: sdhci_am654: Add Support for TI's AM64 SoC .../devicetree/bindings/mmc/sdhci-am654.yaml | 2 ++ drivers/mmc/host/sdhci_am654.c | 28 +++++++++++++++++++ 2 files changed, 30 insertions(+) -- 2.17.1 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 1/2] dt-bindings: mmc: sdhci-am654: Add compatible string for AM64 SoC 2021-01-13 11:59 [PATCH 0/2] mmc: AM64: Add new compatible string and driver support Aswath Govindraju @ 2021-01-13 11:59 ` Aswath Govindraju 2021-01-13 12:05 ` Aswath Govindraju 2021-01-13 11:59 ` [PATCH 2/2] mmc: sdhci_am654: Add Support for TI's " Aswath Govindraju 2021-01-13 13:07 ` [PATCH 0/2] mmc: AM64: Add new compatible string and driver support Ulf Hansson 2 siblings, 1 reply; 6+ messages in thread From: Aswath Govindraju @ 2021-01-13 11:59 UTC (permalink / raw) Cc: Sekhar Nori, Vignesh Raghavendra, Kishon Vijay Abraham I, Faiz Abbas, Aswath Govindraju, Ulf Hansson, Rob Herring, Adrian Hunter, linux-mmc, devicetree, linux-kernel Add compatible string for AM64 SoC in device tree binding of AM654 SDHCI module as the same IP is used. Signed-off-by: Aswath Govindraju <a-govindraju@ti.com> Acked-by: Rob Herring <robh@kernel.org> --- Documentation/devicetree/bindings/mmc/sdhci-am654.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/mmc/sdhci-am654.yaml b/Documentation/devicetree/bindings/mmc/sdhci-am654.yaml index 1ae945434c53..34e53db29428 100644 --- a/Documentation/devicetree/bindings/mmc/sdhci-am654.yaml +++ b/Documentation/devicetree/bindings/mmc/sdhci-am654.yaml @@ -21,6 +21,8 @@ properties: - ti,j721e-sdhci-4bit - ti,j7200-sdhci-8bit - ti,j721e-sdhci-4bit + - ti,am64-sdhci-8bit + - ti,am64-sdhci-4bit reg: maxItems: 2 -- 2.17.1 ^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 1/2] dt-bindings: mmc: sdhci-am654: Add compatible string for AM64 SoC 2021-01-13 11:59 ` [PATCH 1/2] dt-bindings: mmc: sdhci-am654: Add compatible string for AM64 SoC Aswath Govindraju @ 2021-01-13 12:05 ` Aswath Govindraju 0 siblings, 0 replies; 6+ messages in thread From: Aswath Govindraju @ 2021-01-13 12:05 UTC (permalink / raw) Cc: Sekhar Nori, Vignesh Raghavendra, Kishon Vijay Abraham I, Faiz Abbas, Ulf Hansson, Rob Herring, Adrian Hunter, linux-mmc, devicetree, linux-kernel, Aswath Govindraju Hi, On 13/01/21 5:29 pm, Aswath Govindraju wrote: > Add compatible string for AM64 SoC in device tree binding of AM654 SDHCI module > as the same IP is used. > > Signed-off-by: Aswath Govindraju <a-govindraju@ti.com> > Acked-by: Rob Herring <robh@kernel.org> > --- Very sorry forgot to add RESEND tag in the subject. The link to the original patch, https://lore.kernel.org/patchwork/patch/1361560/ Thanks, Aswath > Documentation/devicetree/bindings/mmc/sdhci-am654.yaml | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/Documentation/devicetree/bindings/mmc/sdhci-am654.yaml b/Documentation/devicetree/bindings/mmc/sdhci-am654.yaml > index 1ae945434c53..34e53db29428 100644 > --- a/Documentation/devicetree/bindings/mmc/sdhci-am654.yaml > +++ b/Documentation/devicetree/bindings/mmc/sdhci-am654.yaml > @@ -21,6 +21,8 @@ properties: > - ti,j721e-sdhci-4bit > - ti,j7200-sdhci-8bit > - ti,j721e-sdhci-4bit > + - ti,am64-sdhci-8bit > + - ti,am64-sdhci-4bit > > reg: > maxItems: 2 > ^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 2/2] mmc: sdhci_am654: Add Support for TI's AM64 SoC 2021-01-13 11:59 [PATCH 0/2] mmc: AM64: Add new compatible string and driver support Aswath Govindraju 2021-01-13 11:59 ` [PATCH 1/2] dt-bindings: mmc: sdhci-am654: Add compatible string for AM64 SoC Aswath Govindraju @ 2021-01-13 11:59 ` Aswath Govindraju 2021-01-13 12:06 ` Aswath Govindraju 2021-01-13 13:07 ` [PATCH 0/2] mmc: AM64: Add new compatible string and driver support Ulf Hansson 2 siblings, 1 reply; 6+ messages in thread From: Aswath Govindraju @ 2021-01-13 11:59 UTC (permalink / raw) Cc: Sekhar Nori, Vignesh Raghavendra, Kishon Vijay Abraham I, Faiz Abbas, Aswath Govindraju, Ulf Hansson, Rob Herring, Adrian Hunter, linux-mmc, devicetree, linux-kernel From: Faiz Abbas <faiz_abbas@ti.com> Add support for the controller present on the AM64x SoC. There are instances: sdhci0: 8bit bus width, max 400 MBps sdhci1: 4bit bus width, max 100 MBps Signed-off-by: Faiz Abbas <faiz_abbas@ti.com> Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Signed-off-by: Aswath Govindraju <a-govindraju@ti.com> --- drivers/mmc/host/sdhci_am654.c | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/drivers/mmc/host/sdhci_am654.c b/drivers/mmc/host/sdhci_am654.c index a64ea143d185..7a34649b0754 100644 --- a/drivers/mmc/host/sdhci_am654.c +++ b/drivers/mmc/host/sdhci_am654.c @@ -514,6 +514,26 @@ static const struct sdhci_am654_driver_data sdhci_j721e_4bit_drvdata = { .flags = IOMUX_PRESENT, }; +static const struct sdhci_pltfm_data sdhci_am64_8bit_pdata = { + .ops = &sdhci_j721e_8bit_ops, + .quirks2 = SDHCI_QUIRK2_PRESET_VALUE_BROKEN, +}; + +static const struct sdhci_am654_driver_data sdhci_am64_8bit_drvdata = { + .pdata = &sdhci_am64_8bit_pdata, + .flags = DLL_PRESENT | DLL_CALIB, +}; + +static const struct sdhci_pltfm_data sdhci_am64_4bit_pdata = { + .ops = &sdhci_j721e_4bit_ops, + .quirks2 = SDHCI_QUIRK2_PRESET_VALUE_BROKEN, +}; + +static const struct sdhci_am654_driver_data sdhci_am64_4bit_drvdata = { + .pdata = &sdhci_am64_4bit_pdata, + .flags = IOMUX_PRESENT, +}; + static const struct soc_device_attribute sdhci_am654_devices[] = { { .family = "AM65X", .revision = "SR1.0", @@ -737,6 +757,14 @@ static const struct of_device_id sdhci_am654_of_match[] = { .compatible = "ti,j721e-sdhci-4bit", .data = &sdhci_j721e_4bit_drvdata, }, + { + .compatible = "ti,am64-sdhci-8bit", + .data = &sdhci_am64_8bit_drvdata, + }, + { + .compatible = "ti,am64-sdhci-4bit", + .data = &sdhci_am64_4bit_drvdata, + }, { /* sentinel */ } }; MODULE_DEVICE_TABLE(of, sdhci_am654_of_match); -- 2.17.1 ^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 2/2] mmc: sdhci_am654: Add Support for TI's AM64 SoC 2021-01-13 11:59 ` [PATCH 2/2] mmc: sdhci_am654: Add Support for TI's " Aswath Govindraju @ 2021-01-13 12:06 ` Aswath Govindraju 0 siblings, 0 replies; 6+ messages in thread From: Aswath Govindraju @ 2021-01-13 12:06 UTC (permalink / raw) Cc: Sekhar Nori, Vignesh Raghavendra, Kishon Vijay Abraham I, Faiz Abbas, Ulf Hansson, Rob Herring, Adrian Hunter, linux-mmc, devicetree, linux-kernel, Aswath Govindraju Hi, On 13/01/21 5:29 pm, Aswath Govindraju wrote: > From: Faiz Abbas <faiz_abbas@ti.com> > > Add support for the controller present on the AM64x SoC. > > There are instances: > sdhci0: 8bit bus width, max 400 MBps > sdhci1: 4bit bus width, max 100 MBps > > Signed-off-by: Faiz Abbas <faiz_abbas@ti.com> > Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com> > Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> > Signed-off-by: Aswath Govindraju <a-govindraju@ti.com> > --- Very sorry forgot to add RESEND tag in the subject. The link to the original patch, https://lore.kernel.org/patchwork/patch/1364589/ Thanks, Aswath > drivers/mmc/host/sdhci_am654.c | 28 ++++++++++++++++++++++++++++ > 1 file changed, 28 insertions(+) > > diff --git a/drivers/mmc/host/sdhci_am654.c b/drivers/mmc/host/sdhci_am654.c > index a64ea143d185..7a34649b0754 100644 > --- a/drivers/mmc/host/sdhci_am654.c > +++ b/drivers/mmc/host/sdhci_am654.c > @@ -514,6 +514,26 @@ static const struct sdhci_am654_driver_data sdhci_j721e_4bit_drvdata = { > .flags = IOMUX_PRESENT, > }; > > +static const struct sdhci_pltfm_data sdhci_am64_8bit_pdata = { > + .ops = &sdhci_j721e_8bit_ops, > + .quirks2 = SDHCI_QUIRK2_PRESET_VALUE_BROKEN, > +}; > + > +static const struct sdhci_am654_driver_data sdhci_am64_8bit_drvdata = { > + .pdata = &sdhci_am64_8bit_pdata, > + .flags = DLL_PRESENT | DLL_CALIB, > +}; > + > +static const struct sdhci_pltfm_data sdhci_am64_4bit_pdata = { > + .ops = &sdhci_j721e_4bit_ops, > + .quirks2 = SDHCI_QUIRK2_PRESET_VALUE_BROKEN, > +}; > + > +static const struct sdhci_am654_driver_data sdhci_am64_4bit_drvdata = { > + .pdata = &sdhci_am64_4bit_pdata, > + .flags = IOMUX_PRESENT, > +}; > + > static const struct soc_device_attribute sdhci_am654_devices[] = { > { .family = "AM65X", > .revision = "SR1.0", > @@ -737,6 +757,14 @@ static const struct of_device_id sdhci_am654_of_match[] = { > .compatible = "ti,j721e-sdhci-4bit", > .data = &sdhci_j721e_4bit_drvdata, > }, > + { > + .compatible = "ti,am64-sdhci-8bit", > + .data = &sdhci_am64_8bit_drvdata, > + }, > + { > + .compatible = "ti,am64-sdhci-4bit", > + .data = &sdhci_am64_4bit_drvdata, > + }, > { /* sentinel */ } > }; > MODULE_DEVICE_TABLE(of, sdhci_am654_of_match); > ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 0/2] mmc: AM64: Add new compatible string and driver support 2021-01-13 11:59 [PATCH 0/2] mmc: AM64: Add new compatible string and driver support Aswath Govindraju 2021-01-13 11:59 ` [PATCH 1/2] dt-bindings: mmc: sdhci-am654: Add compatible string for AM64 SoC Aswath Govindraju 2021-01-13 11:59 ` [PATCH 2/2] mmc: sdhci_am654: Add Support for TI's " Aswath Govindraju @ 2021-01-13 13:07 ` Ulf Hansson 2 siblings, 0 replies; 6+ messages in thread From: Ulf Hansson @ 2021-01-13 13:07 UTC (permalink / raw) To: Aswath Govindraju Cc: Sekhar Nori, Vignesh Raghavendra, Kishon Vijay Abraham I, Faiz Abbas, Rob Herring, Adrian Hunter, linux-mmc, DTML, Linux Kernel Mailing List On Wed, 13 Jan 2021 at 12:59, Aswath Govindraju <a-govindraju@ti.com> wrote: > > The following series of patches, > - Adds new compatible string for AM64 SoC > - Adds support for AM64 SoC in sdhci_am654 driver > > This patch series is a combination of the patches [1] and [2]. > > [1] - https://lore.kernel.org/patchwork/patch/1361560/ > [2] - https://lore.kernel.org/patchwork/patch/1364589/ > > Aswath Govindraju (1): > dt-bindings: mmc: sdhci-am654: Add compatible string for AM64 SoC > > Faiz Abbas (1): > mmc: sdhci_am654: Add Support for TI's AM64 SoC > > .../devicetree/bindings/mmc/sdhci-am654.yaml | 2 ++ > drivers/mmc/host/sdhci_am654.c | 28 +++++++++++++++++++ > 2 files changed, 30 insertions(+) > > -- > 2.17.1 > Applied for next, thanks! Kind regards Uffe ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2021-01-13 13:09 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2021-01-13 11:59 [PATCH 0/2] mmc: AM64: Add new compatible string and driver support Aswath Govindraju 2021-01-13 11:59 ` [PATCH 1/2] dt-bindings: mmc: sdhci-am654: Add compatible string for AM64 SoC Aswath Govindraju 2021-01-13 12:05 ` Aswath Govindraju 2021-01-13 11:59 ` [PATCH 2/2] mmc: sdhci_am654: Add Support for TI's " Aswath Govindraju 2021-01-13 12:06 ` Aswath Govindraju 2021-01-13 13:07 ` [PATCH 0/2] mmc: AM64: Add new compatible string and driver support Ulf Hansson
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).