Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 8fba610a authored by derfelot's avatar derfelot
Browse files

ARM: dts: msm: Add yoshino support from Sony kernel

Taken from Sony 47.2.A.10.107 stock kernel
parent fedb224c
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
@@ -152,6 +152,7 @@ dtb-$(CONFIG_MSM_GVM_QUIN) += vplatform-lfv-msm8996-telematics.dtb \
	vplatform-lfv-msm8996-ivi-la-recovery.dtb \
	vplatform-lfv-msm8996-ivi-lv-mt.dtb

ifneq ($(CONFIG_ARCH_SONY_YOSHINO),y)
ifeq ($(CONFIG_BUILD_ARM64_DT_OVERLAY),y)
dtbo-$(CONFIG_ARCH_MSM8998) += \
	msm8998-cdp-overlay.dtbo \
@@ -209,6 +210,23 @@ dtb-$(CONFIG_ARCH_MSM8998) += msm8998-sim.dtb \
	msm8998-v2.1-interposer-sdm660-mtp.dtb \
	msm8998-v2.1-interposer-sdm660-qrd.dtb
endif
else
dtb-$(CONFIG_MACH_SONY_MAPLE) += msm8998-yoshino-maple_generic.dtb \
	msm8998-v2-yoshino-maple_generic.dtb \
	msm8998-v2.1-yoshino-maple_generic.dtb
dtb-$(CONFIG_MACH_SONY_MAPLE_DSDS) += msm8998-yoshino-maple_dsds.dtb \
	msm8998-v2-yoshino-maple_dsds.dtb \
	msm8998-v2.1-yoshino-maple_dsds.dtb
dtb-$(CONFIG_MACH_SONY_POPLAR) += msm8998-yoshino-poplar_generic.dtb \
	msm8998-v2-yoshino-poplar_generic.dtb \
	msm8998-v2.1-yoshino-poplar_generic.dtb
dtb-$(CONFIG_MACH_SONY_POPLAR_DSDS) += msm8998-yoshino-poplar_dsds.dtb \
	msm8998-v2-yoshino-poplar_dsds.dtb \
	msm8998-v2.1-yoshino-poplar_dsds.dtb
dtb-$(CONFIG_MACH_SONY_LILAC) += msm8998-yoshino-lilac_generic.dtb \
	msm8998-v2-yoshino-lilac_generic.dtb \
	msm8998-v2.1-yoshino-lilac_generic.dtb
endif

dtb-$(CONFIG_ARCH_MSMHAMSTER) += msmhamster-rumi.dtb

+45 −0
Original line number Diff line number Diff line
/*
 * 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.
 */
/*
 * Copyright (C) 2016 Sony Mobile Communications Inc.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2, as
 * published by the Free Software Foundation.
 */

synaptics_clearpad@2c {
/* Write area------------------------------------------ */

	somc,clearpad-f01-rmi-cmd00		= <0x00>;
	somc,clearpad-f01-rmi-ctrl00		= <0x00>;
	somc,clearpad-f01-rmi-ctrl01		= <0x01>;
	somc,clearpad-f01-rmi-data00		= <0x00>;
	somc,clearpad-f01-rmi-data01		= <0x01>;
	somc,clearpad-f01-rmi-query11		= <0x0B>;

	somc,clearpad-f34-flash-ctrl00		= <0x00>;
	somc,clearpad-f34-flash-data00		= <0x00>;
	somc,clearpad-f34-flash-data01		= <0x01>;
	somc,clearpad-f34-flash-data02		= <0x02>;
	somc,clearpad-f34-flash-data03		= <0x03>;
	somc,clearpad-f34-flash-data04		= <0x04>;
	somc,clearpad-f34-flash-data05		= <0x05>;
	somc,clearpad-f34-flash-query00		= <0x00>;
	somc,clearpad-f34-flash-query01		= <0x01>;
	somc,clearpad-f34-flash-query03		= <0x03>;

/* Write area------------------------------------------ */
};

#include "clearpad-ic-s332u-regoffset.dtsi"
#include "clearpad-ic-s3330-regoffset.dtsi"
#include "clearpad-ic-s3500-regoffset.dtsi"
+88 −0
Original line number Diff line number Diff line
/*
 * 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.
 */
/*
 * Copyright (C) 2016 Sony Mobile Communications Inc.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2, as
 * published by the Free Software Foundation.
 */

