Message ID | 20201124175918.12029-1-prabhakar.mahadev-lad.rj@bp.renesas.com (mailing list archive) |
---|---|
Headers | show |
Series | Add RPC-IF driver for RZ/G2x SoC's | expand |
Hi! > This patch series adds SPI driver for the Renesas RPC-IF. > Alongside relevant changes for spi-mem have been also > backported. This enables accessing SPI flash chip connected > to RPC-IF on RZ/G2x boards. > > We currently only aim to backport just the driver hence there > are no changes to dts/i files. The driver has been tested on > RZ/G2{EM} with all the required dts/i changes [1]. Okay, that was quick. What is your plan, merge dts changes soon? Or is the driver useful even without the dts changes? > Changes for v2: > * Patches {1, 3, 4}/7 unchanged > * Patch 2/7 > * Fixed reference leak for OF node in rpcif_probe() > * Fixed overwriting return value in error path of rpcif_manual_xfer() > * Replaced C++ style comment with C style > * Replaced tab with a space between struct and struct name > * Fixed a typo in commit message (s/absract/abstract) > * Patch 5/7 > * Fixed reference leak in spi_mem_access_start for PM > * Patch 6/7 > * Return early in spi_mem_dirmap_dirmap_{read/write} > * Patch 7/7 > * Replaced C++ style comment with C style > * Used __maybe_unused for rpcif_spi_{suspend,resume} and dropped > CONFIG_PM_SLEEP ifdef checks > * Elaborated the description for SPI_RPCIF config > * Dropped the label err_put_ctlr from rpc_spi_probe() Thanks for the changes; they are probably good (I have yet to take close look), but I wonder if we should wait until they hit next or mainline? If upstream maintainer disagrees, we would get divergence... Best regards, Pavel
Hi, > -----Original Message----- > From: Pavel Machek [mailto:pavel@denx.de] > Sent: Wednesday, November 25, 2020 4:49 AM > To: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> > Cc: cip-dev@lists.cip-project.org; iwamatsu nobuhiro(岩松 信洋 □SWC◯ACT) > <nobuhiro1.iwamatsu@toshiba.co.jp>; Pavel Machek <pavel@denx.de>; Biju Das <biju.das.jz@bp.renesas.com> > Subject: Re: [PATCH v2 4.19.y-cip 0/7] Add RPC-IF driver for RZ/G2x SoC's > > Hi! > > > This patch series adds SPI driver for the Renesas RPC-IF. > > Alongside relevant changes for spi-mem have been also > > backported. This enables accessing SPI flash chip connected > > to RPC-IF on RZ/G2x boards. > > > > We currently only aim to backport just the driver hence there > > are no changes to dts/i files. The driver has been tested on > > RZ/G2{EM} with all the required dts/i changes [1]. > > Okay, that was quick. > > What is your plan, merge dts changes soon? Or is the driver useful > even without the dts changes? > > > Changes for v2: > > * Patches {1, 3, 4}/7 unchanged > > * Patch 2/7 > > * Fixed reference leak for OF node in rpcif_probe() > > * Fixed overwriting return value in error path of rpcif_manual_xfer() > > * Replaced C++ style comment with C style > > * Replaced tab with a space between struct and struct name > > * Fixed a typo in commit message (s/absract/abstract) > > * Patch 5/7 > > * Fixed reference leak in spi_mem_access_start for PM > > * Patch 6/7 > > * Return early in spi_mem_dirmap_dirmap_{read/write} > > * Patch 7/7 > > * Replaced C++ style comment with C style > > * Used __maybe_unused for rpcif_spi_{suspend,resume} and dropped > > CONFIG_PM_SLEEP ifdef checks > > * Elaborated the description for SPI_RPCIF config > > * Dropped the label err_put_ctlr from rpc_spi_probe() > I don't see any problems with this series. > Thanks for the changes; they are probably good (I have yet to take > close look), but I wonder if we should wait until they hit next or > mainline? If upstream maintainer disagrees, we would get divergence... These patch series contain fixes for issues in the patch itself, so we need to separate them and post them mainline or subsystem tree. So I think we have to wait for those patches to be merged. Best regards, Nobuhiro -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#5868): https://lists.cip-project.org/g/cip-dev/message/5868 Mute This Topic: https://lists.cip-project.org/mt/78482875/4520388 Group Owner: cip-dev+owner@lists.cip-project.org Unsubscribe: https://lists.cip-project.org/g/cip-dev/leave/8129055/727948398/xyzzy [cip-dev@archiver.kernel.org] -=-=-=-=-=-=-=-=-=-=-=-
Hi Pavel, > -----Original Message----- > From: Pavel Machek <pavel@denx.de> > Sent: 24 November 2020 19:49 > To: Prabhakar Mahadev Lad <prabhakar.mahadev-lad.rj@bp.renesas.com> > Cc: cip-dev@lists.cip-project.org; Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>; Pavel Machek > <pavel@denx.de>; Biju Das <biju.das.jz@bp.renesas.com> > Subject: Re: [PATCH v2 4.19.y-cip 0/7] Add RPC-IF driver for RZ/G2x SoC's > > Hi! > > > This patch series adds SPI driver for the Renesas RPC-IF. > > Alongside relevant changes for spi-mem have been also > > backported. This enables accessing SPI flash chip connected > > to RPC-IF on RZ/G2x boards. > > > > We currently only aim to backport just the driver hence there > > are no changes to dts/i files. The driver has been tested on > > RZ/G2{EM} with all the required dts/i changes [1]. > > Okay, that was quick. > > What is your plan, merge dts changes soon? Or is the driver useful > even without the dts changes? > We only plan to upstream/backport driver, pinctrl and clock atm (consumers needing this feature will have to manually enable the DTS) > > Changes for v2: > > * Patches {1, 3, 4}/7 unchanged > > * Patch 2/7 > > * Fixed reference leak for OF node in rpcif_probe() > > * Fixed overwriting return value in error path of rpcif_manual_xfer() > > * Replaced C++ style comment with C style > > * Replaced tab with a space between struct and struct name > > * Fixed a typo in commit message (s/absract/abstract) > > * Patch 5/7 > > * Fixed reference leak in spi_mem_access_start for PM > > * Patch 6/7 > > * Return early in spi_mem_dirmap_dirmap_{read/write} > > * Patch 7/7 > > * Replaced C++ style comment with C style > > * Used __maybe_unused for rpcif_spi_{suspend,resume} and dropped > > CONFIG_PM_SLEEP ifdef checks > > * Elaborated the description for SPI_RPCIF config > > * Dropped the label err_put_ctlr from rpc_spi_probe() > > Thanks for the changes; they are probably good (I have yet to take > close look), but I wonder if we should wait until they hit next or > mainline? If upstream maintainer disagrees, we would get divergence... > Agreed when the fixes hit linux-next I shall post a v3. Cheers, Prabhakar > Best regards, > Pavel > -- > DENX Software Engineering GmbH, Managing Director: Wolfgang Denk > HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#5872): https://lists.cip-project.org/g/cip-dev/message/5872 Mute This Topic: https://lists.cip-project.org/mt/78482875/4520388 Group Owner: cip-dev+owner@lists.cip-project.org Unsubscribe: https://lists.cip-project.org/g/cip-dev/leave/8129055/727948398/xyzzy [cip-dev@archiver.kernel.org] -=-=-=-=-=-=-=-=-=-=-=-
Hi Nobuhiro, > -----Original Message----- > From: nobuhiro1.iwamatsu@toshiba.co.jp <nobuhiro1.iwamatsu@toshiba.co.jp> > Sent: 25 November 2020 06:48 > To: pavel@denx.de; Prabhakar Mahadev Lad <prabhakar.mahadev-lad.rj@bp.renesas.com> > Cc: cip-dev@lists.cip-project.org; Biju Das <biju.das.jz@bp.renesas.com> > Subject: RE: [PATCH v2 4.19.y-cip 0/7] Add RPC-IF driver for RZ/G2x SoC's > > Hi, > > > -----Original Message----- > > From: Pavel Machek [mailto:pavel@denx.de] > > Sent: Wednesday, November 25, 2020 4:49 AM > > To: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> > > Cc: cip-dev@lists.cip-project.org; iwamatsu nobuhiro(岩松 信洋 □SWC◯ACT) > > <nobuhiro1.iwamatsu@toshiba.co.jp>; Pavel Machek <pavel@denx.de>; Biju Das > <biju.das.jz@bp.renesas.com> > > Subject: Re: [PATCH v2 4.19.y-cip 0/7] Add RPC-IF driver for RZ/G2x SoC's > > > > Hi! > > > > > This patch series adds SPI driver for the Renesas RPC-IF. > > > Alongside relevant changes for spi-mem have been also > > > backported. This enables accessing SPI flash chip connected > > > to RPC-IF on RZ/G2x boards. > > > > > > We currently only aim to backport just the driver hence there > > > are no changes to dts/i files. The driver has been tested on > > > RZ/G2{EM} with all the required dts/i changes [1]. > > > > Okay, that was quick. > > > > What is your plan, merge dts changes soon? Or is the driver useful > > even without the dts changes? > > > > > Changes for v2: > > > * Patches {1, 3, 4}/7 unchanged > > > * Patch 2/7 > > > * Fixed reference leak for OF node in rpcif_probe() > > > * Fixed overwriting return value in error path of rpcif_manual_xfer() > > > * Replaced C++ style comment with C style > > > * Replaced tab with a space between struct and struct name > > > * Fixed a typo in commit message (s/absract/abstract) > > > * Patch 5/7 > > > * Fixed reference leak in spi_mem_access_start for PM > > > * Patch 6/7 > > > * Return early in spi_mem_dirmap_dirmap_{read/write} > > > * Patch 7/7 > > > * Replaced C++ style comment with C style > > > * Used __maybe_unused for rpcif_spi_{suspend,resume} and dropped > > > CONFIG_PM_SLEEP ifdef checks > > > * Elaborated the description for SPI_RPCIF config > > > * Dropped the label err_put_ctlr from rpc_spi_probe() > > > > I don't see any problems with this series. > Thank you for the review. > > Thanks for the changes; they are probably good (I have yet to take > > close look), but I wonder if we should wait until they hit next or > > mainline? If upstream maintainer disagrees, we would get divergence... > > These patch series contain fixes for issues in the patch itself, so we need to > separate them and post them mainline or subsystem tree. > So I think we have to wait for those patches to be merged. > Agreed will repost the series once the fixes hit linux-next. Cheers, Prabhakar > Best regards, > Nobuhiro -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#5873): https://lists.cip-project.org/g/cip-dev/message/5873 Mute This Topic: https://lists.cip-project.org/mt/78482875/4520388 Group Owner: cip-dev+owner@lists.cip-project.org Unsubscribe: https://lists.cip-project.org/g/cip-dev/leave/8129055/727948398/xyzzy [cip-dev@archiver.kernel.org] -=-=-=-=-=-=-=-=-=-=-=-
Hi Pavel, Nobuhiro, > -----Original Message----- > From: cip-dev@lists.cip-project.org <cip-dev@lists.cip-project.org> On Behalf Of Lad Prabhakar via > lists.cip-project.org > Sent: 25 November 2020 08:50 > To: Pavel Machek <pavel@denx.de> > Cc: cip-dev@lists.cip-project.org; Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>; Biju Das > <biju.das.jz@bp.renesas.com> > Subject: Re: [cip-dev] [PATCH v2 4.19.y-cip 0/7] Add RPC-IF driver for RZ/G2x SoC's > > Hi Pavel, > > > -----Original Message----- > > From: Pavel Machek <pavel@denx.de> > > Sent: 24 November 2020 19:49 > > To: Prabhakar Mahadev Lad <prabhakar.mahadev-lad.rj@bp.renesas.com> > > Cc: cip-dev@lists.cip-project.org; Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>; Pavel > Machek > > <pavel@denx.de>; Biju Das <biju.das.jz@bp.renesas.com> > > Subject: Re: [PATCH v2 4.19.y-cip 0/7] Add RPC-IF driver for RZ/G2x SoC's > > > > Hi! > > > > > This patch series adds SPI driver for the Renesas RPC-IF. > > > Alongside relevant changes for spi-mem have been also > > > backported. This enables accessing SPI flash chip connected > > > to RPC-IF on RZ/G2x boards. > > > > > > We currently only aim to backport just the driver hence there > > > are no changes to dts/i files. The driver has been tested on > > > RZ/G2{EM} with all the required dts/i changes [1]. > > > > Okay, that was quick. > > > > What is your plan, merge dts changes soon? Or is the driver useful > > even without the dts changes? > > > We only plan to upstream/backport driver, pinctrl and clock atm (consumers needing this feature will > have to manually enable the DTS) > > > > Changes for v2: > > > * Patches {1, 3, 4}/7 unchanged > > > * Patch 2/7 > > > * Fixed reference leak for OF node in rpcif_probe() > > > * Fixed overwriting return value in error path of rpcif_manual_xfer() > > > * Replaced C++ style comment with C style > > > * Replaced tab with a space between struct and struct name > > > * Fixed a typo in commit message (s/absract/abstract) > > > * Patch 5/7 > > > * Fixed reference leak in spi_mem_access_start for PM > > > * Patch 6/7 > > > * Return early in spi_mem_dirmap_dirmap_{read/write} > > > * Patch 7/7 > > > * Replaced C++ style comment with C style > > > * Used __maybe_unused for rpcif_spi_{suspend,resume} and dropped > > > CONFIG_PM_SLEEP ifdef checks > > > * Elaborated the description for SPI_RPCIF config > > > * Dropped the label err_put_ctlr from rpc_spi_probe() > > > > Thanks for the changes; they are probably good (I have yet to take > > close look), but I wonder if we should wait until they hit next or > > mainline? If upstream maintainer disagrees, we would get divergence... > > > Agreed when the fixes hit linux-next I shall post a v3. > Fixes to the driver have hit Linux-next, is it OK if I re-spin a v3 now or wait for it to hit -rc release ? Cheers, Prabhakar -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#5937): https://lists.cip-project.org/g/cip-dev/message/5937 Mute This Topic: https://lists.cip-project.org/mt/78482875/4520388 Group Owner: cip-dev+owner@lists.cip-project.org Unsubscribe: https://lists.cip-project.org/g/cip-dev/leave/8129055/727948398/xyzzy [cip-dev@archiver.kernel.org] -=-=-=-=-=-=-=-=-=-=-=-