lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Thu, 15 May 2014 17:04:50 +0530
From:	Mugunthan V N <mugunthanvnm@...com>
To:	Tony Lindgren <tony@...mide.com>
CC:	<bcousson@...libre.com>, <devicetree@...r.kernel.org>,
	<linux-omap@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/1] ARM: dts: am437x-gp-evm: Add ethernet support for
 GP EVM

On Tuesday 13 May 2014 10:50 PM, Tony Lindgren wrote:
> * Mugunthan V N <mugunthanvnm@...com> [140507 02:31]:
>> Add CPSW ethernet support for AM437x GP EVM which has one slave pinned out
>>
>> Signed-off-by: Mugunthan V N <mugunthanvnm@...com>
>> ---
>>  arch/arm/boot/dts/am437x-gp-evm.dts | 72 +++++++++++++++++++++++++++++++++++++
>>  1 file changed, 72 insertions(+)
>>
>> diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts b/arch/arm/boot/dts/am437x-gp-evm.dts
>> index 2e0c636..30ace1b 100644
>> --- a/arch/arm/boot/dts/am437x-gp-evm.dts
>> +++ b/arch/arm/boot/dts/am437x-gp-evm.dts
>> @@ -98,6 +98,58 @@
>>  			0x264 (PIN_INPUT_PULLUP | MUX_MODE7)  /* spi2_d0.gpio3_22 */
>>  		>;
>>  	};
>> +
>> +	cpsw_default: cpsw_default {
>> +		pinctrl-single,pins = <
>> +			/* Slave 1 */
>> +			0x114 (PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txen.rgmii1_txen */
>> +			0x118 (PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxdv.rgmii1_rxctl */
>> +			0x11c (PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txd1.rgmii1_txd3 */
>> +			0x120 (PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txd0.rgmii1_txd2 */
>> +			0x124 (PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txd1.rgmii1_txd1 */
>> +			0x128 (PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txd0.rgmii1_txd0 */
>> +			0x12c (PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txclk.rmii1_tclk */
>> +			0x130 (PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxclk.rmii1_rclk */
>> +			0x134 (PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxd1.rgmii1_rxd3 */
>> +			0x138 (PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxd0.rgmii1_rxd2 */
>> +			0x13c (PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxd1.rgmii1_rxd1 */
>> +			0x140 (PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxd0.rgmii1_rxd0 */
>> +		>;
>> +	};
>> +
>> +	cpsw_sleep: cpsw_sleep {
>> +		pinctrl-single,pins = <
>> +			/* Slave 1 reset value */
>> +			0x114 (PIN_INPUT_PULLDOWN | MUX_MODE7)
>> +			0x118 (PIN_INPUT_PULLDOWN | MUX_MODE7)
>> +			0x11c (PIN_INPUT_PULLDOWN | MUX_MODE7)
>> +			0x120 (PIN_INPUT_PULLDOWN | MUX_MODE7)
>> +			0x124 (PIN_INPUT_PULLDOWN | MUX_MODE7)
>> +			0x128 (PIN_INPUT_PULLDOWN | MUX_MODE7)
>> +			0x12c (PIN_INPUT_PULLDOWN | MUX_MODE7)
>> +			0x130 (PIN_INPUT_PULLDOWN | MUX_MODE7)
>> +			0x134 (PIN_INPUT_PULLDOWN | MUX_MODE7)
>> +			0x138 (PIN_INPUT_PULLDOWN | MUX_MODE7)
>> +			0x13c (PIN_INPUT_PULLDOWN | MUX_MODE7)
>> +			0x140 (PIN_INPUT_PULLDOWN | MUX_MODE7)
>> +		>;
>> +	};
> Just a nitpick comment to make things more readable. Can you please add
> the comments for these pins too so people can cross check them against
> the documentation easier?
>
>> +	davinci_mdio_default: davinci_mdio_default {
>> +		pinctrl-single,pins = <
>> +			/* MDIO */
>> +			0x148 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0)	/* mdio_data.mdio_data */
>> +			0x14c (PIN_OUTPUT_PULLUP | MUX_MODE0)			/* mdio_clk.mdio_clk */
>> +		>;
>> +	};
>> +
>> +	davinci_mdio_sleep: davinci_mdio_sleep {
>> +		pinctrl-single,pins = <
>> +			/* MDIO reset value */
>> +			0x148 (PIN_INPUT_PULLDOWN | MUX_MODE7)
>> +			0x14c (PIN_INPUT_PULLDOWN | MUX_MODE7)
>> +		>;
>> +	};
>>  };
> And here too please.
>
>

Will add the comments and post the patch again

Regards
Mugunthan V N
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