drivers: nvmem: qfprom: Add keepout_regions for pineapple
Add keepout_regions for pineapple. Change-Id: I54840adc0ec5c4f3124495d5b2d5c763bf41390d Signed-off-by: Auditya Bhattaram <quic_audityab@quicinc.com>
This commit is contained in:
parent
9e53a33998
commit
5a09efd218
@ -204,6 +204,16 @@ static const struct qfprom_soc_compatible_data niobe_qfprom = {
|
|||||||
.nkeepout = ARRAY_SIZE(niobe_qfprom_keepout)
|
.nkeepout = ARRAY_SIZE(niobe_qfprom_keepout)
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static const struct nvmem_keepout pineapple_qfprom_keepout[] = {
|
||||||
|
{.start = 0, .end = 0x9b},
|
||||||
|
{.start = 0x9c, .end = 0x1000},
|
||||||
|
};
|
||||||
|
|
||||||
|
static const struct qfprom_soc_compatible_data pineapple_qfprom = {
|
||||||
|
.keepout = pineapple_qfprom_keepout,
|
||||||
|
.nkeepout = ARRAY_SIZE(pineapple_qfprom_keepout)
|
||||||
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* qfprom_disable_fuse_blowing() - Undo enabling of fuse blowing.
|
* qfprom_disable_fuse_blowing() - Undo enabling of fuse blowing.
|
||||||
* @priv: Our driver data.
|
* @priv: Our driver data.
|
||||||
@ -547,6 +557,7 @@ static const struct of_device_id qfprom_of_match[] = {
|
|||||||
{ .compatible = "qcom,cliffs-qfprom", .data = &cliffs_qfprom},
|
{ .compatible = "qcom,cliffs-qfprom", .data = &cliffs_qfprom},
|
||||||
{ .compatible = "qcom,pitti-qfprom", .data = &pitti_qfprom},
|
{ .compatible = "qcom,pitti-qfprom", .data = &pitti_qfprom},
|
||||||
{ .compatible = "qcom,niobe-qfprom", .data = &niobe_qfprom},
|
{ .compatible = "qcom,niobe-qfprom", .data = &niobe_qfprom},
|
||||||
|
{ .compatible = "qcom,pineapple-qfprom", .data = &pineapple_qfprom},
|
||||||
{/* sentinel */},
|
{/* sentinel */},
|
||||||
};
|
};
|
||||||
MODULE_DEVICE_TABLE(of, qfprom_of_match);
|
MODULE_DEVICE_TABLE(of, qfprom_of_match);
|
||||||
|
Loading…
Reference in New Issue
Block a user