Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A0798C3DA7D for ; Tue, 3 Jan 2023 17:59:07 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 86D518548F; Tue, 3 Jan 2023 18:59:05 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1672768745; bh=D8KYORqXNQDFO4onCjLjFoHsBH/fR4/ej3lFDIHpiRw=; h=Date:Subject:To:Cc:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=VYGDfBliidt4qm/rhG1tN7yBOniOuPiE5zkGIre1nOn+DjrwSCXNl5AJ811voiOGq rI8oHFpe8L4kxZQKegsGUaxGDcCcWWZeTWVH3BFMgC3rMN6ZCAktVnfIr+sdqHl+NJ 1doxbMHZyR2DIPACaLFVopW9XhcsJoY4HDjUftQWTDfSusRv9kU8LLEhiepdCUN84b i6OgoqLFwNMNwBU5uG37CEzl44lDoyXYmO4ckzk00fvNGsUgS12UToIHcxYpRqwbl9 iUDagJyFJIEz8rPKW+FNqb/SeU1zwfkW/kzzBncMSz/C9XZxGdH8yGvrE0asozmRoZ v1XoI9otLKuzg== Received: from [127.0.0.1] (p578adb1c.dip0.t-ipconnect.de [87.138.219.28]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id A68B284231; Tue, 3 Jan 2023 18:59:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1672768743; bh=D8KYORqXNQDFO4onCjLjFoHsBH/fR4/ej3lFDIHpiRw=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=fVD4AaZ6TF8Jafd/IsEvO3YrghW5uJbFqwuOSCMUVJqcPP4/l2nN3Q6TUcCwC0Btj YFk3BUXcwKVN4p2VQiV9ZYU47QsooEwE5CLjqYPJlU8675Kgza7UXJG2yu2eYLXvCO Thklo6+dmt1ydQNm9Pf3l+St2AyTAIerM7+CnpdCADNe/ZkL+ur9PUVSscU5NH3yEV EJlgqhO01KGWjWtxW/9kwa7pBhinreruBtIUyRTmv1+vAu5+1mOvRS22FZFtAkn5dv 52u6yGGLXUL5SCM2hovjfyqG5b9KRXSdO6xpVtRAs+POkMslYmXWMsv9X4tynDS33o TN0eLAJmSFMdw== Message-ID: <66fd7cdc-ade6-5cd5-efa1-68080a489d6b@denx.de> Date: Tue, 3 Jan 2023 18:59:02 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [PATCH v2 4/9] dt-bindings: reset: add sama7g5 definitions Content-Language: en-US To: Sergiu.Moga@microchip.com, Durai.ManickamKR@microchip.com, hs@denx.de, Eugen.Hristev@microchip.com, michael@walle.cc, Claudiu.Beznea@microchip.com, Balamanikandan.Gunasundar@microchip.com, dario.binacchi@amarulasolutions.com Cc: u-boot@lists.denx.de References: <20230103153517.99820-1-sergiu.moga@microchip.com> <20230103153517.99820-5-sergiu.moga@microchip.com> <53adec2f-b7a6-7792-0f66-73faea5c0bc4@denx.de> <1f28b439-3644-8093-3832-b2577f5be0f7@microchip.com> <0caf05db-b381-546f-088e-a1b7c5b49032@denx.de> <64154c8b-3cff-f524-350b-c7a6896ae3e4@microchip.com> From: Marek Vasut In-Reply-To: <64154c8b-3cff-f524-350b-c7a6896ae3e4@microchip.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean On 1/3/23 17:35, Sergiu.Moga@microchip.com wrote: > On 03.01.2023 17:59, Marek Vasut wrote: >> On 1/3/23 16:55, Sergiu.Moga@microchip.com wrote: >>> On 03.01.2023 17:48, Marek Vasut wrote: >>>> On 1/3/23 16:35, Sergiu Moga wrote: >>>>> Upstream linux commit 5994f58977e0. >>>>> >>>>> Add reset bindings for SAMA7G5. At the moment only USB PHYs are >>>>> included. >>>>> >>>>> Signed-off-by: Sergiu Moga >>>>> --- >>>>> >>>>> v1 -> v2: >>>>> - nothing >>>>> >>>>> >>>>>    include/dt-bindings/reset/sama7g5-reset.h | 10 ++++++++++ >>>>>    1 file changed, 10 insertions(+) >>>>>    create mode 100644 include/dt-bindings/reset/sama7g5-reset.h >>>>> >>>>> diff --git a/include/dt-bindings/reset/sama7g5-reset.h >>>>> b/include/dt-bindings/reset/sama7g5-reset.h >>>>> new file mode 100644 >>>>> index 0000000000..2116f41d04 >>>>> --- /dev/null >>>>> +++ b/include/dt-bindings/reset/sama7g5-reset.h >>>>> @@ -0,0 +1,10 @@ >>>>> +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ >>>>> + >>>>> +#ifndef __DT_BINDINGS_RESET_SAMA7G5_H >>>>> +#define __DT_BINDINGS_RESET_SAMA7G5_H >>>>> + >>>>> +#define SAMA7G5_RESET_USB_PHY1               4 >>>>> +#define SAMA7G5_RESET_USB_PHY2               5 >>>>> +#define SAMA7G5_RESET_USB_PHY3               6 >>>> >>>> Is there no reset with ID 0/1/2/3 ? >>> >>> No, there is not. >> >> Please just add a comment into the file then, explaining that. > > > Would this not make the commit different from the upstream linux commit > referenced in the commit message? Perhaps it would be better to place > this comment in the commit message instead? That works too, thanks.