Lines Matching +full:physmap +full:- +full:flash

1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Versatile OF physmap driver add-on
17 #include "physmap-versatile.h"
30 .compatible = "arm,integrator-ap-syscon",
34 .compatible = "arm,integrator-cp-syscon",
38 .compatible = "arm,core-module-versatile",
42 .compatible = "arm,realview-eb-syscon",
46 .compatible = "arm,realview-pb1176-syscon",
50 .compatible = "arm,realview-pb11mp-syscon",
54 .compatible = "arm,realview-pba8-syscon",
58 .compatible = "arm,realview-pbx-syscon",
65 * Flash protection handling for the Integrator/AP
79 { .compatible = "arm,external-bus-interface"},
93 return -ENODEV; in ap_flash_init()
98 return -ENODEV; in ap_flash_init()
105 dev_err(&pdev->dev, "error clearing Integrator VPP/WP\n"); in ap_flash_init()
110 /* Enable write cycles on the EBI, CSR1 (flash) */ in ap_flash_init()
142 * Flash protection handling for the Integrator/CP
172 * Flash protection handling for the Versatiles and RealViews
197 /* Not all flash chips use this protection line */ in of_flash_probe_versatile()
198 if (!of_device_is_compatible(np, "arm,versatile-flash")) in of_flash_probe_versatile()
207 return -ENODEV; in of_flash_probe_versatile()
209 versatile_flashprot = (uintptr_t)devid->data; in of_flash_probe_versatile()
223 map->set_vpp = ap_flash_set_vpp; in of_flash_probe_versatile()
224 dev_info(&pdev->dev, "Integrator/AP flash protection\n"); in of_flash_probe_versatile()
227 map->set_vpp = cp_flash_set_vpp; in of_flash_probe_versatile()
228 dev_info(&pdev->dev, "Integrator/CP flash protection\n"); in of_flash_probe_versatile()
232 map->set_vpp = versatile_flash_set_vpp; in of_flash_probe_versatile()
233 dev_info(&pdev->dev, "versatile/realview flash protection\n"); in of_flash_probe_versatile()
236 dev_info(&pdev->dev, "device marked as Versatile flash " in of_flash_probe_versatile()