All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Scott <michael.scott-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
To: Jeremy McNicoll
	<jmcnicol-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
	Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>
Cc: Jeremy McNicoll
	<jeremymc-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
	linux-arm-msm
	<linux-arm-msm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	linux-soc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	"devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Andy Gross <andy.gross-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
	Stephen Boyd <sboyd-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>,
	Arnd Bergmann <arnd-r2nGTMty4D4@public.gmane.org>,
	Bjorn Andersson
	<bjorn.andersson-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
Subject: Re: [RFC V3 PATCH 5/7] arm64: dts: msm8994 SoC and Huawei Angler (Nexus 6P) support
Date: Fri, 14 Oct 2016 15:06:45 -0700	[thread overview]
Message-ID: <6be08daf-0ad7-7913-ee63-854d52eb6ba1@linaro.org> (raw)
In-Reply-To: <3e641d25-8ca6-3594-5d3e-038d6f7a9eba-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>



On 10/12/2016 05:42 PM, Jeremy McNicoll wrote:
> On 2016-10-12 7:20 AM, Rob Herring wrote:
>> On Wed, Oct 12, 2016 at 8:34 AM, Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org> 
>> wrote:
>>> On Wed, Oct 12, 2016 at 02:37:32AM -0700, Jeremy McNicoll wrote:
>>>> +/ {
>>>> +     model = "HUAWEI MSM8994 ANGLER rev-1.01";
>>>> +     compatible = "qcom,msm8994";
>>>> +     qcom,board-id= <8026 0>;

Hello Jeremy,

When I tested these patches on linux-next, the bootloader on my Nexus 6P 
wasn't finding the dtb until I adjusted the board-id value to <8023 0>.

Apparently, my hardware matches "Huawei Technologies, Inc. MSM8994 
Angler VN2" in the original kernel sources:
https://android.googlesource.com/kernel/msm/+/android-msm-angler-3.10-nougat/arch/arm64/boot/dts/huawei/huawei_angler_vn2.dts

I'm not sure what the most common hardware is out in the wild, but the 
board-id for your dts comes from this commit, which seems to indicate 
it's a DVT model (as opposed to a PVT model):
https://android.googlesource.com/kernel/msm/+/e9a476191862cfe8e5e30e2babc04052f9ab936b

We should definitely get a sample size of > 1

- Mike

>>>> +};
>>>
>>> This last property is undocumented, and unused.
>>
>> They are required by the bootloader which AIUI can't/won't be updated
>> to use the mainline compatible string. The alternative is leave them
>
> That is my understanding as well after talking to some QC people over
> beer the other night.
>
>> out and then you have to run the dtb thru QC's dtbTool to add them
>> which is worse IMO.
>>
>
> If there is an expectation that one has to run the dtbTool as a post
> compilation thing, in my opinion its not a good idea.  But if that is
> the path that is decided (not my personal favourite) then we should
> at least let people know somehow that they have to run this tool in
> order to boot their kernel.   (dont like that either)
>
>
> Its already hard enough to get debug serial going, or figuring out how 
> to get serial debug out.  We should make it as easy as possible for 
> people that want to contribute and help.   Google did _NOT_ lock down 
> these phones on purpose so that people can do what they want with them 
> (within reason).  The fewer barriers to entry the better.
>
>
>
>> I'd also leave them undocumented as we want to minimize their usage.
>>
>
> I agree with this and will leave policing of their usage to RobH ;-)
>
> -jeremy
>
>
>> Rob
>> -- 
>> To unsubscribe from this list: send the line "unsubscribe 
>> linux-arm-msm" in
>> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>
>
> -- 
> To unsubscribe from this list: send the line "unsubscribe 
> linux-arm-msm" in
> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2016-10-14 22:06 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-12  9:37 [RFC V3 PATCH 0/7] msm8992/msm8994: Google Nexus 5X/6P initial board support Jeremy McNicoll
     [not found] ` <1476265054-22511-1-git-send-email-jeremymc-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-10-12  9:37   ` [RFC V3 PATCH 1/7] arm64: dts: msm8992 SoC and LG Bullhead (Nexus 5X) support Jeremy McNicoll
     [not found]     ` <1476265054-22511-2-git-send-email-jeremymc-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-10-12 10:30       ` Mark Rutland
2016-10-13  4:15         ` Jeremy McNicoll
2016-10-21  8:55         ` Jeremy McNicoll
2016-10-12  9:37   ` [RFC V3 PATCH 4/7] arm64: dts: msm8992 default serial config Jeremy McNicoll
2016-10-12 13:28     ` Mark Rutland
2016-10-12  9:37 ` [RFC V3 PATCH 2/7] msm8994 clocks: global clock support Global clock support for the msm8994 SOC Jeremy McNicoll
2016-10-12  9:37 ` [RFC V3 PATCH 3/7] dt-bindings: qcom: Add msm899(2/4) bindings Jeremy McNicoll
     [not found]   ` <1476265054-22511-4-git-send-email-jeremymc-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-10-18 13:06     ` Rob Herring
2016-10-12  9:37 ` [RFC V3 PATCH 5/7] arm64: dts: msm8994 SoC and Huawei Angler (Nexus 6P) support Jeremy McNicoll
     [not found]   ` <1476265054-22511-6-git-send-email-jeremymc-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-10-12 13:34     ` Mark Rutland
2016-10-12 14:20       ` Rob Herring
     [not found]         ` <CAL_JsqLMs3cE6qne_GN-3E7c1ub_6U0y5UF0aLkxUD=k5fiOTw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-10-13  0:42           ` Jeremy McNicoll
     [not found]             ` <3e641d25-8ca6-3594-5d3e-038d6f7a9eba-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-10-14 22:06               ` Michael Scott [this message]
2016-10-17 22:15                 ` Andy Gross
2016-10-12  9:37 ` [RFC V3 PATCH 6/7] arm64: dts: msm8994 default serial config Jeremy McNicoll
2016-10-12 13:28   ` Mark Rutland
2016-10-21  8:42     ` Jeremy McNicoll
2016-10-12  9:37 ` [RFC V3 PATCH 7/7] arm64: configs: enable configs for msm899(2/4) basic support Jeremy McNicoll
2016-10-12 13:37   ` Mark Rutland
2016-10-21  8:59     ` Jeremy McNicoll

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=6be08daf-0ad7-7913-ee63-854d52eb6ba1@linaro.org \
    --to=michael.scott-qsej5fyqhm4dnm+yrofe0a@public.gmane.org \
    --cc=andy.gross-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
    --cc=arnd-r2nGTMty4D4@public.gmane.org \
    --cc=bjorn.andersson-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=jeremymc-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=jmcnicol-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=linux-arm-msm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-soc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=mark.rutland-5wv7dgnIgG8@public.gmane.org \
    --cc=robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=sboyd-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.