[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20151217133308.GB20372@katana>
Date: Thu, 17 Dec 2015 14:33:08 +0100
From: Wolfram Sang <wsa@...-dreams.de>
To: Phil Edworthy <phil.edworthy@...esas.com>
Cc: Simon Horman <horms@...ge.net.au>,
Bjorn Helgaas <bhelgaas@...gle.com>,
Geert Uytterhoeven <geert@...ux-m68k.org>,
linux-kernel@...r.kernel.org, linux-pci@...r.kernel.org,
linux-sh@...r.kernel.org
Subject: Re: [PATCH 4/4] PCI: rcar: Add Gen2 PHY setup to pcie-rcar
> + 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...
Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)
Powered by blists - more mailing lists