synaptics_clearpad@2c {
	S332U {
	/* Write area------------------------------------------ */

		EXTRA_0x05 {
			somc,clearpad-f01-rmi-cmd00		= <0x00>;
			somc,clearpad-f01-rmi-ctrl00		= <0x00>;
			somc,clearpad-f01-rmi-ctrl01		= <0x01>;
			somc,clearpad-f01-rmi-ctrl05		= <0x02>;
			somc,clearpad-f01-rmi-ctrl18		= <0x04>;
			somc,clearpad-f01-rmi-data00		= <0x00>;
			somc,clearpad-f01-rmi-data01		= <0x01>;
			somc,clearpad-f01-rmi-query11		= <0x0B>;

			somc,clearpad-f12-2d-ctrl08		= <0x00>;

			somc,clearpad-f34-flash-ctrl00		= <0x00>;
			somc,clearpad-f34-flash-data00		= <0x00>;
			somc,clearpad-f34-flash-data01		= <0x01>;
			somc,clearpad-f34-flash-data02		= <0x02>;
			somc,clearpad-f34-flash-data03		= <0x03>;
			somc,clearpad-f34-flash-data04		= <0x04>;
			somc,clearpad-f34-flash-data05		= <0x05>;
			somc,clearpad-f34-flash-query01		= <0x01>;
			somc,clearpad-f34-flash-query03		= <0x03>;

			somc,clearpad-f54-analog-cmd00		= <0x00>;
			somc,clearpad-f54-analog-ctrl188	= <0x1D>;
			somc,clearpad-f54-analog-data00		= <0x00>;
			somc,clearpad-f54-analog-data01		= <0x01>;
			somc,clearpad-f54-analog-data02		= <0x02>;
			somc,clearpad-f54-analog-data03		= <0x03>;
			somc,clearpad-f54-analog-data31		= <0x0E>;
		};

		EXTRA_0x06 {
			somc,clearpad-f01-rmi-cmd00		= <0x00>;
			somc,clearpad-f01-rmi-ctrl00		= <0x00>;
			somc,clearpad-f01-rmi-ctrl01		= <0x01>;
			somc,clearpad-f01-rmi-ctrl05		= <0x02>;
			somc,clearpad-f01-rmi-ctrl18		= <0x04>;
			somc,clearpad-f01-rmi-data00		= <0x00>;
			somc,clearpad-f01-rmi-data01		= <0x01>;
			somc,clearpad-f01-rmi-query11		= <0x0B>;

			somc,clearpad-f12-2d-ctrl08		= <0x00>;

			somc,clearpad-f34-flash-ctrl00		= <0x00>;
			somc,clearpad-f34-flash-data00		= <0x00>;
			somc,clearpad-f34-flash-data01		= <0x01>;
			somc,clearpad-f34-flash-data02		= <0x02>;
			somc,clearpad-f34-flash-data03		= <0x03>;
			somc,clearpad-f34-flash-data04		= <0x04>;
			somc,clearpad-f34-flash-data05		= <0x05>;
			somc,clearpad-f34-flash-query01		= <0x01>;
			somc,clearpad-f34-flash-query03		= <0x03>;

			somc,clearpad-f54-analog-cmd00		= <0x00>;
			somc,clearpad-f54-analog-ctrl188	= <0x1F>;
			somc,clearpad-f54-analog-data00		= <0x00>;
			somc,clearpad-f54-analog-data01		= <0x01>;
			somc,clearpad-f54-analog-data02		= <0x02>;
			somc,clearpad-f54-analog-data03		= <0x03>;
			somc,clearpad-f54-analog-data31		= <0x0E>;
		};

	/* Write area------------------------------------------ */
	};
};
+94 −0
Original line number Diff line number Diff line
/*
 * 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.
 */
/*
 * Copyright (C) 2016 Sony Mobile Communications Inc.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2, as
 * published by the Free Software Foundation.
 */

