From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DAF88C33CB1 for ; Tue, 14 Jan 2020 11:17:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BC12424672 for ; Tue, 14 Jan 2020 11:17:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729384AbgANLRI (ORCPT ); Tue, 14 Jan 2020 06:17:08 -0500 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:55547 "EHLO relay2-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725956AbgANLRI (ORCPT ); Tue, 14 Jan 2020 06:17:08 -0500 X-Originating-IP: 90.65.102.129 Received: from localhost (lfbn-lyo-1-1670-129.w90-65.abo.wanadoo.fr [90.65.102.129]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id C419540008; Tue, 14 Jan 2020 11:17:04 +0000 (UTC) Date: Tue, 14 Jan 2020 12:17:04 +0100 From: Alexandre Belloni To: Claudiu.Beznea@microchip.com Cc: robh+dt@kernel.org, lee.jones@linaro.org, mark.rutland@arm.com, Nicolas.Ferre@microchip.com, Ludovic.Desroches@microchip.com, radu_nicolae.pirea@upb.ro, richard.genoud@gmail.com, a.zummo@towertech.it, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, linux-rtc@vger.kernel.org Subject: Re: [PATCH v3 4/7] dt-bindings: atmel-usart: remove wildcard Message-ID: <20200114111704.GN3137@piout.net> References: <1578997397-23165-1-git-send-email-claudiu.beznea@microchip.com> <1578997397-23165-5-git-send-email-claudiu.beznea@microchip.com> <20200114104237.GM3137@piout.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 14/01/2020 11:10:14+0000, Claudiu.Beznea@microchip.com wrote: > > > On 14.01.2020 12:42, Alexandre Belloni wrote: > > EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe > > > > On 14/01/2020 12:23:14+0200, Claudiu Beznea wrote: > >> Remove chip whildcard and introduce the list of compatibles instead. > >> > >> Signed-off-by: Claudiu Beznea > >> --- > >> Documentation/devicetree/bindings/mfd/atmel-usart.txt | 7 +++---- > >> 1 file changed, 3 insertions(+), 4 deletions(-) > >> > >> diff --git a/Documentation/devicetree/bindings/mfd/atmel-usart.txt b/Documentation/devicetree/bindings/mfd/atmel-usart.txt > >> index 699fd3c9ace8..778e8310606a 100644 > >> --- a/Documentation/devicetree/bindings/mfd/atmel-usart.txt > >> +++ b/Documentation/devicetree/bindings/mfd/atmel-usart.txt > >> @@ -1,10 +1,9 @@ > >> * Atmel Universal Synchronous Asynchronous Receiver/Transmitter (USART) > >> > >> Required properties for USART: > >> -- compatible: Should be "atmel,-usart" or "atmel,-dbgu" > >> - The compatible indicated will be the first SoC to support an > >> - additional mode or an USART new feature. > >> - For the dbgu UART, use "atmel,-dbgu", "atmel,-usart" > >> +- compatible: Should be one of the following: > >> + - "atmel,at91rm9200-dbgu", "atmel,at91rm9200-usart" > >> + - "atmel,at91sam9260-dbgu", "atmel,at91sam9260-usart" > > > > All the uarts are not dbgus, so this need to be: > > > > - "atmel,at91rm9200-usart" > > - "atmel,at91sam9260-usart" > > - "atmel,at91rm9200-dbgu", "atmel,at91rm9200-usart" > > - "atmel,at91sam9260-dbgu", "atmel,at91sam9260-usart" > > Ok! > > > > > Also, you need to update drivers/soc/atmel/soc.c > > OK. Did you refer to CIDR, EXID registers? They are at the same offsets as > for the old products. So we can rely on old compatible for them. Is this OK? > Then, what is the point of adding microchip,sam9x60-dbgu ? -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com