Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dts: msm8926: add Support for Samsung Galaxy S5 Mini Duos (kmini3g) #279

Closed
wants to merge 27 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
e8e1877
dts: msm8226: Add Samsung Galaxy S5 Mini 3G (2014) (G800H)
vicenteicc2008 Jul 8, 2023
05955d8
add dtb to rules
vicenteicc2008 Jul 8, 2023
d97a863
add support Samsung Galaxy S5 Mini 3G (2014)
vicenteicc2008 Jul 8, 2023
608e8a9
i forgot this in dtb
vicenteicc2008 Jul 29, 2023
11522e7
Update README.md
vicenteicc2008 Jul 29, 2023
abb2d1f
Update model to Samsung Galaxy S5 Mini Duos
vicenteicc2008 Jul 29, 2023
71ea641
Update S5 Mini Duos dts
vicenteicc2008 Jul 30, 2023
b1f9db5
Revert dts mod
vicenteicc2008 Jul 30, 2023
b2a0833
Update dts
vicenteicc2008 Jul 30, 2023
7c2cbe8
Rename dts
vicenteicc2008 Aug 2, 2023
ab96e3d
i forgot this
vicenteicc2008 Aug 2, 2023
c9b4055
Rename dts again
vicenteicc2008 Aug 2, 2023
176da8a
Update dtb name again
vicenteicc2008 Aug 2, 2023
2af9a15
Update dts again
vicenteicc2008 Aug 2, 2023
2c3f47d
Update model dts
vicenteicc2008 Aug 4, 2023
0fb6de1
Update and rename dts
vicenteicc2008 Aug 4, 2023
9ba860b
change dtb in rules.mk}
vicenteicc2008 Aug 4, 2023
a9e2a25
Update dts to add muic support
vicenteicc2008 Aug 4, 2023
3eba208
Update muic pins
vicenteicc2008 Aug 5, 2023
89df78b
Update msm id
vicenteicc2008 Aug 5, 2023
2c68b47
Update gpio pins on dts
vicenteicc2008 Aug 5, 2023
1f9a3bc
add important part
vicenteicc2008 Aug 5, 2023
bae9beb
Update board-id
vicenteicc2008 Aug 5, 2023
fe300e2
update dts again
vicenteicc2008 Aug 9, 2023
67f8679
S5 Mini Duos
vicenteicc2008 Sep 6, 2023
a675060
revert "S5 Mini Duos"
vicenteicc2008 Sep 6, 2023
cbfb951
Merge branch 'master' into kmini3g
vicenteicc2008 Mar 1, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,11 @@ page on the EFIDroid wiki for an exact mapping of LK targets to SoCs.
- Motorola Moto G 4G 2013 - peregrine
- Samsung Galaxy Grand 2 - SM-G7102
- Samsung Galaxy Tab 4 10.1 (2014) - SM-T530, SM-T535
kmini3g
- Samsung Galaxy S5 Mini Duos - SM-G800H
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe S goes before T in the alphabet :)

=======
- Samsung Galaxy Tab 4 8.0 (2014) - SM-T330, SM-T330NU
master

## Installation
1. Download `lk2nd.img` (available in [Releases](https://github.com/msm8916-mainline/lk2nd/releases))
Expand Down
25 changes: 25 additions & 0 deletions dts/msm8226/msm8228-samsung-r03.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
// SPDX-License-Identifier: GPL-2.0-only

/dts-v1/;

#include <skeleton.dtsi>
#include <lk2nd.h>

/ {
// This is used by the bootloader to find the correct DTB
qcom,msm-id = <0xdf08ff01 3 0x20000>;
atlantic3g {
model = "Samsung Galaxy S5 Mini Duos (G800H)";
compatible = "samsung,atlantic3g", "qcom,msm8228", "lk2nd,device";
lk2nd,match-bootloader = "G800H*";

lk2nd,keys =
<KEY_VOLUMEDOWN 107 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>,
<KEY_VOLUMEUP 106 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;

samsung,muic-reset {
i2c-gpio-pins = <4 5>;
i2c-address = <0x25>;
};
};
};
3 changes: 2 additions & 1 deletion dts/msm8226/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ DTBS += \
$(LOCAL_DIR)/msm8926-huawei-g6-l11-vb.dtb \
$(LOCAL_DIR)/msm8926-motorola-peregrine.dtb \
$(LOCAL_DIR)/msm8926-samsung-r02.dtb \
$(LOCAL_DIR)/msm8926-v2-720p-mtp.dtb
$(LOCAL_DIR)/msm8926-v2-720p-mtp.dtb \
$(LOCAL_DIR)/msm8228-samsung-r03.dtb

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

	...
	$(LOCAL_DIR)/msm8226-*.dtb \
	$(LOCAL_DIR)/msm8228-*.dtb \
	$(LOCAL_DIR)/msm8926-*.dtb \
	...

Loading