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: 13759772 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4EB12C52D7B for ; Sun, 11 Aug 2024 15:36:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=h512tKUzrukolR3pPpaZsPrCSEQtmis2nYDZ65tFXrc=; b=JPqjd6ENZjyWcrFdXNnW35J91h 9MRDEvfDgPp6EuTbxmzsd7buaDZkQeiZWPXfbbMl4RhXWbYu2R+zVX4AnvxEaKJ9VLKcF0W7sNjfn OdBYrD4wLWb9qZEkSI9gXHlIveq29aNyFn6X63nxfGNKp3QwmJc9C5VOPbISYYimUCSEKm3Bm2HGt Jbl6d5AgNtbbM9+hgC7HI6KHAPvAF8OURI5pPtFUB2N/N+rALXQaAELmQXRrcz3uFeTPXH7PSlf7w J0VZYc/VYwJLsvE7JZFAhrLSc+xOJ5H/zecd4k3SrtANv9w01/DvLQnAnfha/Inu1UH1ZKzwWQy1g tDuzQl2w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sdAbt-0000000Fkf6-0Mt0; Sun, 11 Aug 2024 15:35:57 +0000 Received: from mail-lj1-x22d.google.com ([2a00:1450:4864:20::22d]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sdAbB-0000000FkW8-3Ho6 for linux-arm-kernel@lists.infradead.org; Sun, 11 Aug 2024 15:35:15 +0000 Received: by mail-lj1-x22d.google.com with SMTP id 38308e7fff4ca-2ef2fccca2cso37403201fa.1 for ; Sun, 11 Aug 2024 08:35:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1723390512; x=1723995312; darn=lists.infradead.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=WgVJLSv7RNhBSnBL90EtwIMo7mQFM5mo5LJsRiBZDCcxp0UYn/DO2tde0t6swgWp4r luqRlVtoZNS4xaXBvEY9lax/6RNnyQlnQceRdvi3dgMbvlJKR9eOKNCyCjxTNsz67vqI np4Gkmea6LBlZMJBVYQYy7Vadn7A4rWl4qpAbdUL9MHApkKyJZo4D9wZnN4F54pgwKt0 pkYz/iqr5L5RY1oSCwz6fWGxrtsGiCNGJx9k+Dng2XMRLw1I+rghuWAPm3onNoM8m32x oAQfcWi2hh2DYrfiduL6Cy3gXgW+tuN7iienfQnxkSTUpa6gfKgXaqqv7sffItZNpv/C MPKQ== 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=bMJDXKZ/vsDlTkZfsAOiRRYyCuWVQByWdCITKK2/UwVCfgEX2ylUxZECmLSs6ua6YB RYnn+9dG3GLcsXm5lIULK8i94JH831ti6zjuZlM6ccWQGms7os3O4SpP9AYKJ2f+mjXN wYrYJEMWHXQGbexTK3j9dogBpid2SIIStaHJY/KeJd5fkGyRoxLenfoBDFnaFoUiyTFn PaWW6wRFdk+0f+7MDlpSAHMvJTiUg6UIkPrmidpWjm3zJWweMDmbyoThN4ZesSd28hDO jtfhpHgwpzCHMuGRwLnr/58ArDisrYwBqwnydChKQnkUmJXrtZdynzdiCoYwJBGN5S3l ZSXw== X-Forwarded-Encrypted: i=1; AJvYcCVJxy2D38z/j0stRh0Ib/Grq+WAx9M93uugHd4XzcOhT2XrgU6Ygt1Iv9AVT3JC92Y2x37YRNd3UY3hfpOPXfd30b2laZ9uWhlw4S/OimwqedAR9gA= X-Gm-Message-State: AOJu0YxzSw46KxvhrfM2JDh1ipdiCgVyHAxQWS1Q7MuzsQaCLv8Ui+lH ogBmYuWXb/bc0QtNXuYLJW8vT97LmW/4xgg2SJF5jn+VYflWFBlVKzn/7nhet2U= 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 Cc: Krzysztof Kozlowski 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240811_083513_844533_50C4C41D X-CRM114-Status: GOOD ( 11.00 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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>; - };