From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Dooks Subject: Re: RFC: tegra2/tegra3 automotive part changes Date: Thu, 12 Jul 2018 16:07:15 +0100 Message-ID: <23296983-7620-617c-50a0-e3f0c971b14b@codethink.co.uk> References: <3916c0ea-964e-42ab-8bfd-8e8edc5110ee@codethink.co.uk> <62581f70-4f55-05b4-5210-221698d501c7@kapsi.fi> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8"; Format="flowed" Content-Transfer-Encoding: base64 Return-path: In-Reply-To: <62581f70-4f55-05b4-5210-221698d501c7@kapsi.fi> Content-Language: en-GB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Mikko Perttunen , linux-tegra , Device Tree list , "linux-arm-kernel@lists.infradead.org" , Thomas Preston , Terry Hu , jorgesanjuan , Beth White List-Id: linux-tegra@vger.kernel.org T24gMTIvMDcvMTggMTQ6NTAsIE1pa2tvIFBlcnR0dW5lbiB3cm90ZToKPiBPbiAwNy8xMi8yMDE4 IDA0OjM2IFBNLCBCZW4gRG9va3Mgd3JvdGU6Cj4+IEhlbGxvLCB3ZSBhcmUgbG9va2luZyBhdCB1 cC1zdHJlYW1pbmcgc29tZSBvZiB0aGUgd29yayB3ZSBoYXZlCj4+IGRvbmUgb24gdGhlIHRlZ3Jh MiBhbmQgdGVncmEzIGF1dG9tb3RpdmUgZGV2aWNlcy4gVGhlIGF1dG9tb3RpdmUKPj4gZ3JhZGUg ZGV2aWNlcyBhcmUgY2xvc2UgdGhlIGNvbW1lcmNpYWwgcGFydHMgc28gd2Ugd291bGQgbGlrZSB0 bwo+PiBkaXNjdXNzIHRoZSBjb3JlIGNoYW5nZXMgYmVmb3JlIHN1Ym1pdHRpbmcuCj4+Cj4+IFRo ZSBjaGFuZ2VzIGFyZSBtb3N0bHkgd2l0aCB0aGluZ3MgbGlrZSB0aGUgY2xvY2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12 Jul 2018 16:07:15 +0100 Subject: RFC: tegra2/tegra3 automotive part changes In-Reply-To: <62581f70-4f55-05b4-5210-221698d501c7@kapsi.fi> References: <3916c0ea-964e-42ab-8bfd-8e8edc5110ee@codethink.co.uk> <62581f70-4f55-05b4-5210-221698d501c7@kapsi.fi> Message-ID: <23296983-7620-617c-50a0-e3f0c971b14b@codethink.co.uk> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 12/07/18 14:50, Mikko Perttunen wrote: > On 07/12/2018 04:36 PM, Ben Dooks wrote: >> Hello, we are looking at up-streaming some of the work we have >> done on the tegra2 and tegra3 automotive devices. The automotive >> grade devices are close the commercial parts so we would like to >> discuss the core changes before submitting. >> >> The changes are mostly with things like the clock setup and a >> few peripheral quirks (IIRC these are mostly MMC). >> >> We are proposing to change the device-tree properties for the root >> node and any other affected devices from "nvidia,tegraXX" to a new >> "nvidia,tegraXXa". We would welcome discussion on whether to update >> all the devices at the start >> >> An example of tegra30a.dtsi: >> >> #include "tegra30.dtsi" >> >> / { >> ???????? compatible = "nvidia,tegra30a"; >> >> ???????? clock at 60006000 { >> ???????????????? compatible = "nvidia,tegra30a-car"; >> ???????? }; >> } >> >> We don't think the changes are big enough to warrant their own >> Kconfig/defconfig updates. >> > > What kind of changes do you have? Tegra30a would point to a separate SoC > revision of Tegra3 the existence of which I'm not aware of. If you can > show some of the changes it would be easier to say how the system should > be specified. I'm just working on the core clock initialisation patches as our original work was just patching the tegra20 and tegra30 clock init tables. As far as we can see the tegra30 automotive grade silicon is mostly compatible with the tegra30 but has some clock restrictions and initialisation changes. -- Ben Dooks http://www.codethink.co.uk/ Senior Engineer Codethink - Providing Genius https://www.codethink.co.uk/privacy.html