pinedev | Unsorted

Telegram-канал pinedev - PINE64 dev

-

pinephone, pinetab, etc devel chat | https://gitlab.com/pine64-org/ Bridged to #pinedev on Freenode and #pine-dev:matrix.org on Matrix

Subscribe to a channel

PINE64 dev

minecrell: so I was wondering where the SNPS_PICO_PHY part is for msm8916, because it's not in phy-qcom-usb-hs.c

Читать полностью…

PINE64 dev

minecrell: so this code downstream https://github.com/msm8916-mainline/android_kernel_qcom_msm8916/blob/b20608408caff817ec874f325127b07609fbaeb8/drivers/usb/phy/phy-msm-usb.c#L633-L673

Читать полностью…

PINE64 dev

konradybcio: imagine people having non-standard pmic+soc combos..

Читать полностью…

PINE64 dev

minecrell: But the qcom,hsusb-otg-phy-init-seq contains funny tuning init sequences, and someone had USB stability issues on 8916 when it was wrong at some point. So it may or may not be related

Читать полностью…

PINE64 dev

konradybcio: yeah thanks XD

Читать полностью…

PINE64 dev

minecrell: on downstream newer platforms using those PHYs are also using entirely different drivers, but there are some similarities

Читать полностью…

PINE64 dev

minecrell: There is a funny overlap with the driver you are trying to use (phy-qcom-usb-hs-28nm.c), which is for the femto PHY but they also say support for the pico PHY could be added eventually: https://github.com/torvalds/linux/commit/67b27dbeac4dc86d8f09789861bc8eda6f3538c4

Читать полностью…

PINE64 dev

minecrell: Not sure. It doesn't translate very well to mainline atm. Downstream basically has something like phy-qcom-usb-hs.c (an ULPI PHY driver) but with some bits of the init sequence from phy-qcom-usb-hs-28nm.c

Читать полностью…

PINE64 dev

konradybcio: how do you see it? should I just add

ulpi {
phy{
qcom-init-seq=foo
}
}

?

Читать полностью…

PINE64 dev

konradybcio: uhoh I don't think I have anything to hook up the icc to on this device in the current state

Читать полностью…

PINE64 dev

minecrell: the PHY code seems a bit fishy

Читать полностью…

PINE64 dev

konradybcio: it can negotiate the address but I don't think the connection is stable

Читать полностью…

PINE64 dev

minecrell: konradybcio: did you get USB working?

Читать полностью…

PINE64 dev

minecrell: but with network

Читать полностью…

PINE64 dev

konradybcio: there's only a single node that doesn't cooperate, which is... SLV_QPIC

Читать полностью…

PINE64 dev

minecrell: is in phy-qcom-usb-hs-28nm.c in mainline

Читать полностью…

PINE64 dev

minecrell: konradybcio: fun

Читать полностью…

PINE64 dev

konradybcio: wait it's supposed to panic when no regulators are assigned?!

Читать полностью…

PINE64 dev

konradybcio: so.. I had this.. idea.. https://del.dog/mystistuwi.txt

Читать полностью…

PINE64 dev

minecrell: tl;dr good luck xD

Читать полностью…

PINE64 dev

minecrell: and this driver appears to be mainly for use with dwc3

Читать полностью…

PINE64 dev

minecrell: In the downstream implementation of USB (with chipidea), there is a SNPS_PICO_PHY (e.g. msm8916) and SNPS_FEMTO_PHY (e.g. mdm9607) supported. msm8916 uses phy-qcom-usb-hs.c

Читать полностью…

PINE64 dev

konradybcio: moving the femtophy node inside ulpi{} is a no-go, it's a MMIO device supposed to live in /soc

Читать полностью…

PINE64 dev

minecrell: Pretty sure qcom,hsusb-otg-phy-init-seq is supposed to be written via ULPI, it doesn't really translate to hsphy_init_seq (which is written to some random memory)

Читать полностью…

PINE64 dev

konradybcio: it used to work like 2y ago on sony 8956 with just changed phy init

Читать полностью…

PINE64 dev

konradybcio: ip addr that is

Читать полностью…

PINE64 dev

konradybcio: it's complicated

Читать полностью…

PINE64 dev

konradybcio: qcom even managed to misspell it

Читать полностью…

PINE64 dev

minecrell: it's like SoC

Читать полностью…

PINE64 dev

konradybcio: now modem has NoC bus scaling:)

Читать полностью…
Subscribe to a channel