From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) (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 BF5B41531C8 for ; Sat, 22 Feb 2025 16:45:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740242762; cv=none; b=cPULSwBPkv/ocKdmoQC5yCLZRx8oqSTFfEh5dP/LZxNMdb3ZeSENakUPKX6Fb56fsB1BeouFVjGq5ENxLHebJ7/Rn7NbnIGFxC3ZrTCCLgJ73jBLadeHL1YIjtcJ0aSvWylJQ3BVNRz8t8fH4n4VbXMjfw5s25A4O4muYmWukqE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740242762; c=relaxed/simple; bh=HbhOkf5va9izRWN4DhX+2ILrR2FahUcR5Ju840IsDmk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=LylGDSKNX0b3PYeFn8Drvd0qXXVK0asEhwcsIs3qn8+Cj0+CfI74kALFJxMNuthuSaM7R02KSh4P1Se4z5+uBdNjsJO5TSvlAzQD3OC05Q7qgm7ty43AkBW7GUR1JOGwel/Oc79kcIsIEB+FyAQ9zFaN0JpTC2mdLSx+GMmFfaA= 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=K2Hk913w; arc=none smtp.client-ip=209.85.214.173 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="K2Hk913w" Received: by mail-pl1-f173.google.com with SMTP id d9443c01a7336-220d132f16dso48869245ad.0 for ; Sat, 22 Feb 2025 08:45:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1740242759; x=1740847559; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=npHEnlQklkIzG9S0yPJOdrGcjNp3Yqbn0DwAvN51LJ8=; b=K2Hk913wBWdCBXJqs6hHfxZNdbIiuQUPwSwJmT7Kdm63TTmkBCl1WUjoUGthjPHROg g7akvXbrEZyPAdB+ucrMT7O3oO2m/kkuKMwFbpvTpn0n3ABdJEHsOMiBk81hlef+DXkw lXoLq783N+ORHeFd9yZqcVCVkL0pcWHGBCfTX1o1TP4nHtDbBYnGs6LhDeVsx3ZvXNuF TkA01w2pMKEOvu94UF/ExX2OoEte+n+IXyqGaY4kwKmjabZnNTJtR9jZqlbpDt7z3Ei7 X87oaIrrYDJ/RoF5yj0edUUngeI5Rdws8qHOsCz5/RqYeREXBXkNc+J4VUtjHkC24WRa txig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740242759; x=1740847559; h=in-reply-to:content-transfer-encoding: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=npHEnlQklkIzG9S0yPJOdrGcjNp3Yqbn0DwAvN51LJ8=; b=dUqY3TahuS4j4w3rr5oXLH1zv4OVwzs3EcLJ8OxGO7utlZ6xmkFqhyT+Xs2R981PaH jrYkpI5mFaHvZwnFpxTapJW3ToEANd4oUAIv9H0QyUawqFNn794dsdBeY2T1i602sGcV 8ZR/g9tkl/UZnH50aI9aqfGJHqQ6crm9jW6c10JIeZU3FtxBGLOCckg+oFcB77rGp3PZ ak0JrkpRanLUamCA0ZOzqMNI6k7Z1msD6Kt6EMJQPWL8ylvP0K+G5T8PI1Ghc2djOkn9 ED+7Y5Hjp5LDIDVLdwt7omx+a9Tfj/x1CImIhY5cseO71qQTXRN7h5JF/AmXCFzGY14Q W25g== X-Forwarded-Encrypted: i=1; AJvYcCUaGx/Y1k63+agp1FN6CNHTciap8NUSnxsLWrZZePc6yt3hgXbigOPETdZmzGSbP7AKsfh7qQcLX+zfb3k=@vger.kernel.org X-Gm-Message-State: AOJu0YzQETmeQNBZnPcd0zNkg8986/eNcoqQV5mpoDHRTuLoRVZHQg5c GxUTrrHYGVEZqwZnYTVMgPEn6t1WeezObC3r8tPmw8u16z55E0AN0BkcwDNbUg== X-Gm-Gg: ASbGncuDTVhtfhmHMoj9An8LIbypmfCt1Aa4gfwclBExyyliXa/oQPaeyljHI7Uaf4K Vo/O8gykHDMrKhB6N7I6KU7HmsoEY4AHI46+9rAotvmaY92zb1MsEtzvBJaAxWQUpNCDRI0n9m5 6FI4shYPMGHBNM2Z4d9ESD1Jnn03oDDueYc7jM2aSNkJZcaUI9Um9Q96FiDlMBzO5vTGBW0Lm4j 1jlkBdNrYqzscEsaIHBpbO+ya1nKYjzwUbS5j26u+vp//FraqSN/gwEpPDlrSnwpBHC64sEdLT9 VTz2t7oWH7DPgzgt2LuPVHi0BiaMaxPBZqvdGw== X-Google-Smtp-Source: AGHT+IEAg9fXG3M0fKnjbzdl5VZ4lVQEn0XTGMRwRl+F+PVh6Z/VGrlb+f87puQR4ZYwRqZLtT0tTg== X-Received: by 2002:a17:902:f550:b0:220:e63c:5b13 with SMTP id d9443c01a7336-2219fff4ef2mr110406945ad.46.1740242759049; Sat, 22 Feb 2025 08:45:59 -0800 (PST) Received: from thinkpad ([120.60.135.149]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-220d545d09esm152627855ad.112.2025.02.22.08.45.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 22 Feb 2025 08:45:58 -0800 (PST) Date: Sat, 22 Feb 2025 22:15:50 +0530 From: Manivannan Sadhasivam To: Dmitry Baryshkov Cc: Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Rob Herring , Bjorn Helgaas , Krzysztof Kozlowski , Conor Dooley , Mrinmay Sarkar , Bjorn Andersson , Konrad Dybcio , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 2/8] dt-bindings: PCI: qcom-ep: describe optional IOMMU Message-ID: <20250222164550.smiisjruiyyket6u@thinkpad> References: <20250221-sar2130p-pci-v3-0-61a0fdfb75b4@linaro.org> <20250221-sar2130p-pci-v3-2-61a0fdfb75b4@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20250221-sar2130p-pci-v3-2-61a0fdfb75b4@linaro.org> On Fri, Feb 21, 2025 at 05:52:00PM +0200, Dmitry Baryshkov wrote: > Some of Qualcomm platforms have an IOMMU unit between the PCIe IP and > DDR. For example, SA8775P specifies the iommu alththough it is not a > part of bindings. Change the schema in order to require the IOMMU for > SA8775P and forbid it from being used on SDX55 (SM8450 will be handled > in a later patch). > > This fixes the following warning: > > pcie-ep@1c10000: Unevaluated properties are not allowed ('iommus' was unexpected) > > Fixes: 9d3d5e75f31c ("dt-bindings: PCI: qcom-ep: Add support for SA8775P SoC") > Signed-off-by: Dmitry Baryshkov Reviewed-by: Manivannan Sadhasivam - Mani > --- > Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml > index 0c2ca4cfa3b190b3fb204f0d7142370734fb3534..6075361348352bb8d607acecc76189e28b03dc5b 100644 > --- a/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml > +++ b/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml > @@ -75,6 +75,9 @@ properties: > - const: doorbell > - const: dma > > + iommus: > + maxItems: 1 > + > reset-gpios: > description: GPIO used as PERST# input signal > maxItems: 1 > @@ -162,6 +165,7 @@ allOf: > maxItems: 2 > interrupt-names: > maxItems: 2 > + iommus: false > > - if: > properties: > @@ -234,6 +238,8 @@ allOf: > interrupt-names: > minItems: 3 > maxItems: 3 > + required: > + - iommus > > unevaluatedProperties: false > > > -- > 2.39.5 > -- மணிவண்ணன் சதாசிவம்