Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp262727pxb; Thu, 14 Jan 2021 05:29:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJwXslGzIaOnWqPIVifKyW653MUU+UUBniJouwd4ofsP7DQRQk17ozgxI0daYbfaoujs2nnW X-Received: by 2002:aa7:c3cf:: with SMTP id l15mr5957382edr.282.1610630958957; Thu, 14 Jan 2021 05:29:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610630958; cv=none; d=google.com; s=arc-20160816; b=mEPCVYvaaJvEqIOg54B9syNrohxojrZKaP3Y3KlCKp+w3+WL67tSEdsZ76sW7lUs0N h/22s8fXiPHSQufIN8Vt2uy3eEa+EYAa7fE97E00KSx5xkX3Bekyr2h0FY2j4DN+GzAn 5iJ1hSaIZ+P/9+yOx7M7llF7SrBGrc5X4krB5cX7UU7ZEykYUnGN+uQuqZAXCh6+fxls YZ7hlwm4iIh5XGhoE/pvDrHFwxBAx9QNb3HWvpqEadlrl6a57eFyhtPgTrk6BtzUPsEq sSFd3xgrTRXHSVtg+3lsdZqWL4wRty3I2wK5Og4Z5xX4TzOao9+mluV6UBujnr+EmxL3 87hA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:ironport-sdr:dkim-signature; bh=VBVXAUHXiFjpap7g4YLVnfqunfXHD+kJL/Yh1bQL3m8=; b=1E+FdtWf5AlxUhJR2fDTyQAmR9UlDv0VwzTOov0G02IP2/4e9HYJAeyWYkqmffEb6e VRoMnzfS9IJLBaUMInC/aaO+xAQU3k1MCgHcPfgtMjX+p0hc7G5czDi/siuFJlT/avQ0 lf5ihgmGlxjP1jzHCXHbGlSGz3FaQLvGXq0ZZZgiAFiJ9OP4iM1IwB0mefPB2prJXwNy qzxES0br1s2qhThnXhUHaB8jJTFFutvB/wn5tGQTicrO8DZ1u4XHmiatYWDL6A7Y7ufK iDmmmyPRCVK9AmJBt5igfN1g4BIUOr2obUuLa5ZKRLQDDf6VQxEZAEi75RMe/9fuUA80 5mRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=Nrhx9MW1; 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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dc18si2608756edb.76.2021.01.14.05.28.54; Thu, 14 Jan 2021 05:29:18 -0800 (PST) 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; dkim=fail header.i=@microchip.com header.s=mchp header.b=Nrhx9MW1; 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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728875AbhANN1Q (ORCPT + 99 others); Thu, 14 Jan 2021 08:27:16 -0500 Received: from esa.microchip.iphmx.com ([68.232.153.233]:46881 "EHLO esa.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725878AbhANN1P (ORCPT ); Thu, 14 Jan 2021 08:27:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1610630835; x=1642166835; h=message-id:subject:from:to:cc:date:in-reply-to: references:mime-version:content-transfer-encoding; bh=Lxcchmlm8obu3rlFf5uFKJiK+GEdYu44ZP1HH6VEu0A=; b=Nrhx9MW1tvHUF3jfkYeegLYzahZdfCAyrlI6oHUmPYsbRpXqa5DCJpJL 0ij5VIDwp0IPVCEMT+WKF7WiKrOJe3/pCsOAO5fOWpiJ3LXItpJHpgRJ4 zvFFMWN0oMw0Brv7tR0o6PZ9zY0S0viM8zRO5OE+p8RLOS0xdHtqfFm9z CqKZMw0OySSEJYF13d6CO33e7Z6sn+MPtm6NpoNIJNEbDZhMVzuN8TmQ9 0XEogWYfa8BLE5DPnmKSXrNDSB+zm7t0UuNm5REXwBzDgR5WGYxSASEiP +h82tUqfSCgRQsqbHkZPYrw/yjopKGGAvUZIxZdGpCx1lW/MUWvx7EQQr Q==; IronPort-SDR: HS83lwaP6ijJaUvp1aN1KbgF8STYQ5+aTFT8pX7xB14EikaZUu4n6lI4Vwkw5hfiLw2vD4Iiym /716B0oD02hyloapviCb9KSbKhn/UDdpYekkrcardj4jwgKjRMDIiqfX1zBivl+qksOq26SXEc CgRDudCe7rsMFyfWSPVsC6xxbjwHabPqktzASzzQIy7w2YDCt3CRtUtGh1/OVR8nVVsJWjwFnr /KWzW8ATlfZZMCKEIn3BWzr37cEXQw+o3eXpNATgPbGZM/178WJCvd35+gJBL+97XqmlM6QXtF OEY= X-IronPort-AV: E=Sophos;i="5.79,347,1602572400"; d="scan'208";a="111032907" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa1.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 14 Jan 2021 06:25:57 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1979.3; Thu, 14 Jan 2021 06:25:57 -0700 Received: from tyr.hegelund-hansen.dk (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.1979.3 via Frontend Transport; Thu, 14 Jan 2021 06:25:55 -0700 Message-ID: Subject: Re: [PATCH 1/3] dt-bindings: reset: microchip sparx5 reset driver bindings From: Steen Hegelund To: Philipp Zabel , Rob Herring CC: Microchip Linux Driver Support , "Alexandre Belloni" , Gregory Clement , , , Date: Thu, 14 Jan 2021 14:25:54 +0100 In-Reply-To: <80d4d9b16628847c59a7f94a7c002d8ce859b0ca.camel@pengutronix.de> References: <20210113201915.2734205-1-steen.hegelund@microchip.com> <20210113201915.2734205-2-steen.hegelund@microchip.com> <80d4d9b16628847c59a7f94a7c002d8ce859b0ca.camel@pengutronix.de> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Philipp, On Thu, 2021-01-14 at 10:39 +0100, Philipp Zabel wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you > know the content is safe > > Hi Steen, > > On Wed, 2021-01-13 at 21:19 +0100, Steen Hegelund wrote: > > Signed-off-by: Steen Hegelund > > --- > >  .../bindings/reset/microchip,rst.yaml         | 52 > > +++++++++++++++++++ > >  1 file changed, 52 insertions(+) > >  create mode 100644 > > Documentation/devicetree/bindings/reset/microchip,rst.yaml > > > > diff --git > > a/Documentation/devicetree/bindings/reset/microchip,rst.yaml > > b/Documentation/devicetree/bindings/reset/microchip,rst.yaml > > new file mode 100644 > > index 000000000000..b5526753e85d > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/reset/microchip,rst.yaml > > @@ -0,0 +1,52 @@ > > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > > +%YAML 1.2 > > +--- > > +$id: "http://devicetree.org/schemas/reset/microchip,rst.yaml#" > > +$schema: "http://devicetree.org/meta-schemas/core.yaml#" > > + > > +title: Microchip Sparx5 Switch Reset Controller > > + > > +maintainers: > > +  - Steen Hegelund > > +  - Lars Povlsen > > + > > +description: | > > +  The Microchip Sparx5 Switch provides reset control and > > implements the following > > +  functions > > +    - One Time Switch Core Reset (Soft Reset) > > + > > +properties: > > +  $nodename: > > +    pattern: "^reset-controller@[0-9a-f]+$" > > + > > +  compatible: > > +    const: microchip,sparx5-switch-reset > > + > > +  reg: > > +    maxItems: 1 > > + > > +  "#reset-cells": > > +    const: 1 > > + > > +  syscons: > > +    $ref: "/schemas/types.yaml#/definitions/phandle-array" > > +    description: Array of syscons used to access reset registers > > +    minItems: 2 > > The order seems to be important in the driver, so this should specify > which is the CPU syscon and which is the GCB syscon. I'm not sure if > it > would be better to have two separately named syscon properties with a > single phandle each. Yes you got a point. I will change that. > > regards > Philipp BR Steen