From patchwork Fri Sep 30 13:35:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 610946 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp1536741pvb; Fri, 30 Sep 2022 06:48:31 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4xP03CIdjiWUDgOJZFwfBeYOVg0rV2XhTpBY5QVCuph/PUReci8z2WdeteLA2Moqd8LC3D X-Received: by 2002:ac8:5b03:0:b0:35c:db06:fb3f with SMTP id m3-20020ac85b03000000b0035cdb06fb3fmr6670447qtw.523.1664545711048; Fri, 30 Sep 2022 06:48:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664545711; cv=none; d=google.com; s=arc-20160816; b=x+bQsGILh0BTEP2f36AKAtRdOaI8t21xIvTaLJ2UtspXZdywCDbsgWyjHuwp8VEIbH TcMFp9N+oTLA0Au9Q+wHD8mDtxzsfSDhQ+jsWsAobQVLVVS8RfIAcGvahzruP/JKi0PN vx9bEpqsKIGs6Z+zkQEN1864KwV4K7VM4vpZm4TJnHH5O7V9V8BjPhNDAVvlXnlk9vw3 IW54a35u/hCeApUyzQKbsrs7WUHj3r9Veo9HBNuArNoKbMEsXwisHJYy3ZEsItlSyPh+ jSqjOe7eiCyrngqgA/aUkEC8qEC4siFApTMWyYcxYIMcMIPTN1N/AgzLUuWV2MZbOajY 7yiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=c+FYVmj0JEyf0MfnmUSKTWHaE3vpV75V3WufrP8RknE=; b=kWqV0JdpF1gxUvxuR4SSBYpS/iuHBBNAzcyUFKPDrHbf782iFH9CZwD4anoKWzChfl Wi9GiYKA1vDFE8+f8mLPe/rJmWfIsP5TZ+z+I2PLNw7B5kJUGGA3FyDF6A0CgeLU6hY/ 2YWDJt1OAIVpZO4Q9FoZTDM7BFbZaQEbpiYsaUwziY3LuOGWp/GIworRSDa5ckqdGxiR nDm1qqeBMeu+swNduNztjkqW6bZpKXRCrC3KUWwo3KkxNrJ+dMN/+cVDSQqXscviX8Rn DIsp1Lqpznewi245S7M33/ATXut+VwB6ro34z+w4C9/Xd0wgASWVlLEcbicmCNfaR/nj eYhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=y8U8iaSI; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id h15-20020a05620a400f00b006bb5c2c817bsi1414894qko.497.2022.09.30.06.48.30 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 30 Sep 2022 06:48:31 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=y8U8iaSI; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:47822 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oeGNS-0005ne-GN for patch@linaro.org; Fri, 30 Sep 2022 09:48:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51880) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeGAo-0000GK-TY for qemu-devel@nongnu.org; Fri, 30 Sep 2022 09:35:26 -0400 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]:41556) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oeGAk-0006Vw-G9 for qemu-devel@nongnu.org; Fri, 30 Sep 2022 09:35:26 -0400 Received: by mail-wr1-x42c.google.com with SMTP id r6so6900918wru.8 for ; Fri, 30 Sep 2022 06:35:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date; bh=c+FYVmj0JEyf0MfnmUSKTWHaE3vpV75V3WufrP8RknE=; b=y8U8iaSI72QCuJuIz1uL/WKFmpJDBIxQZxGn/MTH6byzgzaRH2AbkeTJ5XgbfrwFOE vzNB7yu5FZrnhiv1GlgAiqaNoVusgPdWyuc0koprKr5vcMPrqlmUqnPSuk9PlHg4Ndjn hHWYA9Ca6Rmy93WU8/Lm8TZ7NMjO2KA+7dgDgt3o8Whw1CjV9l8P/XLmLQ2HyHSENYq5 6ofq4u9rCmWgG5tVnnnFQmNTYiNvG1WXfA4FTsU0qqWPixS/ulCzUAuGqFpIen/h0aqV 5gUA7cFGdhSlBS3M6rLswYyuAJcFatpph+FjjcjYdkS57X+z58lQEhRAeadUlXN2+Ubj uWJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date; bh=c+FYVmj0JEyf0MfnmUSKTWHaE3vpV75V3WufrP8RknE=; b=uELLOSafRW+YsR+aK+jHGkdYN5spXvC/eRULR1OAStE5UgIWTnLBMwh3O9X0vV/iHb 4e/Adj7dhHVW0E9jl3li829XH96x/uNWJ/0tnliUrYpQxlVOKMRCYD/t8WpYdqFeW2Zm +Xu4ZXcJdD4cj0OLFlBqyDMjYOKPPllQ4vJsEr+T5imNLHBYJuKymO64FisXYHf8/fLd X+SxDVjsjUjaPMjNwB57yWh8xwa9mbUnYq+EcMUG1cRc5jiPwzMkHFF08CqYXjWEyTZh UfqhCGx5sTml2PTC/qsYveiTXwwBTumZ3PhdNnyg2S8/QeKd/mA9uLyQVCNKhPzUqpx4 oQlw== X-Gm-Message-State: ACrzQf2navrjfhDBfNT1zZzxKzFCsD/uXp/SUTlr/G/V1zBRQron2Ran R/Auu3By4VnWFa4XxYuKU0tjw5JznlHt6g== X-Received: by 2002:a05:6000:69d:b0:22a:fa56:86b9 with SMTP id bo29-20020a056000069d00b0022afa5686b9mr5944894wrb.193.1664544921074; Fri, 30 Sep 2022 06:35:21 -0700 (PDT) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id q12-20020adfcd8c000000b0021e4829d359sm1982551wrj.39.2022.09.30.06.35.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Sep 2022 06:35:20 -0700 (PDT) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 09/10] hw/arm/virt: Fix devicetree warning about the SMMU node Date: Fri, 30 Sep 2022 14:35:10 +0100 Message-Id: <20220930133511.2112734-10-peter.maydell@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220930133511.2112734-1-peter.maydell@linaro.org> References: <20220930133511.2112734-1-peter.maydell@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42c; envelope-from=peter.maydell@linaro.org; helo=mail-wr1-x42c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Jean-Philippe Brucker The SMMUv3 node isn't expected to have clock properties (unlike the SMMUv2). Fix the corresponding dt-validate warning: smmuv3@9050000: 'clock-names', 'clocks' do not match any of the regexes: 'pinctrl-[0-9]+' From schema: linux/Documentation/devicetree/bindings/iommu/arm,smmu-v3.yaml Signed-off-by: Jean-Philippe Brucker Reviewed-by: Peter Maydell [PMM: tweaked commit message as suggested by Eric] Reviewed-by: Eric Auger Message-id: 20220927100347.176606-7-jean-philippe@linaro.org Signed-off-by: Peter Maydell --- hw/arm/virt.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/hw/arm/virt.c b/hw/arm/virt.c index b67ba0f2a10..cda9defe8f0 100644 --- a/hw/arm/virt.c +++ b/hw/arm/virt.c @@ -1361,8 +1361,6 @@ static void create_smmu(const VirtMachineState *vms, qemu_fdt_setprop(ms->fdt, node, "interrupt-names", irq_names, sizeof(irq_names)); - qemu_fdt_setprop_cell(ms->fdt, node, "clocks", vms->clock_phandle); - qemu_fdt_setprop_string(ms->fdt, node, "clock-names", "apb_pclk"); qemu_fdt_setprop(ms->fdt, node, "dma-coherent", NULL, 0); qemu_fdt_setprop_cell(ms->fdt, node, "#iommu-cells", 1);