From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-f179.google.com (mail-pg1-f179.google.com [209.85.215.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D7A5818B46E for ; Wed, 9 Apr 2025 08:40:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.179 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744188032; cv=none; b=fcGOkXctHOMcA/0kFOstPMrzSF+phFGvhoyDFGjEPTh2pgGFNifvBg2rFuPDk1sAzraaxpZuuiAYwVPWstFVfjdei65iEwRWFySi/kfDuAF6easPk/3ApGTYuo5RqJqu4X7ssCb6w0MXXdA8qlqzPJPS3D4jxRPaSUrBwwvpcbw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744188032; c=relaxed/simple; bh=q54ISzeguJ9lPIJtvtdQyT1rx08b8j76Hf0WHg/XzKM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=s5G5Fgpxw/kr16mbkqJxCvDrlmM2QLtLVpFT6uaoqRgk1pISqEk0Az+cQ+hVbbczKLRM5Nt8mQJUsMoFV+fJrxuzLGU8cs0cq3QzMxdu6prK9+o8x3YgLogh0xvmvXihVa2aTFphkoT+XLBRBzQo5SaJcORaGSw6KYjdbG69fr0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b=O3lOgIBA; arc=none smtp.client-ip=209.85.215.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b="O3lOgIBA" Received: by mail-pg1-f179.google.com with SMTP id 41be03b00d2f7-af908bb32fdso412015a12.1 for ; Wed, 09 Apr 2025 01:40:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1744188030; x=1744792830; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=QmKa4CWZYpgoBno9ey2ENQmH1yn8Vca6Nt7aqMHaMwA=; b=O3lOgIBAWJ7/0zAqurjvRFegHs6R+gaxfxoL29AzBr9jn1WLBgWJuwvA+FwOs7Ipm6 HRA4ZR3DlI7JCIFjDLbh7rG/qP2wxU0e4wcc1sZp9/aXSd82ZtKP6G19ZcCKmx/0QfZi etusL+ld3JazZNpKve/w6c5W1TneOnwKxAhD6Rkr9AZfZ5DjgUFQEqi1lrgZtzvHfdol GuWcfu+ke5ysllj6iGVRUOtZCGWlyLJV0Yiav4MLPkXnnnZOOwUo7yth0I657sZEvFeF p+SYNaUIJ2d5QlZvWtLGSCiy+HARi/Fro/OjsOaUWi5oPlVDpzORdF1nI7mwTsQYgSRa TqvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744188030; x=1744792830; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=QmKa4CWZYpgoBno9ey2ENQmH1yn8Vca6Nt7aqMHaMwA=; b=nsKBHas6hiPHindvlze/4kCkYwMcekC0Ox/JCOo72igOYFzL6DTMT8h7jkjK7b5WVV +otAcf4vsgMODB9N8+PERoVTGtML/frDeXCzL/mYfWDWulRq70zxyoywWbVa/cR5OLtn ClW4CPNDtAuwzshSvKBPJlZxxA+2lsCnyCKApafi98GwLqjV3far7SNZfyT++vONCFUV 3RMA9dLCpDX5Wb5lI2U/cdUuIQWytJx31Lb8q6dmrOHVNBrrQO3VXuNTyrKl+67Gjvak hHTtHpE2+3FcLZwwj1tIoD1wh2GbjvU5vEA0VJw+HmaiCa+UeP72KIIZPxMI+uFBShK7 X0mw== X-Forwarded-Encrypted: i=1; AJvYcCXyPOzKm8kxc300ZRhLeJH76Y9d5MvXp0sNfKkJx01hKtEPlNPXW8Gt0RO7o+rrEalpmhz+HLJhJYA=@vger.kernel.org X-Gm-Message-State: AOJu0Yx4TDvIXsljnr3QLnOgSLJO/ytfr22/R3rjaDmOy/+U9Vr1pGvz TiXT3F1to8CZ3zMepFr2q2NCe2v9dZj4UWLbm0MhTizu4scuCpX3BS97W6R87ko= X-Gm-Gg: ASbGnct77vfGgW4tk5MCVillAr+TXWjTceAq7vEzYH7G19vIP5ikzqwxmfvPzvETr7u JVgkBjHJPGCMf7XTQI5IhhFeYqhZSCNSdUHEbxz7EjQA8/pjtQX4sv9h7UFBldg7XStT2CYnRT6 91MmcTbdICZy4vpgR6tpi9ANMMx1DDTf1occChCxurTeT2zxRK9OGRVnpkiv7eDX7FbayIB2yiJ 7FD6fABLa5jil4UJORsgZ4XxwJL/FEQhfCjtqtHLXZOGJEhso9fPotGtoW/QU2Z3TAP9GP7zNZ+ OXXW/Kxy3KduVZWtVFZNY7QdXccsfiWsP8G5JGDLAvaFdlhqLnE6N5demwfluLR9a3rtnVw2Cxo 3 X-Google-Smtp-Source: AGHT+IGsjauNZ+5/GC/nZjSunHRmkAUzg5IoFGDp2f/2A4+hPimavOQXB5e0AQHxXFkAnu0UzdWshg== X-Received: by 2002:a05:6a21:2d0a:b0:1f2:f1a8:70ca with SMTP id adf61e73a8af0-20143921c85mr8989716637.5.1744188030229; Wed, 09 Apr 2025 01:40:30 -0700 (PDT) Received: from dev-linux (syn-076-088-115-008.res.spectrum.com. [76.88.115.8]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-b02a0dee30asm691019a12.32.2025.04.09.01.40.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Apr 2025 01:40:29 -0700 (PDT) Date: Wed, 9 Apr 2025 01:40:27 -0700 From: Sukrut Bellary To: Rob Herring Cc: Michael Turquette , Stephen Boyd , Krzysztof Kozlowski , Conor Dooley , Tero Kristo , Kevin Hilman , Andreas Kemnade , linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 4/4] dt-bindings: clock: ti: add ti,autoidle.yaml reference Message-ID: References: <20250404014500.2789830-1-sbellary@baylibre.com> <20250404014500.2789830-5-sbellary@baylibre.com> <20250404194206.GA171263-robh@kernel.org> Precedence: bulk X-Mailing-List: linux-clk@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250404194206.GA171263-robh@kernel.org> On Fri, Apr 04, 2025 at 02:42:06PM -0500, Rob Herring wrote: > On Thu, Apr 03, 2025 at 06:45:00PM -0700, Sukrut Bellary wrote: > > ti,divider-clock uses properties from ti,autoidle. > > > > As we are converting autoidle binding to ti,autoidle.yaml, > > fix the reference here. > > > > Add dual license. > > Do you have rights to do so? I will keep it as is. May be Andreas can take care of this. > > > > Signed-off-by: Sukrut Bellary > > --- > > .../bindings/clock/ti/ti,divider-clock.yaml | 24 ++++--------------- > > 1 file changed, 5 insertions(+), 19 deletions(-) > > > > diff --git a/Documentation/devicetree/bindings/clock/ti/ti,divider-clock.yaml b/Documentation/devicetree/bindings/clock/ti/ti,divider-clock.yaml > > index 3fbe236eb565..aba879ae302d 100644 > > --- a/Documentation/devicetree/bindings/clock/ti/ti,divider-clock.yaml > > +++ b/Documentation/devicetree/bindings/clock/ti/ti,divider-clock.yaml > > @@ -1,4 +1,4 @@ > > -# SPDX-License-Identifier: GPL-2.0-only > > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > > %YAML 1.2 > > --- > > $id: http://devicetree.org/schemas/clock/ti/ti,divider-clock.yaml# > > @@ -55,9 +55,10 @@ description: | > > is missing it is the same as supplying a zero shift. > > > > This binding can also optionally provide support to the hardware autoidle > > - feature, see [1]. > > + feature. > > > > - [1] Documentation/devicetree/bindings/clock/ti/autoidle.txt > > +allOf: > > + - $ref: /schemas/clock/ti/ti,autoidle.yaml# > > > > properties: > > compatible: > > @@ -97,7 +98,6 @@ properties: > > minimum: 1 > > default: 1 > > > > - > > ti,max-div: > > $ref: /schemas/types.yaml#/definitions/uint32 > > description: > > @@ -116,20 +116,6 @@ properties: > > valid divisor programming must be a power of two, > > only valid if ti,dividers is not defined. > > > > - ti,autoidle-shift: > > - $ref: /schemas/types.yaml#/definitions/uint32 > > - description: > > - bit shift of the autoidle enable bit for the clock, > > - see [1]. > > - maximum: 31 > > - default: 0 > > - > > - ti,invert-autoidle-bit: > > - type: boolean > > - description: > > - autoidle is enabled by setting the bit to 0, > > - see [1] > > - > > ti,set-rate-parent: > > type: boolean > > description: > > @@ -156,7 +142,7 @@ required: > > - clocks > > - reg > > > > -additionalProperties: false > > +unevaluatedProperties: false > > > > examples: > > - | > > -- > > 2.34.1 > >