From: "MINETTE Alexandre" <contact@alex-min.fr>
To: "Konrad Dybcio" <konrad.dybcio@oss.qualcomm.com>,
"Bjorn Andersson" <andersson@kernel.org>,
"Konrad Dybcio" <konradybcio@kernel.org>,
"Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"MyungJoo Ham" <myungjoo.ham@samsung.com>,
"Chanwoo Choi" <cw00.choi@samsung.com>,
"Guru Das Srinagesh" <linux@gurudas.dev>,
"Linus Walleij" <linusw@kernel.org>,
"Rob Clark" <robin.clark@oss.qualcomm.com>,
"Joerg Roedel" <joro@8bytes.org>, "Will Deacon" <will@kernel.org>,
"Robin Murphy" <robin.murphy@arm.com>,
"Kees Cook" <kees@kernel.org>, "Tony Luck" <tony.luck@intel.com>,
"Guilherme G. Piccoli" <gpiccoli@igalia.com>
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org,
iommu@lists.linux.dev, phone-devel@vger.kernel.org
Subject: Re: [PATCH v2 8/8] ARM: dts: qcom: Add Samsung Galaxy S4
Date: Thu, 14 May 2026 22:23:25 +0200 [thread overview]
Message-ID: <1eb77056-0716-49d3-b45f-d51ee5b70618@app.fastmail.com> (raw)
In-Reply-To: <bb8353fe-29f6-4902-9c7f-67ef61676f2b@oss.qualcomm.com>
Ah yes, I see. I tried GSBI for both the MUIC/extcon bus and the LED bus,
but it does not work on my GT-I9505: USB does not enumerate with the MUIC
on GSBI2, and the LED on GSBI3 times out when setting brightness (-110, with no visble changes).
So I think these should stay as i2c-gpio like downstream.
--
MINETTE Alexandre
contact@alex-min.fr
Lun 04 mai 2026, à 09:41, Konrad Dybcio a écrit :
> On 5/4/26 9:40 AM, Konrad Dybcio wrote:
>> On 5/1/26 9:41 AM, MINETTE Alexandre wrote:
>>> Thanks a lot for the suggestion, I checked the downstream board files
>>> and it does not look like these buses are wired for GSBI.
>>>
>>> There, the MAX77693 bus is instantiated as a dedicated i2c-gpio bus on
>>> GPIO 22/23, and the AN30259A LED bus as a dedicated i2c-gpio bus on
>>> GPIO 6/7. The native APQ8064 GSBI2/GSBI3 I2C pins are different
>>> (GPIO 24/25 and GPIO 8/9), so these two buses do not seem to be wired
>>> to the GSBI controllers on jflte.
>>
>> What I meant is that the pins that the i2c-gpio nodes reference
>> are actually wired (inside the SoC) to the GSBI I2C controllers.
>>
>> You'll notice that in drivers/pinctrl/qcom/pinctrl-apq8064.c,
>> there are bits like:
>>
>> PINGROUP(6, gsbi3, NA, NA, NA, NA, NA, NA, NA, NA, NA),
>>
>> which mean "function 0 is GPIO [implicitly in the macro], function
>> 1 is mux to the GSBI controller"
>
> Unless you meant "these are indeed GSBI pins, but within that GSBIn
> pingroup, those specific ones aren't assigned to SDA/SCL when
> proto==I2C, to which I'm afraid I won't be able to find docs for (too
> old)
>
> Konrad
prev parent reply other threads:[~2026-05-14 20:24 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-27 19:34 [PATCH v2 0/8] Add Samsung Galaxy S4 support Alexandre MINETTE via B4 Relay
2026-04-27 19:34 ` [PATCH v2 1/8] dt-bindings: arm: qcom: Add Samsung Galaxy S4 Alexandre MINETTE via B4 Relay
2026-04-28 6:54 ` Krzysztof Kozlowski
2026-04-27 19:34 ` [PATCH v2 2/8] dt-bindings: extcon: qcom,pm8941-misc: Add PM8921 compatible Alexandre MINETTE via B4 Relay
2026-04-28 6:52 ` Krzysztof Kozlowski
2026-04-27 19:34 ` [PATCH v2 3/8] pinctrl: qcom: Register functions before enabling pinctrl Alexandre MINETTE via B4 Relay
2026-04-27 19:34 ` [PATCH v2 4/8] iommu/msm: Look up masters per IOMMU instance Alexandre MINETTE via B4 Relay
2026-04-27 19:34 ` [PATCH v2 5/8] extcon: qcom-spmi-misc: Add PM8921 compatible Alexandre MINETTE via B4 Relay
2026-04-27 19:34 ` [PATCH v2 6/8] ARM: dts: qcom: apq8064: Fix USB controller clocks Alexandre MINETTE via B4 Relay
2026-04-27 19:34 ` [PATCH v2 7/8] ARM: dts: qcom: pm8921: Add USB ID extcon Alexandre MINETTE via B4 Relay
2026-04-28 6:56 ` Krzysztof Kozlowski
2026-04-27 19:34 ` [PATCH v2 8/8] ARM: dts: qcom: Add Samsung Galaxy S4 Alexandre MINETTE via B4 Relay
2026-04-28 8:57 ` Konrad Dybcio
2026-05-01 7:41 ` MINETTE Alexandre
2026-05-04 7:40 ` Konrad Dybcio
2026-05-04 7:41 ` Konrad Dybcio
2026-05-14 20:23 ` MINETTE Alexandre [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1eb77056-0716-49d3-b45f-d51ee5b70618@app.fastmail.com \
--to=contact@alex-min.fr \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=cw00.choi@samsung.com \
--cc=devicetree@vger.kernel.org \
--cc=gpiccoli@igalia.com \
--cc=iommu@lists.linux.dev \
--cc=joro@8bytes.org \
--cc=kees@kernel.org \
--cc=konrad.dybcio@oss.qualcomm.com \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linusw@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@gurudas.dev \
--cc=myungjoo.ham@samsung.com \
--cc=phone-devel@vger.kernel.org \
--cc=robh@kernel.org \
--cc=robin.clark@oss.qualcomm.com \
--cc=robin.murphy@arm.com \
--cc=tony.luck@intel.com \
--cc=will@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox