Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1321487ybg; Thu, 11 Jun 2020 06:59:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzKR4Dt4f04W+Nj1H72VKGTMDCg5e5uepyBwFm4pZSnOIchTjw4oCBkL6xeUZq05ReIgBwL X-Received: by 2002:a50:f60a:: with SMTP id c10mr7025840edn.295.1591883962300; Thu, 11 Jun 2020 06:59:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591883962; cv=none; d=google.com; s=arc-20160816; b=vugNqP+ez8gYREzcPd3huy1/+Hbpa/yG8YEVa4yfYr7CZvzWgf3Bq55En95FC0lRjs 1wFyasdYSfdX9PZYOQ9H7RD8bqE/kyqDr5G0EBAT9mAy7UUkc3/XqkX9tcBK8UmdwM48 NmtoUCjmFEwiXvBzoTq0u8FvOjeehIsJ7d22/HcaHoTf+dwHdaUMe4ilZay1hIY9OT9z maQLhHFNoogkOYSAygh1RUgTbvFi7VLQ5lIsP3its10iKpO8F0S0DEl0z7iWe7IfYSrX cgWcs01kI3f15f/nfIxgylWRsXVx5b73tagZaxMzXr/PCStYWxUUySR8P9AXIQno62ai X/pw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject; bh=HGRPoAcAvwh3L3FRLAJyq3xbNPptpJ+NnfUeauPsCSU=; b=fZ/BBpUr6JJc6lHTNwNy+EFLPRFiPzrhfJW6rwckzcHyg39KN8RXdi6wCoz+2HdCC7 Sjf7H50GixgLSbuKihtX9/Uxan2uFtlvdH62JVgwHvXe09cTOBimeXOJHeREUO6BOymA qkY5sHamXwz48R9q6wm2SkmO3iSnVsYgoK0uyGRwj3jgQkrLkvCG8hbFt42Tg/5IQzHi 4bfBIDkE4kw7nEkhKjyEHh8xVu9ADIekqlmSfQmGyP1XztAXnV3cqPTXTA3403zbNBTx 7CybVSRSy6ZESSmocCXd0jhyvLrch00yXZijfTr4abG4gnqKN3AlhzXn7sxcux21xxGq shJA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d17si1813448edz.508.2020.06.11.06.58.58; Thu, 11 Jun 2020 06:59:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727088AbgFKNyp (ORCPT + 99 others); Thu, 11 Jun 2020 09:54:45 -0400 Received: from mx2.suse.de ([195.135.220.15]:33436 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726109AbgFKNyp (ORCPT ); Thu, 11 Jun 2020 09:54:45 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 6D067AB76; Thu, 11 Jun 2020 13:54:44 +0000 (UTC) Subject: Re: [PATCH v2 5/5] ARM: mstar: Add dts for 70mai midrive d08 To: Daniel Palmer Cc: k@japko.eu, tim.bird@sony.com, devicetree@vger.kernel.org, Daniel Palmer , Rob Herring , Russell King , Sam Ravnborg , Linus Walleij , Heiko Stuebner , Maxime Ripard , Stephan Gerhold , Lubomir Rintel , Mark Brown , allen , Mauro Carvalho Chehab , "David S. Miller" , Greg Kroah-Hartman , Jonathan Corbet , Arnd Bergmann , Andrew Morton , Doug Anderson , Benjamin Gaignard , Gregory Fong , Bartosz Golaszewski , Masahiro Yamada , Will Deacon , Nick Desaulniers , Marc Zyngier , Christian Lamparter , Nathan Chancellor , Nathan Huckleberry , Ard Biesheuvel , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20191014061617.10296-2-daniel@0x0f.com> <20200610090421.3428945-6-daniel@0x0f.com> From: =?UTF-8?Q?Andreas_F=c3=a4rber?= Organization: SUSE Software Solutions Germany GmbH Message-ID: Date: Thu, 11 Jun 2020 15:54:38 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <20200610090421.3428945-6-daniel@0x0f.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org BTW I think the subject convention has been "ARM: dts: ...", with "ARM: mstar: ..." more for mach-mstar. Am 10.06.20 um 11:04 schrieb Daniel Palmer: > Adds inital support for the 70mai midrive d08 dash camera. > > Signed-off-by: Daniel Palmer > --- > arch/arm/boot/dts/Makefile | 3 ++- > .../boot/dts/mercury5-ssc8336n-midrive08.dts | 25 +++++++++++++++++++ > 2 files changed, 27 insertions(+), 1 deletion(-) > create mode 100644 arch/arm/boot/dts/mercury5-ssc8336n-midrive08.dts > > diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile > index 4a5f8075a4f6..35c7ecc52c60 100644 > --- a/arch/arm/boot/dts/Makefile > +++ b/arch/arm/boot/dts/Makefile > @@ -1344,7 +1344,8 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += \ > dtb-$(CONFIG_ARCH_MILBEAUT) += milbeaut-m10v-evb.dtb > dtb-$(CONFIG_ARCH_MSTARV7) += \ > infinity-msc313-breadbee_crust.dtb \ > - infinity3-msc313e-breadbee.dtb > + infinity3-msc313e-breadbee.dtb \ > + mercury5-ssc8336n-midrive08.dtb > dtb-$(CONFIG_ARCH_ZX) += zx296702-ad1.dtb > dtb-$(CONFIG_ARCH_ASPEED) += \ > aspeed-ast2500-evb.dtb \ > diff --git a/arch/arm/boot/dts/mercury5-ssc8336n-midrive08.dts b/arch/arm/boot/dts/mercury5-ssc8336n-midrive08.dts > new file mode 100644 > index 000000000000..4ee50ecf6ab1 > --- /dev/null > +++ b/arch/arm/boot/dts/mercury5-ssc8336n-midrive08.dts > @@ -0,0 +1,25 @@ > +// SPDX-License-Identifier: GPL-2.0 > +/* > + * Copyright (c) 2019 thingy.jp. > + * Author: Daniel Palmer > + */ > + > +/dts-v1/; > +#include "mercury5-ssc8336n.dtsi" > + > +/ { > + model = "midrive d08"; Couldn't find this on their website. Should this be "70mai midrive ..." or is "midrive" a different brand? > + compatible = "70mai,midrived08", "mstar,mercury5"; Have you considered naming it "70mai,midrive-d08" for better readability? (affects 1/5) > + > + aliases { > + serial0 = &pm_uart; > + }; > + > + chosen { > + stdout-path = "serial0:115200n8"; > + }; > +}; > + > +&pm_uart { > + status = "okay"; clock-frequency? > +}; Regards, Andreas -- SUSE Software Solutions Germany GmbH Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer HRB 36809 (AG Nürnberg)