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()
97 return -ENODEV; in ap_flash_init()
104 dev_err(&pdev->dev, "error clearing Integrator VPP/WP\n"); in ap_flash_init()
109 /* Enable write cycles on the EBI, CSR1 (flash) */ in ap_flash_init()
141 * Flash protection handling for the Integrator/CP
171 * Flash protection handling for the Versatiles and RealViews
196 /* Not all flash chips use this protection line */ in of_flash_probe_versatile()
197 if (!of_device_is_compatible(np, "arm,versatile-flash")) in of_flash_probe_versatile()
206 return -ENODEV; in of_flash_probe_versatile()
208 versatile_flashprot = (enum versatile_flashprot)devid->data; in of_flash_probe_versatile()
221 map->set_vpp = ap_flash_set_vpp; in of_flash_probe_versatile()
222 dev_info(&pdev->dev, "Integrator/AP flash protection\n"); in of_flash_probe_versatile()
225 map->set_vpp = cp_flash_set_vpp; in of_flash_probe_versatile()
226 dev_info(&pdev->dev, "Integrator/CP flash protection\n"); in of_flash_probe_versatile()
230 map->set_vpp = versatile_flash_set_vpp; in of_flash_probe_versatile()
231 dev_info(&pdev->dev, "versatile/realview flash protection\n"); in of_flash_probe_versatile()
234 dev_info(&pdev->dev, "device marked as Versatile flash " in of_flash_probe_versatile()