* [cip-dev] [PATCH 4.19.y-cip 1/2] ASoC: rsnd: fixup SSI clock during suspend/resume modes @ 2020-07-20 17:52 Biju Das 2020-07-20 17:52 ` [cip-dev] [PATCH 4.19.y-cip 2/2] arm64: defconfig: Enable additional support for Renesas platforms Biju Das 2020-07-20 20:59 ` [cip-dev] [PATCH 4.19.y-cip 1/2] ASoC: rsnd: fixup SSI clock during suspend/resume modes Pavel Machek 0 siblings, 2 replies; 8+ messages in thread From: Biju Das @ 2020-07-20 17:52 UTC (permalink / raw) To: cip-dev, Nobuhiro Iwamatsu, Pavel Machek Cc: Chris Paterson, Biju Das, Prabhakar Mahadev Lad [-- Attachment #1: Type: text/plain, Size: 3192 bytes --] From: Dmytro Prokopchuk <dmytro.prokopchuk@globallogic.com> commit 624d1a7cd8991e33dad96ab4629a52c412540e65 upstream. Prepare <-> Cleanup functions pair has balanced calls. But in case of suspend mode no call to rsnd_soc_dai_shutdown() function, so cleanup isn't called. OTOH during resume mode function rsnd_soc_dai_prepare() is called, but calling rsnd_ssi_prepare() is skipped (rsnd_status_update() returns zero, bacause was not cleanup before). We need to call rsnd_ssi_prepare(), because it enables SSI clocks by calling rsnd_ssi_master_clk_start(). This patch allows to call prepare/cleanup functions always. Signed-off-by: Dmytro Prokopchuk <dmytro.prokopchuk@globallogic.com> Tested-by: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com> [kuninori: adjusted to upstream] Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Biju Das <biju.das@bp.renesas.com> --- sound/soc/sh/rcar/dma.c | 7 +++---- sound/soc/sh/rcar/rsnd.h | 14 +++++++------- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/sound/soc/sh/rcar/dma.c b/sound/soc/sh/rcar/dma.c index 83bf0f6..58da57e 100644 --- a/sound/soc/sh/rcar/dma.c +++ b/sound/soc/sh/rcar/dma.c @@ -134,10 +134,9 @@ static int rsnd_dmaen_prepare(struct rsnd_mod *mod, struct rsnd_dmaen *dmaen = rsnd_dma_to_dmaen(dma); struct device *dev = rsnd_priv_to_dev(priv); - if (dmaen->chan) { - dev_err(dev, "it already has dma channel\n"); - return -EIO; - } + /* maybe suspended */ + if (dmaen->chan) + return 0; /* * DMAEngine request uses mutex lock. diff --git a/sound/soc/sh/rcar/rsnd.h b/sound/soc/sh/rcar/rsnd.h index c449d9f..31bf791 100644 --- a/sound/soc/sh/rcar/rsnd.h +++ b/sound/soc/sh/rcar/rsnd.h @@ -320,9 +320,8 @@ struct rsnd_mod { /* * status * - * 0xH0000CBA + * 0xH0000CB0 * - * A 0: prepare 1: cleanup * B 0: init 1: quit * C 0: start 1: stop * @@ -333,9 +332,8 @@ struct rsnd_mod { * H 0: hw_params * H 0: pointer * H 0: prepare + * H 0: cleanup */ -#define __rsnd_mod_shift_prepare 0 -#define __rsnd_mod_shift_cleanup 0 #define __rsnd_mod_shift_init 4 #define __rsnd_mod_shift_quit 4 #define __rsnd_mod_shift_start 8 @@ -347,11 +345,13 @@ struct rsnd_mod { #define __rsnd_mod_shift_fallback 28 /* always called */ #define __rsnd_mod_shift_hw_params 28 /* always called */ #define __rsnd_mod_shift_pointer 28 /* always called */ +#define __rsnd_mod_shift_prepare 28 /* always called */ +#define __rsnd_mod_shift_cleanup 28 /* always called */ #define __rsnd_mod_add_probe 0 #define __rsnd_mod_add_remove 0 -#define __rsnd_mod_add_prepare 1 -#define __rsnd_mod_add_cleanup -1 +#define __rsnd_mod_add_prepare 0 +#define __rsnd_mod_add_cleanup 0 #define __rsnd_mod_add_init 1 #define __rsnd_mod_add_quit -1 #define __rsnd_mod_add_start 1 @@ -365,7 +365,7 @@ struct rsnd_mod { #define __rsnd_mod_call_probe 0 #define __rsnd_mod_call_remove 0 #define __rsnd_mod_call_prepare 0 -#define __rsnd_mod_call_cleanup 1 +#define __rsnd_mod_call_cleanup 0 #define __rsnd_mod_call_init 0 #define __rsnd_mod_call_quit 1 #define __rsnd_mod_call_start 0 -- 2.7.4 [-- Attachment #2: Type: text/plain, Size: 419 bytes --] -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#4938): https://lists.cip-project.org/g/cip-dev/message/4938 Mute This Topic: https://lists.cip-project.org/mt/75687530/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] -=-=-=-=-=-=-=-=-=-=-=- ^ permalink raw reply related [flat|nested] 8+ messages in thread
* [cip-dev] [PATCH 4.19.y-cip 2/2] arm64: defconfig: Enable additional support for Renesas platforms 2020-07-20 17:52 [cip-dev] [PATCH 4.19.y-cip 1/2] ASoC: rsnd: fixup SSI clock during suspend/resume modes Biju Das @ 2020-07-20 17:52 ` Biju Das 2020-07-20 21:00 ` Pavel Machek 2020-07-20 20:59 ` [cip-dev] [PATCH 4.19.y-cip 1/2] ASoC: rsnd: fixup SSI clock during suspend/resume modes Pavel Machek 1 sibling, 1 reply; 8+ messages in thread From: Biju Das @ 2020-07-20 17:52 UTC (permalink / raw) To: cip-dev, Nobuhiro Iwamatsu, Pavel Machek Cc: Chris Paterson, Biju Das, Prabhakar Mahadev Lad [-- Attachment #1: Type: text/plain, Size: 3458 bytes --] From: Geert Uytterhoeven <geert+renesas@glider.be> commit bf9e333ec0d54f7428d9192ad403c3cb523584c7 upstream Increase build and test coverage by enabling support for more hardware present on Renesas SoCs and boards: - R-Car CAN and CAN-FD controllers, - MSIOF SPI controllers, - ROHM BD9571 GPIO support, - R-Car MIPI CSI-2 receivers, - R-Car Video Input, - Renesas Fine Display Processors, - Renesas Digital Radio Interfaces, - R-Car Gen3 internal HDMI encoders, - Generic LVDS panel support, - Dumb VGA DAC Bridge support, - Thine THC63LVD1024 LVDS decoder bridges, - Synopsys Designware AHB Audio and CEC interfaces, - Renesas USBHS HCD support, - IDT VersaClock 5,6 devices, - Maxim max9611/max9612 ADCs, - ARM TrustZone CryptoCell security processors. All of the above are modular, except for the VC5 clock driver, and the SDR config gatekeepers. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> (VIN, CSI-2) Link: https://lore.kernel.org/r/20200217103251.5205-1-geert+renesas@glider.be Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> [ Removed the following R-Car Specific configs - ROHM BD9571 GPIO support, - Renesas Digital Radio Interfaces, - Dumb VGA DAC Bridge support, - Thine THC63LVD1024 LVDS decoder bridges, - Maxim max9611/max9612 ADCs, - ARM TrustZone CryptoCell security processors. Added Synopsys Designware HDMI I2S interface ] --- arch/arm64/configs/defconfig | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 8ae8008..64a116b 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -154,6 +154,9 @@ CONFIG_VLAN_8021Q=m CONFIG_VLAN_8021Q_GVRP=y CONFIG_VLAN_8021Q_MVRP=y CONFIG_BPF_JIT=y +CONFIG_CAN=m +CONFIG_CAN_RCAR=m +CONFIG_CAN_RCAR_CANFD=m CONFIG_BT=m CONFIG_BT_HIDP=m # CONFIG_BT_HS is not set @@ -329,6 +332,7 @@ CONFIG_SPI_PL022=y CONFIG_SPI_ROCKCHIP=y CONFIG_SPI_QUP=y CONFIG_SPI_S3C64XX=y +CONFIG_SPI_SH_MSIOF=m CONFIG_SPI_SPIDEV=m CONFIG_SPMI=y CONFIG_PINCTRL_SINGLE=y @@ -424,9 +428,12 @@ CONFIG_VIDEO_V4L2_SUBDEV_API=y CONFIG_V4L_MEM2MEM_DRIVERS=y CONFIG_MEDIA_USB_SUPPORT=y CONFIG_USB_VIDEO_CLASS=m +CONFIG_VIDEO_RCAR_CSI2=m +CONFIG_VIDEO_RCAR_VIN=m CONFIG_VIDEO_SAMSUNG_S5P_JPEG=m CONFIG_VIDEO_SAMSUNG_S5P_MFC=m CONFIG_VIDEO_SAMSUNG_EXYNOS_GSC=m +CONFIG_VIDEO_RENESAS_FDP1=m CONFIG_VIDEO_RENESAS_FCP=m CONFIG_VIDEO_RENESAS_VSP1=m CONFIG_DRM=m @@ -446,10 +453,15 @@ CONFIG_ROCKCHIP_DW_HDMI=y CONFIG_ROCKCHIP_DW_MIPI_DSI=y CONFIG_ROCKCHIP_INNO_HDMI=y CONFIG_DRM_RCAR_DU=m +CONFIG_DRM_RCAR_DW_HDMI=m CONFIG_DRM_RCAR_LVDS=m CONFIG_DRM_TEGRA=m +CONFIG_DRM_PANEL_LVDS=m CONFIG_DRM_PANEL_SIMPLE=m CONFIG_DRM_I2C_ADV7511=m +CONFIG_DRM_DW_HDMI_AHB_AUDIO=m +CONFIG_DRM_DW_HDMI_I2S_AUDIO=m +CONFIG_DRM_DW_HDMI_CEC=m CONFIG_DRM_VC4=m CONFIG_DRM_HISI_HIBMC=m CONFIG_DRM_HISI_KIRIN=m @@ -493,6 +505,7 @@ CONFIG_USB_EHCI_HCD_PLATFORM=y CONFIG_USB_OHCI_HCD=y CONFIG_USB_OHCI_EXYNOS=y CONFIG_USB_OHCI_HCD_PLATFORM=y +CONFIG_USB_RENESAS_USBHS_HCD=m CONFIG_USB_RENESAS_USBHS=m CONFIG_USB_STORAGE=y CONFIG_USB_MUSB_HDRC=y @@ -584,6 +597,7 @@ CONFIG_COMMON_CLK_CS2000_CP=y CONFIG_COMMON_CLK_S2MPS11=y CONFIG_CLK_QORIQ=y CONFIG_COMMON_CLK_PWM=y +CONFIG_COMMON_CLK_VC5=y CONFIG_COMMON_CLK_QCOM=y CONFIG_QCOM_CLK_SMD_RPM=y CONFIG_IPQ_GCC_8074=y -- 2.7.4 [-- Attachment #2: Type: text/plain, Size: 419 bytes --] -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#4939): https://lists.cip-project.org/g/cip-dev/message/4939 Mute This Topic: https://lists.cip-project.org/mt/75687531/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] -=-=-=-=-=-=-=-=-=-=-=- ^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [cip-dev] [PATCH 4.19.y-cip 2/2] arm64: defconfig: Enable additional support for Renesas platforms 2020-07-20 17:52 ` [cip-dev] [PATCH 4.19.y-cip 2/2] arm64: defconfig: Enable additional support for Renesas platforms Biju Das @ 2020-07-20 21:00 ` Pavel Machek 2020-07-21 0:43 ` Nobuhiro Iwamatsu 0 siblings, 1 reply; 8+ messages in thread From: Pavel Machek @ 2020-07-20 21:00 UTC (permalink / raw) To: Biju Das Cc: cip-dev, Nobuhiro Iwamatsu, Pavel Machek, Chris Paterson, Prabhakar Mahadev Lad [-- Attachment #1.1: Type: text/plain, Size: 604 bytes --] On Mon 2020-07-20 18:52:23, Biju Das wrote: > From: Geert Uytterhoeven <geert+renesas@glider.be> > > commit bf9e333ec0d54f7428d9192ad403c3cb523584c7 upstream > > Increase build and test coverage by enabling support for more hardware > present on Renesas SoCs and boards: > - R-Car CAN and CAN-FD controllers, Ok, I can apply this if there are no comments. Should we have some updates for cip-kernel-config? Best regards, Pavel -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany [-- Attachment #1.2: Digital signature --] [-- Type: application/pgp-signature, Size: 181 bytes --] [-- Attachment #2: Type: text/plain, Size: 419 bytes --] -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#4941): https://lists.cip-project.org/g/cip-dev/message/4941 Mute This Topic: https://lists.cip-project.org/mt/75687531/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] -=-=-=-=-=-=-=-=-=-=-=- ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [cip-dev] [PATCH 4.19.y-cip 2/2] arm64: defconfig: Enable additional support for Renesas platforms 2020-07-20 21:00 ` Pavel Machek @ 2020-07-21 0:43 ` Nobuhiro Iwamatsu 2020-07-21 7:00 ` Biju Das 2020-07-21 13:42 ` Pavel Machek 0 siblings, 2 replies; 8+ messages in thread From: Nobuhiro Iwamatsu @ 2020-07-21 0:43 UTC (permalink / raw) To: pavel, biju.das.jz; +Cc: cip-dev, chris.paterson2, prabhakar.mahadev-lad.rj [-- Attachment #1: Type: text/plain, Size: 1180 bytes --] Hi, all > -----Original Message----- > From: Pavel Machek [mailto:pavel@denx.de] > Sent: Tuesday, July 21, 2020 6:00 AM > To: Biju Das <biju.das.jz@bp.renesas.com> > Cc: cip-dev@lists.cip-project.org; iwamatsu nobuhiro(岩松 信洋 □SWC◯ACT) > <nobuhiro1.iwamatsu@toshiba.co.jp>; Pavel Machek <pavel@denx.de>; Chris Paterson <chris.paterson2@renesas.com>; > Prabhakar Mahadev Lad <prabhakar.mahadev-lad.rj@bp.renesas.com> > Subject: Re: [PATCH 4.19.y-cip 2/2] arm64: defconfig: Enable additional support for Renesas platforms > > On Mon 2020-07-20 18:52:23, Biju Das wrote: > > From: Geert Uytterhoeven <geert+renesas@glider.be> > > > > commit bf9e333ec0d54f7428d9192ad403c3cb523584c7 upstream > > > > Increase build and test coverage by enabling support for more hardware > > present on Renesas SoCs and boards: > > - R-Car CAN and CAN-FD controllers, > > Ok, I can apply this if there are no comments. Both patches seem to be okay to me. I will push to repository if there is no problem in our test. > > Should we have some updates for cip-kernel-config? > +1. It should be updated as well. Best regards, Nobuhiro [-- Attachment #2: Type: text/plain, Size: 419 bytes --] -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#4942): https://lists.cip-project.org/g/cip-dev/message/4942 Mute This Topic: https://lists.cip-project.org/mt/75687531/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] -=-=-=-=-=-=-=-=-=-=-=- ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [cip-dev] [PATCH 4.19.y-cip 2/2] arm64: defconfig: Enable additional support for Renesas platforms 2020-07-21 0:43 ` Nobuhiro Iwamatsu @ 2020-07-21 7:00 ` Biju Das 2020-07-21 13:42 ` Pavel Machek 1 sibling, 0 replies; 8+ messages in thread From: Biju Das @ 2020-07-21 7:00 UTC (permalink / raw) To: nobuhiro1.iwamatsu@toshiba.co.jp, pavel@denx.de Cc: cip-dev@lists.cip-project.org, Chris Paterson, Prabhakar Mahadev Lad [-- Attachment #1: Type: text/plain, Size: 2100 bytes --] Hi Pavel and Nobuhiro, Thanks for the feedback. > -----Original Message----- > From: nobuhiro1.iwamatsu@toshiba.co.jp > <nobuhiro1.iwamatsu@toshiba.co.jp> > Sent: 21 July 2020 01:43 > To: pavel@denx.de; Biju Das <biju.das.jz@bp.renesas.com> > Cc: cip-dev@lists.cip-project.org; Chris Paterson > <Chris.Paterson2@renesas.com>; Prabhakar Mahadev Lad > <prabhakar.mahadev-lad.rj@bp.renesas.com> > Subject: RE: [PATCH 4.19.y-cip 2/2] arm64: defconfig: Enable additional > support for Renesas platforms > > Hi, all > > > -----Original Message----- > > From: Pavel Machek [mailto:pavel@denx.de] > > Sent: Tuesday, July 21, 2020 6:00 AM > > To: Biju Das <biju.das.jz@bp.renesas.com> > > Cc: cip-dev@lists.cip-project.org; iwamatsu nobuhiro(岩松 信洋 □SWC > ◯ACT) > > <nobuhiro1.iwamatsu@toshiba.co.jp>; Pavel Machek <pavel@denx.de>; > > Chris Paterson <chris.paterson2@renesas.com>; Prabhakar Mahadev Lad > > <prabhakar.mahadev-lad.rj@bp.renesas.com> > > Subject: Re: [PATCH 4.19.y-cip 2/2] arm64: defconfig: Enable > > additional support for Renesas platforms > > > > On Mon 2020-07-20 18:52:23, Biju Das wrote: > > > From: Geert Uytterhoeven <geert+renesas@glider.be> > > > > > > commit bf9e333ec0d54f7428d9192ad403c3cb523584c7 upstream > > > > > > Increase build and test coverage by enabling support for more > > > hardware present on Renesas SoCs and boards: > > > - R-Car CAN and CAN-FD controllers, > > > > Ok, I can apply this if there are no comments. > > Both patches seem to be okay to me. > I will push to repository if there is no problem in our test. > > > > > Should we have some updates for cip-kernel-config? > > > > +1. > It should be updated as well. Yes Will do. Regards, Biju Renesas Electronics Europe GmbH, Geschaeftsfuehrer/President: Carsten Jauch, Sitz der Gesellschaft/Registered office: Duesseldorf, Arcadiastrasse 10, 40472 Duesseldorf, Germany, Handelsregister/Commercial Register: Duesseldorf, HRB 3708 USt-IDNr./Tax identification no.: DE 119353406 WEEE-Reg.-Nr./WEEE reg. no.: DE 14978647 [-- Attachment #2: Type: text/plain, Size: 419 bytes --] -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#4944): https://lists.cip-project.org/g/cip-dev/message/4944 Mute This Topic: https://lists.cip-project.org/mt/75687531/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] -=-=-=-=-=-=-=-=-=-=-=- ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [cip-dev] [PATCH 4.19.y-cip 2/2] arm64: defconfig: Enable additional support for Renesas platforms 2020-07-21 0:43 ` Nobuhiro Iwamatsu 2020-07-21 7:00 ` Biju Das @ 2020-07-21 13:42 ` Pavel Machek 2020-07-21 13:50 ` Biju Das 1 sibling, 1 reply; 8+ messages in thread From: Pavel Machek @ 2020-07-21 13:42 UTC (permalink / raw) To: nobuhiro1.iwamatsu Cc: pavel, biju.das.jz, cip-dev, chris.paterson2, prabhakar.mahadev-lad.rj [-- Attachment #1.1: Type: text/plain, Size: 860 bytes --] Hi! > > On Mon 2020-07-20 18:52:23, Biju Das wrote: > > > From: Geert Uytterhoeven <geert+renesas@glider.be> > > > > > > commit bf9e333ec0d54f7428d9192ad403c3cb523584c7 upstream > > > > > > Increase build and test coverage by enabling support for more hardware > > > present on Renesas SoCs and boards: > > > - R-Car CAN and CAN-FD controllers, > > > > Ok, I can apply this if there are no comments. > > Both patches seem to be okay to me. > I will push to repository if there is no problem in our test. I see it is already pushed, thank you! Biju, the first patch seems like a bugfix suitable for -stable. Can you send it to Greg (etc) for inclusion? Best regards, Pavel -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany [-- Attachment #1.2: Digital signature --] [-- Type: application/pgp-signature, Size: 181 bytes --] [-- Attachment #2: Type: text/plain, Size: 419 bytes --] -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#4951): https://lists.cip-project.org/g/cip-dev/message/4951 Mute This Topic: https://lists.cip-project.org/mt/75687531/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] -=-=-=-=-=-=-=-=-=-=-=- ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [cip-dev] [PATCH 4.19.y-cip 2/2] arm64: defconfig: Enable additional support for Renesas platforms 2020-07-21 13:42 ` Pavel Machek @ 2020-07-21 13:50 ` Biju Das 0 siblings, 0 replies; 8+ messages in thread From: Biju Das @ 2020-07-21 13:50 UTC (permalink / raw) To: Pavel Machek, nobuhiro1.iwamatsu@toshiba.co.jp Cc: cip-dev@lists.cip-project.org, Chris Paterson, Prabhakar Mahadev Lad [-- Attachment #1: Type: text/plain, Size: 1231 bytes --] Hi Pavel, Thanks for the feedback. > Subject: Re: [PATCH 4.19.y-cip 2/2] arm64: defconfig: Enable additional > support for Renesas platforms > > Hi! > > > > On Mon 2020-07-20 18:52:23, Biju Das wrote: > > > > From: Geert Uytterhoeven <geert+renesas@glider.be> > > > > > > > > commit bf9e333ec0d54f7428d9192ad403c3cb523584c7 upstream > > > > > > > > Increase build and test coverage by enabling support for more > > > > hardware present on Renesas SoCs and boards: > > > > - R-Car CAN and CAN-FD controllers, > > > > > > Ok, I can apply this if there are no comments. > > > > Both patches seem to be okay to me. > > I will push to repository if there is no problem in our test. > > I see it is already pushed, thank you! > > Biju, the first patch seems like a bugfix suitable for -stable. Can you send it to > Greg (etc) for inclusion? Yes, Will do. Regards, Biju Renesas Electronics Europe GmbH, Geschaeftsfuehrer/President: Carsten Jauch, Sitz der Gesellschaft/Registered office: Duesseldorf, Arcadiastrasse 10, 40472 Duesseldorf, Germany, Handelsregister/Commercial Register: Duesseldorf, HRB 3708 USt-IDNr./Tax identification no.: DE 119353406 WEEE-Reg.-Nr./WEEE reg. no.: DE 14978647 [-- Attachment #2: Type: text/plain, Size: 419 bytes --] -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#4952): https://lists.cip-project.org/g/cip-dev/message/4952 Mute This Topic: https://lists.cip-project.org/mt/75687531/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] -=-=-=-=-=-=-=-=-=-=-=- ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [cip-dev] [PATCH 4.19.y-cip 1/2] ASoC: rsnd: fixup SSI clock during suspend/resume modes 2020-07-20 17:52 [cip-dev] [PATCH 4.19.y-cip 1/2] ASoC: rsnd: fixup SSI clock during suspend/resume modes Biju Das 2020-07-20 17:52 ` [cip-dev] [PATCH 4.19.y-cip 2/2] arm64: defconfig: Enable additional support for Renesas platforms Biju Das @ 2020-07-20 20:59 ` Pavel Machek 1 sibling, 0 replies; 8+ messages in thread From: Pavel Machek @ 2020-07-20 20:59 UTC (permalink / raw) To: Biju Das Cc: cip-dev, Nobuhiro Iwamatsu, Pavel Machek, Chris Paterson, Prabhakar Mahadev Lad [-- Attachment #1.1: Type: text/plain, Size: 1950 bytes --] Hi! > commit 624d1a7cd8991e33dad96ab4629a52c412540e65 upstream. > > Prepare <-> Cleanup functions pair has balanced calls. > But in case of suspend mode no call to rsnd_soc_dai_shutdown() > function, so cleanup isn't called. OTOH during resume mode > function rsnd_soc_dai_prepare() is called, but calling > rsnd_ssi_prepare() is skipped (rsnd_status_update() returns zero, > bacause was not cleanup before). > We need to call rsnd_ssi_prepare(), because it enables SSI clocks > by calling rsnd_ssi_master_clk_start(). > > This patch allows to call prepare/cleanup functions always. Ok, this is "interesting". It has something to do with rsnd_dai_call() macro. You really should not be programming drivers in preprocessor like this. OTOH patch is simple enough, and only affects "your" code, so ... I'll apply it if there are no other comments. > #define __rsnd_mod_shift_hw_params 28 /* always called */ > #define __rsnd_mod_shift_pointer 28 /* always called */ > +#define __rsnd_mod_shift_prepare 28 /* always called */ > +#define __rsnd_mod_shift_cleanup 28 /* always called */ > > #define __rsnd_mod_add_probe 0 > #define __rsnd_mod_add_remove 0 > -#define __rsnd_mod_add_prepare 1 > -#define __rsnd_mod_add_cleanup -1 > +#define __rsnd_mod_add_prepare 0 > +#define __rsnd_mod_add_cleanup 0 > #define __rsnd_mod_add_init 1 > #define __rsnd_mod_add_quit -1 > #define __rsnd_mod_add_start 1 > @@ -365,7 +365,7 @@ struct rsnd_mod { > #define __rsnd_mod_call_probe 0 > #define __rsnd_mod_call_remove 0 > #define __rsnd_mod_call_prepare 0 > -#define __rsnd_mod_call_cleanup 1 > +#define __rsnd_mod_call_cleanup 0 > #define __rsnd_mod_call_init 0 > #define __rsnd_mod_call_quit 1 > #define __rsnd_mod_call_start 0 -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany [-- Attachment #1.2: Digital signature --] [-- Type: application/pgp-signature, Size: 181 bytes --] [-- Attachment #2: Type: text/plain, Size: 419 bytes --] -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#4940): https://lists.cip-project.org/g/cip-dev/message/4940 Mute This Topic: https://lists.cip-project.org/mt/75687530/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] -=-=-=-=-=-=-=-=-=-=-=- ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2020-07-21 13:59 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2020-07-20 17:52 [cip-dev] [PATCH 4.19.y-cip 1/2] ASoC: rsnd: fixup SSI clock during suspend/resume modes Biju Das 2020-07-20 17:52 ` [cip-dev] [PATCH 4.19.y-cip 2/2] arm64: defconfig: Enable additional support for Renesas platforms Biju Das 2020-07-20 21:00 ` Pavel Machek 2020-07-21 0:43 ` Nobuhiro Iwamatsu 2020-07-21 7:00 ` Biju Das 2020-07-21 13:42 ` Pavel Machek 2020-07-21 13:50 ` Biju Das 2020-07-20 20:59 ` [cip-dev] [PATCH 4.19.y-cip 1/2] ASoC: rsnd: fixup SSI clock during suspend/resume modes Pavel Machek
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox