linux-amlogic.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Anand Moon <linux.amoon@gmail.com>
To: Kevin Hilman <khilman@baylibre.com>
Cc: Martin Blumenstingl <martin.blumenstingl@googlemail.com>,
	linux-amlogic@lists.infradead.org,
	Jerome Brunet <jbrunet@baylibre.com>,
	Neil Armstrong <narmstrong@baylibre.com>
Subject: Re: Odroid-N2 on archlinux cannot boot on using linux-next on sd_card / emmc
Date: Wed, 24 Jul 2019 23:24:52 +0530	[thread overview]
Message-ID: <CANAwSgTLDuBjBFuSTMh_AaZjWfZX=yzjTL7NxUBv-qjNjUp1zw@mail.gmail.com> (raw)
In-Reply-To: <CANAwSgQXJE=aq0bPdmgaKfnjA1oBZisLgpYGWjqeM=Zqsyi0Xw@mail.gmail.com>

Hi Neil,

[Ship]

Sorry for not following on my query on not able to boot from microSD
card on Odroid N2.
I have been trying various changes in *meson-g12b-odroid-n2.dts* most
of them related
to linking the power to tflash_vdd and tf_io nodes.

From the schematics it seems
tflash_vdd (TFLASH_VDD_EN)   vin-supply = <&vddao_3v3>;
tf_io (TF_3V3N_1V8_EN)           vin-supply = <&vcc_5v>;

but it seen some thing core is missing in Initialization of tf_io.

Below regulator_summary confirm my finding ft_io not linked to any
main regulator.

[root@alarm ~]# cat /sys/kernel/debug/regulator/regulator_summary
 regulator                      use open bypass  opmode voltage
current     min     max
---------------------------------------------------------------------------------------
 regulator-dummy                  1    2      0 unknown     0mV
0mA     0mV     0mV
    ff400000.usb                  0
0mA     0mV     0mV
    ff400000.usb                  0
0mA     0mV     0mV
 12V                              3    2      0 unknown 12000mV
0mA 12000mV 12000mV
    5V                            4    4      0 unknown  5000mV
0mA  5000mV  5000mV
       ff600000.hdmi-tx           1
0mA     0mV     0mV
       phy-ff636000.phy.0         1
0mA     0mV     0mV
       HUB_5V                     1    1      0 unknown  5000mV
0mA  5000mV  5000mV
          phy-ff63a000.phy.1      1
0mA     0mV     0mV
       USB_PWR_EN                 0    1      0 unknown  5000mV
0mA  5000mV  5000mV
          ffe09000.usb            0
0mA     0mV     0mV
    VDDAO_3V3                     3    2      0 unknown  3300mV
0mA  3300mV  3300mV
       VCC_3V3                    4    3      0 unknown  3300mV
0mA  3300mV  3300mV
          ffe07000.mmc            1
0mA  3300mV  3400mV
          FLASH_1V8               2    1      0 unknown  1800mV
0mA  1800mV  1800mV
             ffe07000.mmc         1
0mA  1800mV  1950mV
          VCC_1V8                 1    0      0 unknown  1800mV
0mA  1800mV  1800mV
       VDDAO_1V8                  1    0      0 unknown  1800mV
0mA  1800mV  1800mV
 TFLASH_VDD                       0    1      0 unknown  3300mV
0mA  3300mV  3300mV
    ffe05000.sd                   0
0mA  3300mV  3400mV
 TF_IO                            0    1      0 unknown  3300mV
0mA  1800mV  3300mV
    ffe05000.sd                   0
0mA  3300mV  3300mV

Also I could not figure out how Hardkernel (Amlogic) source code
initialize the power for regulator.
If you could share some input I will then try to debug this future.

Best Regards
-Anand

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

      reply	other threads:[~2019-07-24 17:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-25  7:43 Odroid-N2 on archlinux cannot boot on using linux-next on sd_card / emmc Anand Moon
2019-06-25  7:47 ` Neil Armstrong
2019-06-25  8:47   ` Anand Moon
2019-06-26 16:09     ` Anand Moon
2019-06-26 21:14       ` Kevin Hilman
2019-06-27 10:35         ` Anand Moon
2019-07-24 17:54           ` Anand Moon [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='CANAwSgTLDuBjBFuSTMh_AaZjWfZX=yzjTL7NxUBv-qjNjUp1zw@mail.gmail.com' \
    --to=linux.amoon@gmail.com \
    --cc=jbrunet@baylibre.com \
    --cc=khilman@baylibre.com \
    --cc=linux-amlogic@lists.infradead.org \
    --cc=martin.blumenstingl@googlemail.com \
    --cc=narmstrong@baylibre.com \
    /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;
as well as URLs for NNTP newsgroup(s).