From patchwork Tue Sep 12 16:38:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13381939 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 3051BCA0EEB for ; Tue, 12 Sep 2023 16:39:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=d88ZcAM7lXq6sa6nZ7XMYbOXnUbowpsi2xd9bGKglWo=; b=t6JR3zDHpx1jCD crUUb+NSA1MGx1b7FSN199T9FOmFsVcUIPM8qy/O0zoTp45ztbAj4lR6+zopOTY8cfzCJsT2BTHuv oAVGNf/jYgZEOTyYw4XqDPZXy0cO66anlKSY4JfadSI2OBW5jL84fNQzvzl96mTmvjReWwlmGmNY6 05Ob6IQRYoXiwRmP4qPMtWcmY0quUlvHZGlJzhJzBTchqwg5IWa3zG5HTGuurDWYfvvIHqjtwqZ7k uJORXxT20f8DoCQO8lzM3IV1FeAheELhQufDkLWSpqz6nsqdE2WpA49/GbuYq5+ciP0p8HWdL7Uod 8wSzeJZaLRDETvkfnggA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qg6PX-003qef-2c; Tue, 12 Sep 2023 16:38:47 +0000 Received: from mail-oo1-xc2f.google.com ([2607:f8b0:4864:20::c2f]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qg6PU-003qdu-2i for linux-arm-kernel@lists.infradead.org; Tue, 12 Sep 2023 16:38:46 +0000 Received: by mail-oo1-xc2f.google.com with SMTP id 006d021491bc7-578a49f7e57so71801eaf.1 for ; Tue, 12 Sep 2023 09:38:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694536721; x=1695141521; 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=a3xRu+YNAaBODdgaeXRLq5j+CcEvpc1L8H9RF8ulaQo=; b=QEyJVwaZsPgDBl4OhZfOpbItgMHYtx2Blh7OzJDiS2ZocjvbAQbpvpO3Te6KYHPN9Q t2S5Pkp7sIeydO99+AGztMVFqcdV3SAudeN5Fn4MF/mtjPzCpehyfnwSRPGGt9hO+glG f9elq1yuJ9EUT1csw7HiNRpTvjrs6d8sRIjvUWr3+cYBiA/G5HRP3GMEDXDpJrZXu2kn YvX6EAOmu39DPSGdJg4jJa6zdV5479gCCY18F3WJZtZzn7cW6gbWH1qM1J61QF1Lykt/ TPxSR37G2SL1ynm6QsfWh2k+UzxCP1ofZZORmKxFI9bJa0DWQJ9EOCeyncxL7QoBEXCE 04fA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694536721; x=1695141521; 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=a3xRu+YNAaBODdgaeXRLq5j+CcEvpc1L8H9RF8ulaQo=; b=l7Fe1H3OTrs16nQ02RjZt3hctjF0t2A7Sjlbo/1bu6oDp/WtOSngV+3K8SGBwa1kns 5pOcJJIPGtgcrYRuv3Dg7rNU0FPRpWTzPtgN0g4gWjzQlLqpl4t1kTbb3CwwcBbiBPFH D4dcuxH2W9S51w9tAZgqu5JWNjttD46MNClyzeHbUX3BZiGCQ+dgwFFLSKF1IRQ2vQ2N q18STUew4nWhGI9tYoYr7OFILnYVpjQh0aeqyD18HR5vknVQkMDx4+/hjHdgBHXM6huZ wWR5lHPFTKTkzvQCvgKjZpYHcRbwUf78r2q/o0P0jcW+HPM55z2cbfBupCIHl7X14KEq LBGw== X-Gm-Message-State: AOJu0YykoVFNaRwBlP8buflXaw3ASB05tpaI/++3fQzI2B/hJQL6c46o H3bCIoC9PCoEajRv0u28fo8= X-Google-Smtp-Source: AGHT+IHEyDy54+csWJetTPUbx8mAityAJ+V61r74welMAlw+I8u8beU6kLbhkV9IcEAcSiFnyzfwhQ== X-Received: by 2002:a05:6820:80e:b0:576:8c96:15a2 with SMTP id bg14-20020a056820080e00b005768c9615a2mr186436oob.1.1694536720871; Tue, 12 Sep 2023 09:38:40 -0700 (PDT) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:676a:5a77:75a8:efc8]) by smtp.gmail.com with ESMTPSA id v4-20020a4aad84000000b00565fbd0d4c0sm4012426oom.28.2023.09.12.09.38.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 09:38:40 -0700 (PDT) From: Fabio Estevam To: shawnguo@kernel.org Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, mirela.rabulea@nxp.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, alexander.stein@ew.tq-group.com, Fabio Estevam Subject: [PATCH v3 1/3] dt-bindings: imx8-jpeg: Add clocks entries Date: Tue, 12 Sep 2023 13:38:08 -0300 Message-Id: <20230912163810.1750488-1-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230912_093844_878171_1A545328 X-CRM114-Status: GOOD ( 12.10 ) 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 From: Fabio Estevam The JPEG decoder/encoder present in iMX8QXP and iMX8QM SoCs need the PER and IPG clocks to be functional, so add the clock entries. This also fixes the following schema warning: imx8qm-apalis-eval.dtb: jpegdec@58400000: 'assigned-clock-rates', 'assigned-clocks', 'clock-names', 'clocks' do not match any of the regexes: 'pinctrl-[0-9]+' from schema $id: http://devicetree.org/schemas/media/nxp,imx8-jpeg.yaml# Signed-off-by: Fabio Estevam --- Changes since v2: - Remove clock-names. (Mirela) .../devicetree/bindings/media/nxp,imx8-jpeg.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/media/nxp,imx8-jpeg.yaml b/Documentation/devicetree/bindings/media/nxp,imx8-jpeg.yaml index 3d9d1db37040..3383a275c94a 100644 --- a/Documentation/devicetree/bindings/media/nxp,imx8-jpeg.yaml +++ b/Documentation/devicetree/bindings/media/nxp,imx8-jpeg.yaml @@ -31,6 +31,9 @@ properties: reg: maxItems: 1 + clocks: + maxItems: 2 + interrupts: description: | There are 4 slots available in the IP, which the driver may use @@ -49,6 +52,7 @@ properties: required: - compatible - reg + - clocks - interrupts - power-domains @@ -56,12 +60,15 @@ additionalProperties: false examples: - | + #include #include #include jpegdec: jpegdec@58400000 { compatible = "nxp,imx8qxp-jpgdec"; reg = <0x58400000 0x00050000 >; + clocks = <&img_jpeg_dec_lpcg IMX_LPCG_CLK_0>, + <&img_jpeg_dec_lpcg IMX_LPCG_CLK_4>; interrupts = , , , @@ -76,6 +83,8 @@ examples: jpegenc: jpegenc@58450000 { compatible = "nxp,imx8qm-jpgenc", "nxp,imx8qxp-jpgenc"; reg = <0x58450000 0x00050000 >; + clocks = <&img_jpeg_enc_lpcg IMX_LPCG_CLK_0>, + <&img_jpeg__lpcg IMX_LPCG_CLK_4>; interrupts = , , , From patchwork Tue Sep 12 16:38:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13381940 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 35B23CA0EEB for ; Tue, 12 Sep 2023 16:39:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=yPdL7kbY15qYtFNp3x6klLb2/BJBeoHQhVvMSv45oiI=; b=JmPeRZxR/uCbka G+cX04Ka0G/xkQt9TnPJ8Fh4+PgUGvcoqw9qeaUeZgXTRMIqWJWZLvpCrKTXbRR1twSlXLX+wGCq0 Mmi6QmO/7yMtiT2FDwGb0PY6SMTHA5WLC0zUysj05o5t/HNSp8zjcDh3hAYF82wHRrJphJGr1tSma gZ7Tg6/vXLfT/3A7zTN6alG0CNB/oZ41G4BIrRTn/UlNbzEWj6fDiim/pXre9y/A9EqouRagh9aYC Ae17sbfnd9WceeidiDuhnMia+XZVoc6Ol8Rw8D5uEybMiCGdfjNRsh5CFs6NSGgkyevhKRsAYdJzs b8op1GaM2uholNIwf5gg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qg6Pc-003qfX-1Q; Tue, 12 Sep 2023 16:38:52 +0000 Received: from mail-ot1-x334.google.com ([2607:f8b0:4864:20::334]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qg6PX-003qe3-21 for linux-arm-kernel@lists.infradead.org; Tue, 12 Sep 2023 16:38:48 +0000 Received: by mail-ot1-x334.google.com with SMTP id 46e09a7af769-6bc9353be9bso996172a34.1 for ; Tue, 12 Sep 2023 09:38:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694536724; x=1695141524; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Ntmraty7RCGdlp+9Fn5GfraYT+3p91f6Gjw03F9RwZw=; b=eaAs00mByctliBYITt6wCUDYk6f9rDBowaI53EL8fU8/bVWHPLucxjyCryjgEunqRJ KyXKN6a8kOfIqTSOTdM0WtIpEHyVRSb+a1jz78Ix1crdgx9EaAGkhtxwIwdtL6pTcqHL SNu4S4eBOTH8RPtt6wvFZa4MXh0FXxygZxRnIJIQ15x7JzTxQaWDH9ttlNaS6fntIQVi mz6Bv469XHUpI8p/xUtZEuuxR51nvCQpaWnqXMViY2+HcBxuacCSy/IfvYKkajbNewSS zkx1njzx/d777LzePrJAwj+SK3XrYQjqTJi/YCuEaqCbh5fbt1L1dHPTuHRTLgb0j8CJ WwzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694536724; x=1695141524; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Ntmraty7RCGdlp+9Fn5GfraYT+3p91f6Gjw03F9RwZw=; b=Kd5MxmB/Oy3vxiroABZBBoEoGUMfLgkyZVebbFqT2d1NimlJ3lyZk8WrSNI7Fy5Yui YQidRbF5NIYKLJVqzNf2VuOvs4P/yKY2ys+MYWqMZk56WHWXFtCXBTMiRk1vnD6FEoAd wblQ23+vW7XEclbwYwhdLb2aMofgnb7iKikOYwHj7xkHPKczf41u6W4F5Ih37fs8dgP7 OUqiWek6FxlSCyE2pyoKiV8Hj8OkMsdRpJnCHiZLL8i6hnyTLm6riWGFqxUVM7OPRIct P1+0Kuq5mGOGwbwgnJYsdjG2WLBVyl0Y1bYsQD/Z7A3dsdZeUeEF6vTkXtdyMABlFDky PSKg== X-Gm-Message-State: AOJu0YySHxPpIfRM/D1fvdet61qbW3yK6lGHB1o34fOWoDseOa2DFLWv Ufem7x0zuIOmFnJTsUkn3ck= X-Google-Smtp-Source: AGHT+IHewzAWyBhHF69ssOaL6A9g/nywD1ArRD0MNX53utMk5mwqr00WJUZjb+ARqw1KbMM6pQXGZA== X-Received: by 2002:a4a:d24b:0:b0:576:8e04:2875 with SMTP id e11-20020a4ad24b000000b005768e042875mr191422oos.0.1694536724171; Tue, 12 Sep 2023 09:38:44 -0700 (PDT) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:676a:5a77:75a8:efc8]) by smtp.gmail.com with ESMTPSA id v4-20020a4aad84000000b00565fbd0d4c0sm4012426oom.28.2023.09.12.09.38.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 09:38:43 -0700 (PDT) From: Fabio Estevam To: shawnguo@kernel.org Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, mirela.rabulea@nxp.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, alexander.stein@ew.tq-group.com, Fabio Estevam Subject: [PATCH v3 2/3] arm64: dts: Remove JPEG clock-names Date: Tue, 12 Sep 2023 13:38:09 -0300 Message-Id: <20230912163810.1750488-2-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230912163810.1750488-1-festevam@gmail.com> References: <20230912163810.1750488-1-festevam@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230912_093847_662256_F9A46EDE X-CRM114-Status: GOOD ( 10.22 ) 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 From: Fabio Estevam Per nxp,imx8-jpeg.yaml, the clock-names entry is not valid. Remove them. Signed-off-by: Fabio Estevam --- Changes since v2: - Newly introduced. arch/arm64/boot/dts/freescale/imx8-ss-img.dtsi | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8-ss-img.dtsi b/arch/arm64/boot/dts/freescale/imx8-ss-img.dtsi index a90654155a88..39577071e1d3 100644 --- a/arch/arm64/boot/dts/freescale/imx8-ss-img.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8-ss-img.dtsi @@ -24,7 +24,6 @@ jpegdec: jpegdec@58400000 { ; clocks = <&img_jpeg_dec_lpcg IMX_LPCG_CLK_0>, <&img_jpeg_dec_lpcg IMX_LPCG_CLK_4>; - clock-names = "per", "ipg"; assigned-clocks = <&img_jpeg_dec_lpcg IMX_LPCG_CLK_0>, <&img_jpeg_dec_lpcg IMX_LPCG_CLK_4>; assigned-clock-rates = <200000000>, <200000000>; @@ -43,7 +42,6 @@ jpegenc: jpegenc@58450000 { ; clocks = <&img_jpeg_enc_lpcg IMX_LPCG_CLK_0>, <&img_jpeg_enc_lpcg IMX_LPCG_CLK_4>; - clock-names = "per", "ipg"; assigned-clocks = <&img_jpeg_enc_lpcg IMX_LPCG_CLK_0>, <&img_jpeg_enc_lpcg IMX_LPCG_CLK_4>; assigned-clock-rates = <200000000>, <200000000>; From patchwork Tue Sep 12 16:38:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13381941 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 B86B9CA0EEB for ; Tue, 12 Sep 2023 16:39:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=JTKtJLxCFUICyjNnp542TesvPn9ec/QDUDl0fl9MliI=; b=mokaDbVxMDHEbt b7gPn23fZoXwlxMmTSRJOjEoOT1cfppCXm4AUtHKMTDLZ7U1loGlG6tgYmstLg0ULqcLGtiV003BF gzfFPKRFdfFMREtCFqW0itp+rP2OA5g0p1aOcauws3Ahh55JTn5V9pJHkrJ6gohlqgIEsV0taFwEt MITrJLQxiwht3HlXf7+XX7WmDQRqKz1SIfFU/gjOnSMFP0wE6mD8lzqSjphtAisu9Q5meNGVm2OmV 8187tyu114ppYZA5jz7y0ozIUraPt1emWAGtPr/LjiabUhBSo1U3b5te7ToG7R83tiV/dllHW3Lzy QFSkNSaxaGqnlfX2sw/g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qg6Pc-003qfo-32; Tue, 12 Sep 2023 16:38:52 +0000 Received: from mail-oo1-xc34.google.com ([2607:f8b0:4864:20::c34]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qg6PZ-003qet-0W for linux-arm-kernel@lists.infradead.org; Tue, 12 Sep 2023 16:38:50 +0000 Received: by mail-oo1-xc34.google.com with SMTP id 006d021491bc7-5711d5dac14so1364929eaf.0 for ; Tue, 12 Sep 2023 09:38:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694536728; x=1695141528; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=SjDlRrjusxUUcs454HKD0+tVuSKKZVW9rE0qHM9bc8Q=; b=b/A/D21njSnP2CaFN8h5NWv4FxsgyP8YTyIrF/3u+WyMEaT/3qpjmHUywBl6NY9WbS Y6FBAL8mLCmMH29t+cB8ZKNpB3/8sQpUxjzvYTQIHqHsXPM0QkmufuJnJ7JC03J/dieC 62WMpEQe5BDv62o5G6YIxJ5S4qe7wiixBtHXQuMyvhbCvVKIcvDkfsPBEq1P+XckYhlq 2atahn0qEB4GbVW1tMXLob+Jf1uihk7GhgiF68+5ql5bEXHC+VgZhS0crY2OoMY0SGUi nJHyVPKUfMpsl+Yd7U6eRtkKBfuEB8zVyB2QKekDEc+zmZlvBtT5E1uvvIqqlLQ4+S+d Mqxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694536728; x=1695141528; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=SjDlRrjusxUUcs454HKD0+tVuSKKZVW9rE0qHM9bc8Q=; b=GAB7pK27LWHyEOel4lB3UJKk9efh6AGaulmUqpLwik7G57cCkPs8hj+zgaxs5pEZwg WI55wkMwp1nI5jO9TvVs+QECGTMWC+HqymSsULzrGf8FzHVZnR1DrLh2yWP0SvYIKW+1 j1DEBeV4didRyEV4ynrg+ZJMADh7D/2mFIL6CqMJWS6MofkkBfynzPrglONysmeGyJUy IUI43K9kx+R97G43TMxkQLu3QkZLEAZFq0+Y4rvTN29Qn64b9BvyolhJD9PKB6GHqi6V wfW+GRzSNi2hDyxMpw5G/dFn+8ScFAISscW1BRVHG4FbeIgcyy+MYdHRdgmcLTbNoqGz 0v7A== X-Gm-Message-State: AOJu0YzAkFdYjmY/qnPcTc9/qquY5+218dSsvRD2m3tldOcbvWetcYGM mN5vPJfm2l+R2TGiPslnys4XAPBpm+8= X-Google-Smtp-Source: AGHT+IHsnNmBGUTTVsGDxBuTITVmkJ+ICU2N/g0CJYOtM5+FwE3qa8OaSW1RcLO3eHBsIUOnOxXjsA== X-Received: by 2002:a05:6820:616:b0:578:a06a:5d8f with SMTP id e22-20020a056820061600b00578a06a5d8fmr169373oow.1.1694536727899; Tue, 12 Sep 2023 09:38:47 -0700 (PDT) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:676a:5a77:75a8:efc8]) by smtp.gmail.com with ESMTPSA id v4-20020a4aad84000000b00565fbd0d4c0sm4012426oom.28.2023.09.12.09.38.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 09:38:47 -0700 (PDT) From: Fabio Estevam To: shawnguo@kernel.org Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, mirela.rabulea@nxp.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, alexander.stein@ew.tq-group.com, Fabio Estevam , Krzysztof Kozlowski Subject: [PATCH v3 3/3] arm64: imx8qm-ss-img: Fix jpegenc compatible entry Date: Tue, 12 Sep 2023 13:38:10 -0300 Message-Id: <20230912163810.1750488-3-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230912163810.1750488-1-festevam@gmail.com> References: <20230912163810.1750488-1-festevam@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230912_093849_198113_4473328B X-CRM114-Status: GOOD ( 12.92 ) 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 From: Fabio Estevam The first compatible entry for the jpegenc should be 'nxp,imx8qm-jpgenc'. Change it accordingly to fix the following schema warning: imx8qm-apalis-eval.dtb: jpegenc@58450000: compatible: 'oneOf' conditional failed, one must be fixed: 'nxp,imx8qm-jpgdec' is not one of ['nxp,imx8qxp-jpgdec', 'nxp,imx8qxp-jpgenc'] 'nxp,imx8qm-jpgenc' was expected 'nxp,imx8qxp-jpgdec' was expected Fixes: 5bb279171afc ("arm64: dts: imx8: Add jpeg encoder/decoder nodes") Signed-off-by: Fabio Estevam Reviewed-by: Mirela Rabulea Reviewed-by: Krzysztof Kozlowski --- Changes since v2: - Collected Reviewed-by tags. arch/arm64/boot/dts/freescale/imx8qm-ss-img.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8qm-ss-img.dtsi b/arch/arm64/boot/dts/freescale/imx8qm-ss-img.dtsi index 7764b4146e0a..2bbdacb1313f 100644 --- a/arch/arm64/boot/dts/freescale/imx8qm-ss-img.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8qm-ss-img.dtsi @@ -8,5 +8,5 @@ &jpegdec { }; &jpegenc { - compatible = "nxp,imx8qm-jpgdec", "nxp,imx8qxp-jpgenc"; + compatible = "nxp,imx8qm-jpgenc", "nxp,imx8qxp-jpgenc"; };