From mboxrd@z Thu Jan 1 00:00:00 1970 From: p.zabel@pengutronix.de (Philipp Zabel) Date: Mon, 23 Jul 2018 13:02:54 +0200 Subject: [PATCH v2 2/3] reset: imx7: Fix always writing bits as 0 In-Reply-To: <1532338865.3163.95.camel@pengutronix.de> References: <54f436a1d2a11a379af642a3327312367ef95343.1532090446.git.leonard.crestez@nxp.com> <1532338865.3163.95.camel@pengutronix.de> Message-ID: <1532343774.3501.8.camel@pengutronix.de> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Mon, 2018-07-23 at 11:41 +0200, Lucas Stach wrote: > As this doesn't depend on any other patch in this series, I think it > would be fine if Philipp?takes this patch through the reset tree. > > Regards, > Lucas > > Am Freitag, den 20.07.2018, 15:47 +0300 schrieb Leonard Crestez: > > Right now the only user of reset-imx7 is pci-imx6 and the > > reset_control_assert and deassert calls on pciephy_reset don't toggle > > the PCIEPHY_BTN and PCIEPHY_G_RST bits as expected. Fix this by writing > > 1 or 0 respectively. > > > > The reference manual is not very clear regarding SRC_PCIEPHY_RCR but for > > other registers like MIPIPHY and HSICPHY the bits are explicitly > > documented as "1 means assert, 0 means deassert". > > > > The values are still reversed for IMX7_RESET_PCIE_CTRL_APPS_EN. > > > > > Signed-off-by: Leonard Crestez > > > Reviewed-by: Lucas Stach Thank you, applied to reset/fixes. regards Philipp