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  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:	Tue, 14 Oct 2014 02:30:04 +0000
From:	"Li.Xiubo@...escale.com" <Li.Xiubo@...escale.com>
To:	"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
	"linux-doc@...r.kernel.org" <linux-doc@...r.kernel.org>
CC:	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH] mfd: syscon: binding: Add syscon endianness support.

Hi DT guys,

Could someone help me review or ack this patch?

Thanks very much.

BRs
Xiubo



> -----Original Message-----
> From: Xiubo Li [mailto:Li.Xiubo@...escale.com]
> Sent: Thursday, September 18, 2014 3:27 PM
> To: Dong Aisheng-B29396; pankaj.dubey@...sung.com; robh+dt@...nel.org;
> pawel.moll@....com; mark.rutland@....com; ijc+devicetree@...lion.org.uk;
> galak@...eaurora.org; sameo@...ux.intel.com; lee.jones@...aro.org;
> devicetree@...r.kernel.org
> Cc: linux-kernel@...r.kernel.org; Xiubo Li-B47053
> Subject: [PATCH] mfd: syscon: binding: Add syscon endianness support.
> 
> For many drivers which will support rich endianness of Devices
> need define DT properties by itself with the binding support.
> 
> The regmap core has already support endianness of the following
> case:
> Index      Device     DT properties needed
> ------------------------------------------
> 1          BE         'big-endian'
> 2          LE         'little-endian'
> 
> Please see the regmap binding for more detail information of
> the endianness support.
> 
> Signed-off-by: Xiubo Li <Li.Xiubo@...escale.com>
> ---
> 
> 
> This patch hasn't any dependency with Pankaj Dubey's:
>     mfd: syscon: Decouple syscon interface from platform devices
> 
> 
> 
>  Documentation/devicetree/bindings/mfd/syscon.txt | 17 ++++++++++++++---
>  1 file changed, 14 insertions(+), 3 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/mfd/syscon.txt
> b/Documentation/devicetree/bindings/mfd/syscon.txt
> index fe8150b..7c33178 100644
> --- a/Documentation/devicetree/bindings/mfd/syscon.txt
> +++ b/Documentation/devicetree/bindings/mfd/syscon.txt
> @@ -10,11 +10,22 @@ OS driver) to determine the location of the registers, and
> access the
>  registers directly.
> 
>  Required properties:
> -- compatible: Should contain "syscon".
> -- reg: the register region can be accessed from syscon
> +- compatible:		Should contain "syscon".
> +- reg:			The register region can be accessed from syscon
> 
> -Examples:
> +Optional property:
> +- {big,little}-endian:	Boolean property. Please see ../regmap/regmap.txt
> +			for more information.
> +
> +Example 1:
>  gpr: iomuxc-gpr@...e0000 {
>  	compatible = "fsl,imx6q-iomuxc-gpr", "syscon";
>  	reg = <0x020e0000 0x38>;
>  };
> +
> +Example 2:
> +dcfg: dcfg@...0000 {
> +	compatible = "fsl,ls1021a-dcfg", "syscon";
> +	reg = <0x0 0x1ee0000 0x0 0x10000>;
> +	big-endian;
> +};
> --
> 2.1.0.27.g96db324

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