| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Joshua Henderson <joshua.henderson@microchip.com> |
|---|
| 3 | 4 | * Copyright (C) 2015 Microchip Technology Inc. All rights reserved. |
|---|
| 4 | | - * |
|---|
| 5 | | - * This program is free software; you can distribute it and/or modify it |
|---|
| 6 | | - * under the terms of the GNU General Public License (Version 2) as |
|---|
| 7 | | - * published by the Free Software Foundation. |
|---|
| 8 | | - * |
|---|
| 9 | | - * This program is distributed in the hope it will be useful, but WITHOUT |
|---|
| 10 | | - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|---|
| 11 | | - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|---|
| 12 | | - * for more details. |
|---|
| 13 | 5 | */ |
|---|
| 14 | 6 | #include <asm/io.h> |
|---|
| 15 | 7 | |
|---|
| .. | .. |
|---|
| 130 | 122 | |
|---|
| 131 | 123 | void pic32_pps_input(int function, int pin) |
|---|
| 132 | 124 | { |
|---|
| 133 | | - void __iomem *pps_base = ioremap_nocache(PPS_BASE, 0xF4); |
|---|
| 125 | + void __iomem *pps_base = ioremap(PPS_BASE, 0xF4); |
|---|
| 134 | 126 | int i; |
|---|
| 135 | 127 | |
|---|
| 136 | 128 | for (i = 0; i < ARRAY_SIZE(input_pin_reg); i++) { |
|---|
| .. | .. |
|---|
| 260 | 252 | |
|---|
| 261 | 253 | void pic32_pps_output(int function, int pin) |
|---|
| 262 | 254 | { |
|---|
| 263 | | - void __iomem *pps_base = ioremap_nocache(PPS_BASE, 0x170); |
|---|
| 255 | + void __iomem *pps_base = ioremap(PPS_BASE, 0x170); |
|---|
| 264 | 256 | int i; |
|---|
| 265 | 257 | |
|---|
| 266 | 258 | for (i = 0; i < ARRAY_SIZE(output_pin_reg); i++) { |
|---|