[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <PS1PR06MB1180B9A7108987F56F5A1288F5E10@PS1PR06MB1180.apcprd06.prod.outlook.com>
Date: Fri, 18 Dec 2015 13:43:21 +0000
From: Phil Edworthy <phil.edworthy@...esas.com>
To: Wolfram Sang <wsa@...-dreams.de>
CC: Simon Horman <horms@...ge.net.au>,
Bjorn Helgaas <bhelgaas@...gle.com>,
Geert Uytterhoeven <geert@...ux-m68k.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-pci@...r.kernel.org" <linux-pci@...r.kernel.org>,
"linux-sh@...r.kernel.org" <linux-sh@...r.kernel.org>
Subject: RE: [PATCH 4/4] PCI: rcar: Add Gen2 PHY setup to pcie-rcar
Hi Wolfram,
On 17 December 2015 13:33, Wolfram Sang wrote:
> > + rcar_pci_write_reg(pcie, 0x000f0030, GEN2_PCIEPHYADDR);
> > + rcar_pci_write_reg(pcie, 0x00381203, GEN2_PCIEPHYDATA);
> > + rcar_pci_write_reg(pcie, 0x00000001, GEN2_PCIEPHYCTRL);
> > + rcar_pci_write_reg(pcie, 0x00000006, GEN2_PCIEPHYCTRL);
> > +
> > + rcar_pci_write_reg(pcie, 0x000f0054, GEN2_PCIEPHYADDR);
> > + /* The following value is for DC connection, no termination resistor */
> > + rcar_pci_write_reg(pcie, 0x13802007, GEN2_PCIEPHYDATA);
> > + rcar_pci_write_reg(pcie, 0x00000001, GEN2_PCIEPHYCTRL);
> > + rcar_pci_write_reg(pcie, 0x00000006, GEN2_PCIEPHYCTRL);
>
> I'd vote for a comment saying where these magic values come from, i.e.
> which manual, which chapter, etc...
Ok, will do.
Thanks
Phil
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists