Query about platform device registration

2018-12-07 Thread Vakul Garg
Hi I am registering a device using platform_device_register_full(). In the above-mentioned api argument - 'struct platform_device_info', I set the parent device pointer, set_dma_mask from parent device etc. The parent device is created by declaration in device tree and the relevant node has

Query about platform device registration

2018-12-07 Thread Vakul Garg
Hi I am registering a device using platform_device_register_full(). In the above-mentioned api argument - 'struct platform_device_info', I set the parent device pointer, set_dma_mask from parent device etc. The parent device is created by declaration in device tree and the relevant node has

[PATCHv1] crypto: caam - fix job ring cleanup code

2013-04-14 Thread Vakul Garg
] __device_release_driver+0x68/0x120 [eac47e90] [c02a05c8] driver_detach+0xd8/0xe0 [eac47eb0] [c029f8e0] bus_remove_driver+0xa0/0x110 [eac47ed0] [c00768e4] sys_delete_module+0x144/0x270 [eac47f40] [c000e2f0] ret_from_syscall+0x0/0x3c Signed-off-by: Vakul Garg Signed-off-by: Bharat Bhushan --- Changes

[PATCHv1] crypto: caam - fix job ring cleanup code

2013-04-14 Thread Vakul Garg
] [c029fb38] __device_release_driver+0x68/0x120 [eac47e90] [c02a05c8] driver_detach+0xd8/0xe0 [eac47eb0] [c029f8e0] bus_remove_driver+0xa0/0x110 [eac47ed0] [c00768e4] sys_delete_module+0x144/0x270 [eac47f40] [c000e2f0] ret_from_syscall+0x0/0x3c Signed-off-by: Vakul Garg va...@freescale.com Signed-off

[PATCHv2] powerpc/crypto: Add property for 'era' in SEC dts crypto node

2013-04-10 Thread Vakul Garg
The crypto node now contains a new property 'fsl,sec-era'. This is required so that applications can retrieve era info without having to be able to read SEC's register space. Signed-off-by: Vakul Garg --- Changelog: v2: Added era in p1023si-post.dtsi as per Kim's comments. arch

[PATCH] powerpc/crypto: removed qoriq-sec4.1-0.dtsi.

2013-04-10 Thread Vakul Garg
Removing qoriq-sec4.1-0.dtsi as it is not used by any soc anymore. Signed-off-by: Vakul Garg --- arch/powerpc/boot/dts/fsl/qoriq-sec4.1-0.dtsi | 109 - 1 files changed, 0 insertions(+), 109 deletions(-) delete mode 100644 arch/powerpc/boot/dts/fsl/qoriq-sec4.1-0.dtsi

[PATCH] powerpc/crypto: removed qoriq-sec4.1-0.dtsi.

2013-04-10 Thread Vakul Garg
Removing qoriq-sec4.1-0.dtsi as it is not used by any soc anymore. Signed-off-by: Vakul Garg va...@freescale.com --- arch/powerpc/boot/dts/fsl/qoriq-sec4.1-0.dtsi | 109 - 1 files changed, 0 insertions(+), 109 deletions(-) delete mode 100644 arch/powerpc/boot/dts/fsl

[PATCHv2] powerpc/crypto: Add property for 'era' in SEC dts crypto node

2013-04-10 Thread Vakul Garg
The crypto node now contains a new property 'fsl,sec-era'. This is required so that applications can retrieve era info without having to be able to read SEC's register space. Signed-off-by: Vakul Garg va...@freescale.com --- Changelog: v2: Added era in p1023si-post.dtsi as per Kim's

[PATCH] powerpc/crypto: Add property for 'era' in SEC dts crypto node

2013-04-09 Thread Vakul Garg
The crypto node now contains a new property 'fsl,sec-era'. This is required so that applications can retrieve era info without having to be able to read SEC's register space. Signed-off-by: Vakul Garg --- arch/powerpc/boot/dts/fsl/pq3-sec4.4-0.dtsi |1 + arch/powerpc/boot/dts/fsl/qoriq

[PATCH] powerpc/crypto: Add property for 'era' in SEC dts crypto node

2013-04-09 Thread Vakul Garg
The crypto node now contains a new property 'fsl,sec-era'. This is required so that applications can retrieve era info without having to be able to read SEC's register space. Signed-off-by: Vakul Garg va...@freescale.com --- arch/powerpc/boot/dts/fsl/pq3-sec4.4-0.dtsi |1 + arch/powerpc

[PATCHv1] crypto: caam - set RDB bit in security configuration register

2013-02-06 Thread Vakul Garg
le request. If the Random Data Buffer is not enabled, then each IV causes a separate request, and RNG4 hardware cannot keep up resulting in lower IPSEC throughput if random IVs are used. Signed-off-by: Vakul Garg --- drivers/crypto/caam/ctrl.c |3 +++ drivers/crypto/caam/regs.h |4 +++- 2 files

[PATCH] crypto: caam - set RDB bit in security configuration register

2013-02-06 Thread Vakul Garg
le request. If the Random Data Buffer is not enabled, then each IV causes a separate request, and RNG4 hardware cannot keep up resulting in lower IPSEC throughput. Signed-off-by: Vakul Garg --- drivers/crypto/caam/ctrl.c |3 +++ drivers/crypto/caam/regs.h |4 +++- 2 files changed, 6 insertions(+), 1

[PATCH] crypto: caam - set RDB bit in security configuration register

2013-02-06 Thread Vakul Garg
Data Buffer is not enabled, then each IV causes a separate request, and RNG4 hardware cannot keep up resulting in lower IPSEC throughput. Signed-off-by: Vakul Garg va...@freescale.com --- drivers/crypto/caam/ctrl.c |3 +++ drivers/crypto/caam/regs.h |4 +++- 2 files changed, 6 insertions

[PATCHv1] crypto: caam - set RDB bit in security configuration register

2013-02-06 Thread Vakul Garg
Data Buffer is not enabled, then each IV causes a separate request, and RNG4 hardware cannot keep up resulting in lower IPSEC throughput if random IVs are used. Signed-off-by: Vakul Garg va...@freescale.com --- drivers/crypto/caam/ctrl.c |3 +++ drivers/crypto/caam/regs.h |4 +++- 2 files

[PATCHv2] crypto: caam - Added property fsl,sec-era in SEC4.0 device tree binding.

2013-01-23 Thread Vakul Garg
This new property defines the era of the particular SEC version. The compatible property in device tree "crypto" node has been updated not to contain SEC era numbers. Signed-off-by: Vakul Garg --- Changes in v1: 1. Marked fsl,sec-era as 'optional'. Changes in v2: 1. Ch

[PATCHv2] crypto: caam - Added property fsl,sec-era in SEC4.0 device tree binding.

2013-01-23 Thread Vakul Garg
This new property defines the era of the particular SEC version. The compatible property in device tree crypto node has been updated not to contain SEC era numbers. Signed-off-by: Vakul Garg va...@freescale.com --- Changes in v1: 1. Marked fsl,sec-era as 'optional'. Changes in v2