synaptics_clearpad@2c {
	S3330 {
	/* Write area------------------------------------------ */

		EXTRA_0x05 {
			somc,clearpad-f01-rmi-cmd00		= <0x00>;
			somc,clearpad-f01-rmi-ctrl00		= <0x00>;
			somc,clearpad-f01-rmi-ctrl01		= <0x01>;
			somc,clearpad-f01-rmi-ctrl05		= <0x04>;
			somc,clearpad-f01-rmi-data00		= <0x00>;
			somc,clearpad-f01-rmi-data01		= <0x01>;
			somc,clearpad-f01-rmi-query11		= <0x0B>;

			somc,clearpad-f12-2d-ctrl08		= <0x00>;

			somc,clearpad-f34-flash-ctrl00		= <0x00>;
			somc,clearpad-f34-flash-data00		= <0x00>;
			somc,clearpad-f34-flash-data01		= <0x01>;
			somc,clearpad-f34-flash-data02		= <0x02>;
			somc,clearpad-f34-flash-data03		= <0x03>;
			somc,clearpad-f34-flash-data04		= <0x04>;
			somc,clearpad-f34-flash-data05		= <0x05>;
			somc,clearpad-f34-flash-query01		= <0x01>;
			somc,clearpad-f34-flash-query03		= <0x03>;

			somc,clearpad-f54-analog-cmd00		= <0x00>;
			somc,clearpad-f54-analog-ctrl109	= <0x3a>;
			somc,clearpad-f54-analog-ctrl113	= <0x3b>;
			somc,clearpad-f54-analog-ctrl147	= <0x42>;
			somc,clearpad-f54-analog-ctrl214	= <0x53>;
			somc,clearpad-f54-analog-data00		= <0x00>;
			somc,clearpad-f54-analog-data01		= <0x01>;
			somc,clearpad-f54-analog-data02		= <0x02>;
			somc,clearpad-f54-analog-data03		= <0x03>;
			somc,clearpad-f54-analog-data31		= <0x0E>;
			somc,clearpad-f54-analog-query38	= <0x1E>;
		};

		EXTRA_0x06 {
			somc,clearpad-f01-rmi-cmd00		= <0x00>;
			somc,clearpad-f01-rmi-ctrl00		= <0x00>;
			somc,clearpad-f01-rmi-ctrl01		= <0x01>;
			somc,clearpad-f01-rmi-ctrl05		= <0x04>;
			somc,clearpad-f01-rmi-data00		= <0x00>;
			somc,clearpad-f01-rmi-data01		= <0x01>;
			somc,clearpad-f01-rmi-query11		= <0x0B>;

			somc,clearpad-f12-2d-ctrl08		= <0x00>;

			somc,clearpad-f34-flash-ctrl00		= <0x00>;
			somc,clearpad-f34-flash-data00		= <0x00>;
			somc,clearpad-f34-flash-data01		= <0x01>;
			somc,clearpad-f34-flash-data02		= <0x02>;
			somc,clearpad-f34-flash-data03		= <0x03>;
			somc,clearpad-f34-flash-data04		= <0x04>;
			somc,clearpad-f34-flash-data05		= <0x05>;
			somc,clearpad-f34-flash-query01		= <0x01>;
			somc,clearpad-f34-flash-query03		= <0x03>;

			somc,clearpad-f54-analog-cmd00		= <0x00>;
			somc,clearpad-f54-analog-ctrl88		= <0x26>;
			somc,clearpad-f54-analog-ctrl109	= <0x38>;
			somc,clearpad-f54-analog-ctrl113	= <0x39>;
			somc,clearpad-f54-analog-ctrl147	= <0x40>;
			somc,clearpad-f54-analog-ctrl214	= <0x53>;
			somc,clearpad-f54-analog-data00		= <0x00>;
			somc,clearpad-f54-analog-data01		= <0x01>;
			somc,clearpad-f54-analog-data02		= <0x02>;
			somc,clearpad-f54-analog-data03		= <0x03>;
			somc,clearpad-f54-analog-query38	= <0x1E>;
		};

	/* Write area------------------------------------------ */
	};
};
+63 −0
Original line number Diff line number Diff line
/*
 * 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.
 */
/*
 * Copyright (C) 2016 Sony Mobile Communications Inc.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2, as
 * published by the Free Software Foundation.
 */

synaptics_clearpad@2c {
	S3500 {
	/* Write area------------------------------------------ */

		EXTRA_0x03 {
			somc,clearpad-f01-rmi-cmd00		= <0x00>;
			somc,clearpad-f01-rmi-ctrl00		= <0x00>;
			somc,clearpad-f01-rmi-ctrl01		= <0x01>;
			somc,clearpad-f01-rmi-ctrl05		= <0x04>;
			somc,clearpad-f01-rmi-data00		= <0x00>;
			somc,clearpad-f01-rmi-data01		= <0x01>;
			somc,clearpad-f01-rmi-query11		= <0x0B>;

			somc,clearpad-f12-2d-ctrl08		= <0x00>;

			somc,clearpad-f34-flash-ctrl00		= <0x00>;
			somc,clearpad-f34-flash-data00		= <0x00>;
			somc,clearpad-f34-flash-data01		= <0x01>;
			somc,clearpad-f34-flash-data02		= <0x02>;
			somc,clearpad-f34-flash-data03		= <0x03>;
			somc,clearpad-f34-flash-query00		= <0x00>;
			somc,clearpad-f34-flash-query01		= <0x01>;
			somc,clearpad-f34-flash-query03		= <0x03>;

			somc,clearpad-f51-custom-ctrl05		= <0x00>;
			somc,clearpad-f51-custom-ctrl30		= <0x86>;

			somc,clearpad-f54-analog-cmd00		= <0x00>;
			somc,clearpad-f54-analog-ctrl113	= <0x25>;
			somc,clearpad-f54-analog-ctrl147	= <0x2F>;
			somc,clearpad-f54-analog-ctrl149	= <0x30>;
			somc,clearpad-f54-analog-ctrl41		= <0x14>;
			somc,clearpad-f54-analog-ctrl57		= <0x17>;
			somc,clearpad-f54-analog-ctrl88		= <0x19>;
			somc,clearpad-f54-analog-data00		= <0x00>;
			somc,clearpad-f54-analog-data01		= <0x01>;
			somc,clearpad-f54-analog-data02		= <0x02>;
			somc,clearpad-f54-analog-data03		= <0x03>;
			somc,clearpad-f54-analog-query38	= <0x1E>;
		};

	/* Write area------------------------------------------ */
	};
};
Loading