pinctrl-nomadik.c (75d270fda64d4e12d0ce35334bca6d674cd7b943) | pinctrl-nomadik.c (3c30cc26df0a3fc50b1f3fe4fd3a9b19a1704d95) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * Pinmux & pinconf driver for the IP block found in the Nomadik SoC. This 4 * depends on gpio-nomadik and some handling is intertwined; see nmk_gpio_chips 5 * which is used by this driver to access the GPIO banks array. 6 * 7 * Copyright (C) 2008,2009 STMicroelectronics 8 * Copyright (C) 2009 Alessandro Rubini <rubini@unipv.it> --- 1216 unchanged lines hidden (view full) --- 1225 1226 dev_info(&pdev->dev, "populate NMK GPIO %d \"%pOFn\"\n", 1227 i, gpio_np); 1228 nmk_chip = nmk_gpio_populate_chip(gpio_np, pdev); 1229 if (IS_ERR(nmk_chip)) 1230 dev_err(&pdev->dev, 1231 "could not populate nmk chip struct - continue anyway\n"); 1232 of_node_put(gpio_np); | 1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * Pinmux & pinconf driver for the IP block found in the Nomadik SoC. This 4 * depends on gpio-nomadik and some handling is intertwined; see nmk_gpio_chips 5 * which is used by this driver to access the GPIO banks array. 6 * 7 * Copyright (C) 2008,2009 STMicroelectronics 8 * Copyright (C) 2009 Alessandro Rubini <rubini@unipv.it> --- 1216 unchanged lines hidden (view full) --- 1225 1226 dev_info(&pdev->dev, "populate NMK GPIO %d \"%pOFn\"\n", 1227 i, gpio_np); 1228 nmk_chip = nmk_gpio_populate_chip(gpio_np, pdev); 1229 if (IS_ERR(nmk_chip)) 1230 dev_err(&pdev->dev, 1231 "could not populate nmk chip struct - continue anyway\n"); 1232 of_node_put(gpio_np); |
1233 /* We are NOT compatible with mobileye,eyeq5-gpio. */ 1234 BUG_ON(nmk_chip->is_mobileye_soc); |
|
1233 } 1234 1235 prcm_np = of_parse_phandle(np, "prcm", 0); 1236 if (prcm_np) { 1237 npct->prcm_base = of_iomap(prcm_np, 0); 1238 of_node_put(prcm_np); 1239 } 1240 if (!npct->prcm_base) { --- 43 unchanged lines hidden --- | 1235 } 1236 1237 prcm_np = of_parse_phandle(np, "prcm", 0); 1238 if (prcm_np) { 1239 npct->prcm_base = of_iomap(prcm_np, 0); 1240 of_node_put(prcm_np); 1241 } 1242 if (!npct->prcm_base) { --- 43 unchanged lines hidden --- |