Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2484640lqt; Mon, 22 Apr 2024 12:01:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU7ScB2JrV3LStMltuSVf5q8QM++yjw220+hZPi2EDXidW1jxcBBVro8ECoQTY2fyq0tOkiaHuUPOnv4jyo78ay+tTZAHz8EXQUcEx7QQ== X-Google-Smtp-Source: AGHT+IE/ZeaFKFfhvugJRFOYRmBjcVIBWFb9krBALkM8QWTy6pZ+jPK0Z1Y+8KvO4efVjEwfyZir X-Received: by 2002:a17:90a:fb89:b0:2a5:2be6:3ff5 with SMTP id cp9-20020a17090afb8900b002a52be63ff5mr9306449pjb.21.1713812493676; Mon, 22 Apr 2024 12:01:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713812493; cv=pass; d=google.com; s=arc-20160816; b=kDX/BVOq698JQb8VdOULHIkva1fCufSadjuoEw3HnLMStVMM2e7oGTdAPq/TTf8Kzo i4sk00eROqpql9j+SvCde3B0tVLoFbfvdpaFqFoTDQxm63tU3BpJPGQ4Srk73CMrHO/v pgFW0WqeUf3cJTzcW/XVB9O8Gxw2E5qVuoWTTdGPLnrmi4RJv5tQ/BKQ8ZWe17R0PyZJ BiOcKwjRhX9K6AQcP+no0kX9v9jyCoVve5eTzd7J8T/EqrwpYDWvbredfX7lOa4vnIMf LUwdtd0zQR+R02b/aHjPnURRs6Q1zKHOpR6g9vKdQHz9F7oH0vpLx792FFvcLhbWeK0n onPw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=L5kzskFgMAlt+sf4dc6NATeKvo0TVUxNFW30+QZbNv4=; fh=lYeUsOeK8j3/nj/hQePRuLhN18nLoH9/p+nJDYas9AY=; b=ypHKqFvrXYxZ4HX//8k8f3mIjNyonV3lQipX74fO+HFYlqR+ePUneg03X3ssxTaRlW mwGRXAN0mtmO1lmcmzqiI9x+bZJ+nFQjC/ZUDkc95n+Nq+pUrwGi4RxL7xtS7voYezVL HX2Tl4WohveiJCrThrPYKviln+xt6DuOqkdcK/2pPJzpN1DhHDN1tSHNnDGAbBqrdbjN czuTSnRhnr/HdIP4oJaB3HZWxHEtMMpk4egR8YRN/QX+DuCWSVlKVAFlT38Kb0zexRBT WcqUFNJk8LsJyyCq9LO0z1iHoqTkpChOaUZFjFo4J5HbiVzvd5Zct6OIzllD0SJWVYqM 4/Aw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@lechnology.com header.s=default header.b=HluOYFE7; arc=pass (i=1 spf=pass spfdomain=lechnology.com dkim=pass dkdomain=lechnology.com); spf=pass (google.com: domain of linux-kernel+bounces-153872-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-153872-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id h21-20020a17090ac39500b002a2243ed622si9854139pjt.123.2024.04.22.12.01.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 12:01:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-153872-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=fail header.i=@lechnology.com header.s=default header.b=HluOYFE7; arc=pass (i=1 spf=pass spfdomain=lechnology.com dkim=pass dkdomain=lechnology.com); spf=pass (google.com: domain of linux-kernel+bounces-153872-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-153872-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 6AB45287880 for ; Mon, 22 Apr 2024 18:50:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 32FE01552F2; Mon, 22 Apr 2024 18:47:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=lechnology.com header.i=@lechnology.com header.b="HluOYFE7" Received: from vern.gendns.com (vern.gendns.com [98.142.107.122]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 02A3A15442C; Mon, 22 Apr 2024 18:47:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=98.142.107.122 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713811623; cv=none; b=pPy6w7FutFBWDn9v7bxoa2SSDfw1PbFQr81JiZEgar0osU7nZxJEhRbqtKIIUXnYTLez0gNzGKxit9R3CeKW+OWeKPuG7jhWVoynAVgVML3tSQa637bO8wcpFcKqmivs4gmj9xAsvA6FFUaY7QZAeC/QO46QqNKISrBODEdTylE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713811623; c=relaxed/simple; bh=7DbwX/PviFN7M1PW7ebtzi0VSvjqv2voy9Qkj96KIUg=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=A0VNSoUb3ExL12S7Cguj2oFuZ1mHd/lN2pN03JbmF1qqj7CZqUSjH6hsTA0NLg/6972v3DaL7rLHqN59Ryqmn5gzidPmfMrAsG1H+S0rfw2pqRHYfrBOdZrU8iDmUfCofhAH3CbkBDZK2z17p2OkdP6HKvsnp3/3150NHmE4suA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lechnology.com; spf=pass smtp.mailfrom=lechnology.com; dkim=pass (2048-bit key) header.d=lechnology.com header.i=@lechnology.com header.b=HluOYFE7; arc=none smtp.client-ip=98.142.107.122 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lechnology.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lechnology.com DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lechnology.com; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=L5kzskFgMAlt+sf4dc6NATeKvo0TVUxNFW30+QZbNv4=; b=HluOYFE7np7DfRwZaGmV9rQnSb 53+GkT1ijwTAQwVzrlj0SBtz6vF7UxLVsW2OhDRbyZgh75G0be2zldU8XX6Nt5OOMuR98i4frRp1j Tu1ad/8wEwBpeP18X3E/D7KZTpQGe3mflnAZcRTyqMP3xWSkTXxUanAIQKqQ1UJp9eJXhgkf9Dr+/ WkMpZahs/6TwZcYYY6i9tc3v1ILXia/6kVzCC3KikY+rYrBATOOKo+Cd//hIdAzUVmIXlB/bvmvzx iey+1q6auWfMNMqWsvC7HgDjWdnnJNxBOSA+nt2OseD1RBeQdso8MXldYN2xmpZLh2pPD4kxEhAiQ IJvhlPuQ==; Received: from ip98-183-112-25.ok.ok.cox.net ([98.183.112.25]:58238 helo=[192.168.0.142]) by vern.gendns.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96.2) (envelope-from ) id 1ryyMo-000480-2k; Mon, 22 Apr 2024 14:25:54 -0400 Message-ID: <4cf5f463-dccd-4637-b7ce-e8d8eac044b7@lechnology.com> Date: Mon, 22 Apr 2024 13:25:52 -0500 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 5/7] dt-bindings: counter: Update TI eQEP binding To: Judith Mendez , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Catalin Marinas , Will Deacon , William Breathitt Gray Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org References: <20240418221417.1592787-1-jm@ti.com> <20240418221417.1592787-6-jm@ti.com> Content-Language: en-US From: David Lechner Autocrypt: addr=david@lechnology.com; keydata= xsFNBFFxkZ8BEADXzbnj9t8XSZYxKJGHdHqYgEBVzRElb3+f11qhDZKzVCMsn1+AN+PlHqC7 VrCWLsWTSY7WsHB2fW3aXaoidtac5FYoX2IXAun1Sbv15NcBdapImkMv6zxhAyWz6LqPfdCp QV+3x6qwUPFeLHdmew8mkSq56qTFgDQr9oQhsrXKHkXFD7aIAf5bM6janQCHgGTVDraRDfEO rV9rj7Wu/SfjUCVSCvW/SuWBa3IXTLNgbrNwBfo7Pl/tHuto0jxkVCIJ6J3xa85BKMw1WjA+ jKzh12S6KWrLUfhEUt64G9WJHiZOnVAjxgCR7TUahVM2OQHcp49ouG/JZsGNniulXH4ErA2O Wt6seUEx8XQIm48H96RWgKrwKJ+1WoLEmUcYOJDZUcguMZVc3Astx8aSaRjf6IRBO8XlJSJV OorkguvrTQBZJfjoicuFx7VlpdMggMZayv0cqEvzZMSHUt8DCUG74rLhtab9LCg/9wdCwqyE JEi/8jaV7JWxwiCmzVpw0mHn1DiUlp5kapZT+Hart0Gc1WW915psA4G6KneisFM5DJe+S5mn dUJb5IttTOx37jQQi2igwlSBdSC/M+Zy3sb+DXYJUVjVxK56RGAnlSvjHU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37Ms1gYayeCzA2iCDuKx6Zk ybHg7IzNEduqZQ4bkaBpnEt+vwE3Gg5l4dAUFWAs9qY13nyBANQ282FNctziEHCUJZ/Map6T dzHWO6hU1HuvmlwcJSFCOey8yhkt386E6KfVYzrIhwTtabg+DLyMZK40Rop1VcU7Nx0M In-Reply-To: <20240418221417.1592787-6-jm@ti.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vern.gendns.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lechnology.com X-Get-Message-Sender-Via: vern.gendns.com: authenticated_id: davidmain+lechnology.com/only user confirmed/virtual account not confirmed X-Authenticated-Sender: vern.gendns.com: davidmain@lechnology.com X-Source: X-Source-Args: X-Source-Dir: On 4/18/24 5:14 PM, Judith Mendez wrote: > Update eQEP binding for TI K3 devices. It would make more sense to have this patch first in the series before the dts changes. > > Signed-off-by: Judith Mendez > --- > Documentation/devicetree/bindings/counter/ti-eqep.yaml | 10 +++++++--- > 1 file changed, 7 insertions(+), 3 deletions(-) > > diff --git a/Documentation/devicetree/bindings/counter/ti-eqep.yaml b/Documentation/devicetree/bindings/counter/ti-eqep.yaml > index 85f1ff83afe72..11755074c8a91 100644 > --- a/Documentation/devicetree/bindings/counter/ti-eqep.yaml > +++ b/Documentation/devicetree/bindings/counter/ti-eqep.yaml > @@ -14,19 +14,23 @@ properties: > const: ti,am3352-eqep > As Krzysztof hinted, it sounds like we need to add new compatibles here and have some -if: statements to account for the differences in SoCs rather than making the bindings less strict. > reg: > - maxItems: 1 > + minItems: 1 > + maxItems: 2 > > interrupts: > description: The eQEP event interrupt > maxItems: 1 > > clocks: > - description: The clock that determines the SYSCLKOUT rate for the eQEP > + description: The clock that determines the clock rate for the eQEP > peripheral. > maxItems: 1 > > clock-names: > - const: sysclkout > + maxItems: 1 In hindsight, this is not the best name. Since we only have one clock we don't really need the name anyway, so for the new compatibles, we could set clock-names: false. > + > + power-domains: > + maxItems: 1 > > required: > - compatible I see that the CFG0 syscon register on AM62x has some control knobs for the EQEP so it would be good to add this to the bindings now too to try to make the bindings as complete as possible. (I didn't look at other chips so the same may apply to others as well.)