/* Copyright (c) 2015, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
 * only version 2 as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

/*
 * As a general rule, only chipset-specific property overrides should be placed
 * inside this file.
 */

#include "msm-pm8004.dtsi"

/ {
	qcom,pmic-id = <0x20009 0x2000A 0x1000C 0x0>;
};

/*
 * Override PMI8994 resources with proper PM8004 resources for MSM8996 with
 * PM8004.
 */
&pmi8994_s2 {
	status = "disabled";
};

&pm8004_s2 {
	status = "ok";
};

&gfx_cpr {
	vdd-supply = <&pm8004_s2>;
};
