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:	Wed, 10 Jun 2015 14:32:15 +0200
From:	Michal Simek <michal.simek@...inx.com>
To:	Suneel Garapati <suneel.garapati@...inx.com>,
	<linux-kernel@...r.kernel.org>, <linux-arm-kernel@...r.kernel.org>
CC:	<sorenb@...inx.com>, <devicetree@...r.kernel.org>,
	Rob Herring <robh+dt@...nel.org>,
	Pawel Moll <pawel.moll@....com>,
	Mark Rutland <mark.rutland@....com>,
	Ian Campbell <ijc+devicetree@...lion.org.uk>,
	"Kumar Gala" <galak@...eaurora.org>,
	Catalin Marinas <catalin.marinas@....com>,
	"Will Deacon" <will.deacon@....com>, Arnd Bergmann <arnd@...db.de>
Subject: Re: [PATCH] devicetree: xilinx: zynqmp: add sata node

On 06/10/2015 12:16 PM, Suneel Garapati wrote:
> add sata node with sata fixed clock nodes in dtsi file.
> enable sata in zynqmp-ep108.dts with broken-gen2.
> 
> Signed-off-by: Suneel Garapati <suneel.garapati@...inx.com>
> ---
> Note -
> Driver and bindings are added via libata/for-4.2 tree
> bindings is found in Documentation/devicetree/bindings/ata/ahci-ceva.txt
> ---
>  arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts |  5 +++++
>  arch/arm64/boot/dts/xilinx/zynqmp.dtsi      | 15 +++++++++++++++
>  2 files changed, 20 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts b/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts
> index 0a3f40e..981e594 100644
> --- a/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts
> +++ b/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts
> @@ -42,6 +42,11 @@
> 	};
>  };
> 
> +&sata {
> +	status = "okay";
> +	ceva,broken-gen2;
> +};
> +
>  &uart0 {
> 	status = "okay";
>  };
> diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
> index 11e0b00..e7545ed 100644
> --- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
> +++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
> @@ -272,6 +272,21 @@
> 			#size-cells = <0>;
> 		};
> 
> +		sata_clk: sata_clk {
> +			compatible = "fixed-clock";
> +			#clock-cells = <0>;
> +			clock-frequency = <75000000>;
> +		};
> +
> +		sata0: ahci@...c0000 {
> +			compatible = "ceva,ahci-1v84";
> +			status = "disabled";
> +			reg = <0x0 0xfd0c0000 0x2000>;
> +			interrupt-parent = <&gic>;
> +			interrupts = <0 133 4>;
> +			clocks = <&sata_clk>;
> +		};
> +
> 		sdhci0: sdhci@...60000 {
> 			compatible = "arasan,sdhci-8.9a";
> 			status = "disabled";
> --
> 2.1.2
> 

Reviewed-by: Michal Simek <michal.simek@...inx.com>

Thanks,
Michal


--
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