From patchwork Sun Aug 11 15:35:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 1971355 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=zEkJ75tb; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=linuxppc-dev-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WhhYh4Pzbz1yYl for ; Mon, 12 Aug 2024 01:35:36 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=zEkJ75tb; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4WhhYg0tL7z2yKD for ; Mon, 12 Aug 2024 01:35:35 +1000 (AEST) X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=zEkJ75tb; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=linaro.org (client-ip=2a00:1450:4864:20::22e; helo=mail-lj1-x22e.google.com; envelope-from=krzysztof.kozlowski@linaro.org; receiver=lists.ozlabs.org) Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4WhhYN1Zgwz2xFq for ; Mon, 12 Aug 2024 01:35:17 +1000 (AEST) Received: by mail-lj1-x22e.google.com with SMTP id 38308e7fff4ca-2f1798eaee6so34069871fa.0 for ; Sun, 11 Aug 2024 08:35:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1723390512; x=1723995312; darn=lists.ozlabs.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=h512tKUzrukolR3pPpaZsPrCSEQtmis2nYDZ65tFXrc=; b=zEkJ75tbY+OvnrkOWwOjtWpSYI2d04dthBB6T85rABeG26avwduic6vDvYKdB1zKiy 15LP7tw8VCJbIUMLARR7xrRB+RBtX3mUSO62HbV1/W6tbhejMphQ6rxs+KVGllmiLDkw du8mhegrSDOximCk/qFEXPEFx7b6oz5XJWwZRoTNuqDMalacuSg4XHsFz9UZ82wGMByE OodUsIUrt6zeoATkUL4y/MXX4nvWtOLEyDP9zSwlIrZFtBA9s1a/B7bgDElMAPZO0bF/ flAxBnIRQPYLsYzh+9mxcOlHIstM+dCX4xhUqI2LW62asITTC/RqN2hANhGAGoy6L+Dw XZZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723390512; x=1723995312; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=h512tKUzrukolR3pPpaZsPrCSEQtmis2nYDZ65tFXrc=; b=I7A4h3+JmCnCs0hylK0/fi72pC9BerIHtTldpDunEPxQyMNzovPI6f1v44rPl+Sqdq xbCXGY8IWpK8dnUblHmB20DILqOnVGyTdlEBLgel9kDctRnZ2uCjXbsASuMck1sqOQIM /wbo8ETEscYE8w4nG4nHqhjBnG3lSCxyIrvs8hiOORE+r1THHHQbcxdBaFQA2lBA51z5 w2F7LR7G2LJX1kHjlEXLTYnwwUbZvgQAn8TvrZjd28KqMSbdJKmcs2LtVqjue2AxqEjp qPd0WLYjOe1uEXvfCCj4QDRpF6cVl6JtRU+DWv60gL+OecylJ9n6kNtX4nSDNpWQzasi 14FQ== X-Forwarded-Encrypted: i=1; AJvYcCWSfgAnyfJpjfaXFgCWRXmWYd3BtBdpvc/oIOhHa4vBlCaS+SAgK7h9gRUUassOEBjWKYGQIlRjhsg+bcC8cdgFvHqD0jIGSo+QhIVNbA== X-Gm-Message-State: AOJu0YyeYsllQxCErHAS8E547Jm0dsDhavfdPNUSc0XxUMdnAhHSmmXg Q3LYkymqQLgUpF3K7o0GO5HEN9HtZSZNMVXtXHP7PN8l9eLd8mcO4BIT2OD7btE= X-Google-Smtp-Source: AGHT+IElBSdZkuVW6lgNALLxjJCeoQbC1iMNNU5r3lu53hIis8YE+kgaeavVnIQrSshX/1V7GzgJ9Q== X-Received: by 2002:a2e:611:0:b0:2ec:1810:e50a with SMTP id 38308e7fff4ca-2f1a6d3201amr44316581fa.32.1723390511583; Sun, 11 Aug 2024 08:35:11 -0700 (PDT) Received: from krzk-bin.. ([178.197.219.137]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4290c72d69esm158276625e9.5.2024.08.11.08.35.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Aug 2024 08:35:11 -0700 (PDT) From: Krzysztof Kozlowski To: Christophe Leroy , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Frank Li , linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] dt-bindings: fsl: fsl,rcpm: fix unevaluated fsl,rcpm-wakeup property Date: Sun, 11 Aug 2024 17:35:07 +0200 Message-ID: <20240811153507.126512-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Krzysztof Kozlowski Errors-To: linuxppc-dev-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" Drop the RCPM consumer example from the binding (LPUART device node), because: 1. Using phandles is typical syntax, thus explaining it is not needed in the provider binding, 2. It has 'fsl,rcpm-wakeup' property which is not allowed by LPUART binding so it causes dt_binding_check warning: fsl,rcpm.example.dtb: serial@2950000: Unevaluated properties are not allowed ('fsl,rcpm-wakeup' was unexpected) from schema $id: http://devicetree.org/schemas/serial/fsl-lpuart.yaml# Alternatively, this property could be added to LPUART binding (fsl-lpuart.yaml), but it looks like none of in-tree DTS use it. Fixes: ad21e3840a88 ("dt-bindings: soc: fsl: Convert rcpm to yaml format") Signed-off-by: Krzysztof Kozlowski Reviewed-by: Frank Li Acked-by: Conor Dooley --- .../devicetree/bindings/soc/fsl/fsl,rcpm.yaml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/soc/fsl/fsl,rcpm.yaml b/Documentation/devicetree/bindings/soc/fsl/fsl,rcpm.yaml index a7db0aad2b25..03d71ab930d7 100644 --- a/Documentation/devicetree/bindings/soc/fsl/fsl,rcpm.yaml +++ b/Documentation/devicetree/bindings/soc/fsl/fsl,rcpm.yaml @@ -80,17 +80,8 @@ additionalProperties: false examples: - | #include - rcpm: global-utilities@e2000 { + global-utilities@e2000 { compatible = "fsl,t4240-rcpm", "fsl,qoriq-rcpm-2.0"; reg = <0xe2000 0x1000>; #fsl,rcpm-wakeup-cells = <2>; }; - - serial@2950000 { - compatible = "fsl,ls1021a-lpuart"; - reg = <0x2950000 0x1000>; - interrupts = ; - clocks = <&sysclk>; - clock-names = "ipg"; - fsl,rcpm-wakeup = <&rcpm 0x0 0x40000000>; - };