Add device tree nodes for Tegra AES and HASH engines.
Signed-off-by: Akhil R
---
arch/arm64/boot/dts/nvidia/tegra234.dtsi | 16
1 file changed, 16 insertions(+)
diff --git a/arch/arm64/boot/dts/nvidia/tegra234.dtsi
b/arch/arm64/boot/dts/nvidia/tegra234.dtsi
index 78cbfdd98dd1
Enable Tegra Security Engine which can accelerate various
AES and HASH algorithms on supported hardware.
Signed-off-by: Akhil R
---
arch/arm64/configs/defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 2c30d617e180
and both uses the host1x
bus. Additionally, it provides hardware-assisted key protection for up
to 15 symmetric keys which it can use for the cipher operations.
Signed-off-by: Akhil R
---
MAINTAINERS |5 +
drivers/crypto/Kconfig |8 +
drivers/crypto
Add Tegra Security Engine details to the SID table in host1x driver.
These entries are required to be in place to configure the stream ID
for SE. Register writes to stream ID registers fail otherwise.
Signed-off-by: Akhil R
Acked-by: Mikko Perttunen
---
drivers/gpu/host1x/dev.c | 24
tible in driver and device trees.
* Remove extra new lines and symbols in binding doc.
v1->v2:
* Update probe errors with 'dev_err_probe'.
* Clean up function prototypes and redundant prints.
* Remove readl/writel wrappers.
* Fix test bot warnings.
Akhil R (5):
dt-bindings: crypto: Add Tegra Sec
Add DT binding document for Tegra Security Engine.
The AES and HASH algorithms are handled independently by separate
engines within the Security Engine. These engines are registered
as two separate crypto engine drivers.
Signed-off-by: Akhil R
Reviewed-by: Krzysztof Kozlowski
---
.../crypto
> On Tue, Mar 19, 2024 at 01:53:04PM +0530, Akhil R wrote:
> >
> > +struct tegra_sha_reqctx {
> > + struct ahash_request fallback_req;
>
> This doesn't work because ahash_request is dynamically sized.
> So you'll end up clobbering the rest of the struct if a
> >
> > + .alg.skcipher.op.do_one_request = tegra_aes_do_one_req,
> > + .alg.skcipher.base = {
> > + .init = tegra_aes_cra_init,
> > + .exit = tegra_aes_cra_exit,
> > + .setkey = tegra_aes_setkey,
> > +
Add device tree nodes for Tegra AES and HASH engines.
Signed-off-by: Akhil R
---
arch/arm64/boot/dts/nvidia/tegra234.dtsi | 16
1 file changed, 16 insertions(+)
diff --git a/arch/arm64/boot/dts/nvidia/tegra234.dtsi
b/arch/arm64/boot/dts/nvidia/tegra234.dtsi
index 78cbfdd98dd1
Enable Tegra Security Engine which can accelerate various
AES and HASH algorithms on supported hardware.
Signed-off-by: Akhil R
---
arch/arm64/configs/defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 2c30d617e180
and both uses the host1x
bus. Additionally, it provides hardware-assisted key protection for up
to 15 symmetric keys which it can use for the cipher operations.
Signed-off-by: Akhil R
---
MAINTAINERS |5 +
drivers/crypto/Kconfig |8 +
drivers/crypto
Add Tegra Security Engine details to the SID table in host1x driver.
These entries are required to be in place to configure the stream ID
for SE. Register writes to stream ID registers fail otherwise.
Signed-off-by: Akhil R
Acked-by: Mikko Perttunen
---
drivers/gpu/host1x/dev.c | 24
Add DT binding document for Tegra Security Engine.
The AES and HASH algorithms are handled independently by separate
engines within the Security Engine. These engines are registered
as two separate crypto engine drivers.
Signed-off-by: Akhil R
Reviewed-by: Krzysztof Kozlowski
---
.../crypto
be'.
* Clean up function prototypes and redundant prints.
* Remove readl/writel wrappers.
* Fix test bot warnings.
Akhil R (5):
dt-bindings: crypto: Add Tegra Security Engine
gpu: host1x: Add Tegra SE to SID table
crypto: tegra: Add Tegra Security Engine driver
arm64: defconfig: Enable Tegra
Use i2c_timings struct and corresponding methods to get bus clock frequency
Signed-off-by: Akhil R
Suggested-by: Andy Shevchenko
Reviewed-by: Andy Shevchenko
---
drivers/i2c/busses/i2c-tegra.c | 20 +---
1 file changed, 9 insertions(+), 11 deletions(-)
v1->v2: Added temp
Add support for SMBus Alert and SMBus block read functions to
i2c-tegra driver
Akhil R (2):
dt-bindings: i2c: tegra: Add SMBus feature properties
i2c: tegra: Add SMBus block read and SMBus alert functions
.../devicetree/bindings/i2c/nvidia,tegra20-i2c.txt | 4 ++
drivers/i2c/busses/i2c
Use i2c_timings struct and corresponding methods to get bus clock frequency
Signed-off-by: Akhil R
---
drivers/i2c/busses/i2c-tegra.c | 19 ---
1 file changed, 8 insertions(+), 11 deletions(-)
The patch is in response to the discussion in a previous patch to use
i2c_timings
external gpio interrupt.
Signed-off-by: Akhil R
---
drivers/i2c/busses/i2c-tegra.c | 54 +-
1 file changed, 53 insertions(+), 1 deletion(-)
diff --git a/drivers/i2c/busses/i2c-tegra.c b/drivers/i2c/busses/i2c-tegra.c
index a5be8f0..3b70013 100644
Tegra I2C can use a gpio as an smbus-alert. Document the usage of
the same.
Signed-off-by: Akhil R
---
Documentation/devicetree/bindings/i2c/nvidia,tegra20-i2c.txt | 4
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/i2c/nvidia,tegra20-i2c.txt
b
Add support for the ACPI based device registration so that the driver
can be also enabled through ACPI table.
This does not include the ACPI support for Tegra VI and DVC I2C.
Signed-off-by: Akhil R
---
drivers/i2c/busses/i2c-tegra.c | 52 --
1 file
Add support for the ACPI based device registration so that the driver
can be also enabled through ACPI table.
This does not include the ACPI support for Tegra VI and DVC I2C.
Signed-off-by: Akhil R
---
drivers/i2c/busses/i2c-tegra.c | 52 --
1 file
> 24.11.2021 10:18, Akhil R пишет:
> >> *i2c_dev)
> >>> i2c_dev->is_vi = true; }
> >> How are you going to differentiate the VI I2C from a non-VI? This
> >> doesn't look right.
> > This patch adds the ACPI support to only non-
> 23.11.2021 10:15, Akhil R пишет:
> > Add support for ACPI based device registration so that the driver can
> > be also enabled through ACPI table.
> >
> > Signed-off-by: Akhil R
> > ---
> > drivers/i2c/busses/i2c-tegra.c | 52
> > +
Add support for ACPI based device registration so that the driver
can be also enabled through ACPI table.
Signed-off-by: Akhil R
---
drivers/i2c/busses/i2c-tegra.c | 52 --
1 file changed, 40 insertions(+), 12 deletions(-)
diff --git a/drivers/i2c/busses
>
>
> On Fri, Nov 19, 2021 at 3:37 PM Akhil R wrote:
> >
> > Add support for ACPI based device registration so that the driver can
> > be also enabled through ACPI table.
>
> the ACPI
>
> ...
>
> > + if (has_acpi_companion(i2c_dev
25 matches
Mail list logo