[lkml]   [2021]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH 0/3] Add support for secure regions in Qcom NANDc driver
On a typical end product, a vendor may choose to secure some regions in
the NAND memory which are supposed to stay intact between FW upgrades.
The access to those regions will be blocked by a secure element like
Trustzone. So the normal world software like Linux kernel should not
touch these regions (including reading).

So this series adds a property for declaring such secure regions in DT
so that the driver can skip touching them. While at it, the DT binding
is also converted to YAML format.


Manivannan Sadhasivam (3):
dt-bindings: mtd: Convert Qcom NANDc binding to YAML
dt-bindings: mtd: Add a property to declare secure regions in Qcom
mtd: rawnand: qcom: Add support for secure regions in NAND memory

.../devicetree/bindings/mtd/qcom,nandc.yaml | 203 ++++++++++++++++++
.../devicetree/bindings/mtd/qcom_nandc.txt | 142 ------------
drivers/mtd/nand/raw/qcom_nandc.c | 72 ++++++-
3 files changed, 266 insertions(+), 151 deletions(-)
create mode 100644 Documentation/devicetree/bindings/mtd/qcom,nandc.yaml
delete mode 100644 Documentation/devicetree/bindings/mtd/qcom_nandc.txt


 \ /
  Last update: 2021-02-22 13:04    [W:0.072 / U:5.552 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site