Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2536905lqz; Wed, 3 Apr 2024 00:20:14 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXY26I1JgbN4FsgblGWW7ajTiYpFM+bMEwbtXeVUaWLLJ5eGsJeBnh3IR58xBX0ztcrD0Hu9EP6AG0d+yv3L2De4BZDGROvTQFkFtUubA== X-Google-Smtp-Source: AGHT+IEJzTflawgd4EPReUGChmzz4ZpeIRa3pIT46fNAX6LlVwU3g2rA+kDHZJHFjndkIiVnn48Y X-Received: by 2002:a17:90b:2305:b0:2a2:6cb4:1670 with SMTP id mt5-20020a17090b230500b002a26cb41670mr2995938pjb.12.1712128813673; Wed, 03 Apr 2024 00:20:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712128813; cv=pass; d=google.com; s=arc-20160816; b=i7FBNZyqXLfbILSqh1FgIZ8Vx4pjutRBBorlo9OAo7JTGXBMHabQIY4HL0BodvTaG/ W6ZNfZbz+bScZYmMQgl2W5q6i3TbepXbAZz0XJzfFz+FISSD2B6Mk4YYOyloLBX4L4+j g68dsUbHWAn1C4E625czbaUfmpPTYx3zAvos1svk7hEwePYSfHOzusjonI0dUsAmUa70 yVxKwMaLqWfzo+34PCdcavYN7whjBucM8PvD4/2XTtfsXHwrdcIaR+oB6bq6mtV2Ip3R 0PfiURrk2E6WTdqTVBB6Dd5egYdkNpyDg70qO6DmiX2RKgVSyq0cQnWjGOifciXdC+9e YYRw== 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=CdsWdu2GvTItN5GazbN+3i1C2YVB/RZnYUwLLHX1mNc=; fh=FQ6AGkOvR1opCNjkQxdFdTjR+6GOK4r1lI/ZoXE2EJs=; b=ynXhhvEg4vMOXl5t2AY4o94L5oDPwUYWftUukgm6kWpWXo2lUgl0AtHb1XIeXsDZjT eAOGQyeNTL/XCFLwFbJsFrEjcLFbK9vVN6vPEcksdwS6Hh0vulUlIjOwpARUaKUBT9md aFQpVgxIVcTsWvtQfQkD5sDHvorEimasQcGa887tQAqRgB+57DJuieXYMqxe9Qw+9+dE DXOK4Oe8rBbXh3c4IGgyi/emp7TS2VZCYZXcQBVsJWzFUSAZetwTCAloKvBToiohgbTV P9A/awV4VmJoycGrG5so3WLXNI12X6HkiBy44I5E9FOcFCwLixjhfrATR9fZY7rS8pwX tWVg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ql6c7kxz; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-129146-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129146-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id bn9-20020a056a02030900b005f0996c2694si10829983pgb.621.2024.04.03.00.20.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 00:20:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-129146-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ql6c7kxz; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-129146-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129146-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 24626B216C7 for ; Wed, 3 Apr 2024 07:16:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E38475A7A3; Wed, 3 Apr 2024 07:15:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ql6c7kxz" Received: from mail-ed1-f42.google.com (mail-ed1-f42.google.com [209.85.208.42]) (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 189905B053 for ; Wed, 3 Apr 2024 07:15:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712128556; cv=none; b=lQv/ZjIUF1oAD9CZ3ZuHGoUrViNolXBmIApHapHRBoJc7MXFtVzRtZd/e9cPqgnWdxDxHz3K3D6DS19fgFpCLCc+h6LhaJXCxkskLFrDkvVSLWBIF0M6y1gixRpsrVYUds147HsPi6gTu53GAYKijBe5kSvgCBN5XKFCNrP3yr0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712128556; c=relaxed/simple; bh=sfH1fVcpMZaqkAVrXCyMTevsxR23JzU6mwY5iKqTa6c=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=dVTnyn6ZiUQn0sPyoGr+ysPy1yJVLd8ppDuN+7eqSx1+4AHtuBiM8A+exEKbvVrujaqcX0wSv/o0OIifH26FxuntPGfnkgcNZccr1ZFein2caamdtU7sAR7h1MG4Wdpb9Jpf4u2l6/ZGRPHIbH7Iux0kOnFV0SOa0SCgBMIlalY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=ql6c7kxz; arc=none smtp.client-ip=209.85.208.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ed1-f42.google.com with SMTP id 4fb4d7f45d1cf-56bdf81706aso7549803a12.2 for ; Wed, 03 Apr 2024 00:15:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712128553; x=1712733353; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=CdsWdu2GvTItN5GazbN+3i1C2YVB/RZnYUwLLHX1mNc=; b=ql6c7kxzvNH2k4rQbhT67nL2HxunmHkJJm/JaUMFyWOXM/d6hoPl0isrQcr1c3ofCK BFxJVtncmEBCWOAZDGgDbTmFw6FriNgW+2QA1yaLj2zCB6O/vx0g+D/aqH+B9bzH34zt sheL7PcN05YoQuR2hjqf1wnl7WOM2SVO56SoVQjWXp6ZHNMU2nkB9mTPwedvnvLp/3W4 EkV84Y88c3RSUDuOTKF7cSzLamdcBEtdB25xLxsKnL/EPNkPfMSq9Q1VB31MNYntTcux BAp/mANoOHIe47ZooFX7QUgh1KqocWVXHANyCqOk4v9hkFJO6sAqPCtSVRHRzvqu5ICs 4AAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712128553; x=1712733353; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=CdsWdu2GvTItN5GazbN+3i1C2YVB/RZnYUwLLHX1mNc=; b=u8z1FNyRt2DqxYj5TdU9hKP+kmisHziX7ZgaOIwyvSCTHb9n7DyNU6hzgO74g20BFU O2vl1lXefyF85YdP5fbb6dHKO9jhAL749uxeoTDRbiMfW2+bk2rK+xjC4Aou5vNJR6Ie c4chdKdohxUJ+g/+TjVtJ+WonwMqQ+UuapI6mnUoyNIwh6ILAw0vzo3Xk4w511inkSf7 08kd0bfFqwkK6VpnPIkcRmmmIsyTSgJ1pqoE++FQRCCoZAAXmFQxdHR9QhJ+223lJEkW KPIN2fUBUawoaiFIGHWZ1iFTBVzbQvCrVQcIi38QOWa6uedbCgAYS3uBNjaZQzeGRRb+ WxjQ== X-Forwarded-Encrypted: i=1; AJvYcCUJKXCCTb8zGfvYHPSOijHOJeUdwxSfD1IkXIbWfG43VyvPISjkzjImQh/7NgjKyKyN65nMfSu3Y+Kftmv7b6BsdFuT70H3LTXvlPIM X-Gm-Message-State: AOJu0Yy+TBDLz28YEvdyxHACkigoa8XUWU24OFj1W38dq8nbcRa2wsMn FYHTRPIeyn1eb1xuBl3cDf9nE78Qjb512nWxivdnehE6l3QOfQIIC+A1ZI7CCnI= X-Received: by 2002:a50:9f06:0:b0:56b:9f7c:3c32 with SMTP id b6-20020a509f06000000b0056b9f7c3c32mr1243861edf.12.1712128553425; Wed, 03 Apr 2024 00:15:53 -0700 (PDT) Received: from [192.168.1.20] ([178.197.223.16]) by smtp.gmail.com with ESMTPSA id fi8-20020a056402550800b0056c509a11acsm7592367edb.33.2024.04.03.00.15.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 03 Apr 2024 00:15:52 -0700 (PDT) Message-ID: Date: Wed, 3 Apr 2024 09:15:50 +0200 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: phy: qcom,ipq8074-qmp-pcie: add ipq9574 gen3x2 PHY To: Alexandru Gagniuc , Bjorn Andersson , Konrad Dybcio , Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: ansuelsmth@gmail.com, robimarko@gmail.com, linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240402192555.1955204-1-mr.nuke.me@gmail.com> <20240402192555.1955204-5-mr.nuke.me@gmail.com> Content-Language: en-US From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfX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m3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20240402192555.1955204-5-mr.nuke.me@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 02/04/2024 21:25, Alexandru Gagniuc wrote: > The IPQ9574 gen3x2 PHY is very similar to IPQ6018. It requires two > extra clocks named "anoc" and "snoc". Document this, and add a > new compatible string for this PHY. > > Signed-off-by: Alexandru Gagniuc > --- > .../phy/qcom,ipq8074-qmp-pcie-phy.yaml | 47 +++++++++++++++++-- > 1 file changed, 42 insertions(+), 5 deletions(-) > > diff --git a/Documentation/devicetree/bindings/phy/qcom,ipq8074-qmp-pcie-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,ipq8074-qmp-pcie-phy.yaml > index 634cec5d57ea..b0dbd2726acd 100644 > --- a/Documentation/devicetree/bindings/phy/qcom,ipq8074-qmp-pcie-phy.yaml > +++ b/Documentation/devicetree/bindings/phy/qcom,ipq8074-qmp-pcie-phy.yaml > @@ -19,19 +19,19 @@ properties: > - qcom,ipq6018-qmp-pcie-phy > - qcom,ipq8074-qmp-gen3-pcie-phy > - qcom,ipq8074-qmp-pcie-phy > + - qcom,ipq9574-qmp-gen3x2-pcie-phy > > reg: > items: > - description: serdes > > clocks: > - maxItems: 3 > + minItems: 3 > + maxItems: 5 > > clock-names: > - items: > - - const: aux > - - const: cfg_ahb > - - const: pipe > + minItems: 3 > + maxItems: 5 Just grow the list here to match ipq9574 and keep minItems: 3 > > resets: > maxItems: 2 > @@ -61,6 +61,43 @@ required: > - clock-output-names > - "#phy-cells" > > +allOf: > + - if: > + properties: > + compatible: > + contains: > + enum: > + - qcom,ipq6018-qmp-pcie-phy > + - qcom,ipq8074-qmp-gen3-pcie-phy > + - qcom,ipq8074-qmp-pcie-phy > + then: > + properties: > + clocks: > + maxItems: 3 > + clock-names: > + items: > + - const: aux > + - const: cfg_ahb > + - const: pipe Only maxItems: 3 > + > + - if: > + properties: > + compatible: > + contains: > + enum: > + - qcom,ipq9574-qmp-gen3x2-pcie-phy > + then: > + properties: > + clocks: > + maxItems: 5 > + clock-names: > + items: > + - const: aux > + - const: cfg_ahb > + - const: pipe > + - const: anoc > + - const: snoc minItems: 5 Best regards, Krzysztof