1*5ed82393SMaxime Ripard/* 2*5ed82393SMaxime Ripard * Copyright 2016 Free Electrons 3*5ed82393SMaxime Ripard * 4*5ed82393SMaxime Ripard * Quentin Schulz <quentin.schulz@free-electrons.com> 5*5ed82393SMaxime Ripard * 6*5ed82393SMaxime Ripard * This file is dual-licensed: you can use it either under the terms 7*5ed82393SMaxime Ripard * of the GPL or the X11 license, at your option. Note that this dual 8*5ed82393SMaxime Ripard * licensing only applies to this file, and not this project as a 9*5ed82393SMaxime Ripard * whole. 10*5ed82393SMaxime Ripard * 11*5ed82393SMaxime Ripard * a) This file is free software; you can redistribute it and/or 12*5ed82393SMaxime Ripard * modify it under the terms of the GNU General Public License as 13*5ed82393SMaxime Ripard * published by the Free Software Foundation; either version 2 of the 14*5ed82393SMaxime Ripard * License, or (at your option) any later version. 15*5ed82393SMaxime Ripard * 16*5ed82393SMaxime Ripard * This file is distributed in the hope that it will be useful, 17*5ed82393SMaxime Ripard * but WITHOUT ANY WARRANTY; without even the implied warranty of 18*5ed82393SMaxime Ripard * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19*5ed82393SMaxime Ripard * GNU General Public License for more details. 20*5ed82393SMaxime Ripard * 21*5ed82393SMaxime Ripard * Or, alternatively, 22*5ed82393SMaxime Ripard * 23*5ed82393SMaxime Ripard * b) Permission is hereby granted, free of charge, to any person 24*5ed82393SMaxime Ripard * obtaining a copy of this software and associated documentation 25*5ed82393SMaxime Ripard * files (the "Software"), to deal in the Software without 26*5ed82393SMaxime Ripard * restriction, including without limitation the rights to use, 27*5ed82393SMaxime Ripard * copy, modify, merge, publish, distribute, sublicense, and/or 28*5ed82393SMaxime Ripard * sell copies of the Software, and to permit persons to whom the 29*5ed82393SMaxime Ripard * Software is furnished to do so, subject to the following 30*5ed82393SMaxime Ripard * conditions: 31*5ed82393SMaxime Ripard * 32*5ed82393SMaxime Ripard * The above copyright notice and this permission notice shall be 33*5ed82393SMaxime Ripard * included in all copies or substantial portions of the Software. 34*5ed82393SMaxime Ripard * 35*5ed82393SMaxime Ripard * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 36*5ed82393SMaxime Ripard * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 37*5ed82393SMaxime Ripard * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 38*5ed82393SMaxime Ripard * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 39*5ed82393SMaxime Ripard * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 40*5ed82393SMaxime Ripard * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 41*5ed82393SMaxime Ripard * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 42*5ed82393SMaxime Ripard * OTHER DEALINGS IN THE SOFTWARE. 43*5ed82393SMaxime Ripard */ 44*5ed82393SMaxime Ripard 45*5ed82393SMaxime Ripard/* 46*5ed82393SMaxime Ripard * AXP223 Integrated Power Management Chip 47*5ed82393SMaxime Ripard * http://www.x-powers.com/product/AXP22X.php 48*5ed82393SMaxime Ripard * http://dl.linux-sunxi.org/AXP/AXP223-en.pdf 49*5ed82393SMaxime Ripard * 50*5ed82393SMaxime Ripard * The AXP223 shares most of its logic with the AXP221 but it has some 51*5ed82393SMaxime Ripard * differences, for the VBUS driver for example. 52*5ed82393SMaxime Ripard */ 53*5ed82393SMaxime Ripard 54*5ed82393SMaxime Ripard#include "axp22x.dtsi" 55*5ed82393SMaxime Ripard 56*5ed82393SMaxime Ripard&usb_power_supply { 57*5ed82393SMaxime Ripard compatible = "x-powers,axp223-usb-power-supply"; 58*5ed82393SMaxime Ripard}; 59