Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp1679940lqz; Mon, 1 Apr 2024 13:44:53 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUIylOR7TH3ie488FGTYT8tHbGwHd6EQlaKccL/RU254dO9rj14h8g/p/jJ6phOZ32HSy1YeDNGXyHiQym/cYPpEsJV3+34RMiazEP7Zg== X-Google-Smtp-Source: AGHT+IHFPJQHm8CnD21VTGklPa7V6F9AyjljcuWWVLu3oo6XQQBOR5tkV5v2IUnF9q4rfGZmf6I3 X-Received: by 2002:ac2:4add:0:b0:513:d5ec:afb with SMTP id m29-20020ac24add000000b00513d5ec0afbmr8139971lfp.40.1712004293661; Mon, 01 Apr 2024 13:44:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712004293; cv=pass; d=google.com; s=arc-20160816; b=GCHaB9W5tXAcqTZtwopoNMl7ZexV2pX5zExkyjNKSpyDz8Keal+9qwuLjKOdlL/tyI dVuOwsenspZcf9V/bTIoPE52BR+BnRJQo65ffnhlGCZBctX+WXb9cFH+1T92xjbNwGat jUEH4xUYh0VFjajOIZrshbYqiWzNNDhJ8zpWCBVba/bkZqTRLPbsMgHDYY/xt6KQRpWT A4PC7DHsZmbNxJmtcqplepwehrVDvB2WDaKYCo+ZjY0SzFHl/1287TguTfifQBTbGVnl KTGYMcb70CrSk6GBLxW7nwptn7oJw4yAfl8Hb/BT/s/qCCHAsg4om3sPhnzDd8Lth7tb 7TWw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=wUIMuzt0Aime/2DTg8hfHtownbRAQnQ54pSXIfN0psk=; fh=VfZwI0CIbeqScy/0IlosJrlzcPh262y9zVcvHTr6Zok=; b=XNlqTAzCvauN6tQbsgw2dRRSX78krdOMMzWLS8lVJys5pTQ8OVJydTD7UPCPGFolS7 T3/gJe/9kwNpGi6cm8trYVytTr0aImmFkwYFie4FoSwXrDyrDlU5sQ9ipsFBszspQf3e 1XDEDSDwyabRu+HGlykfXJP2PJGz7g1ixMSKszxfg1S/ZnG5g2ZinZdxdVoGrlUwLwdE Ir0zC+iaIpCyJOqDkQG8yPJOecUnlYA8n1HyYe868XLamp16g2EO+j2yeRBwEBv4eW4Z iOjTk6ZzHwI+dQVJASIRb/abdkqRo+agi/5/5LqsOa4+3QQc/STJQ/6DBOTp65CGS485 cVLA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=IdUfLDKO; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-127046-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-127046-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id b16-20020a17090636d000b00a4635b643afsi4680325ejc.985.2024.04.01.13.44.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Apr 2024 13:44:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-127046-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=IdUfLDKO; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-127046-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-127046-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 348D01F222E9 for ; Mon, 1 Apr 2024 20:44:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 146FC54780; Mon, 1 Apr 2024 20:44:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="IdUfLDKO" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 393B029CFA; Mon, 1 Apr 2024 20:44:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712004283; cv=none; b=FD5WJKTe2apmOT3XYNfETZnuHRBR/C4qMfIyw6RZ8r3FnjZhImA6P4cYomZwJRSfNmJp1Aq3zw3UkDQPf7HzORbC9YuJ/oE4X5IXXzUiTS4xUnpnpi0VnCPb5B6OApfCUoGdYJYRytXff+LvU3gEoohYA6QrctihyCQQfrt7qZ8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712004283; c=relaxed/simple; bh=VVC52MCSMpHW2Q5JNIbH9ASpsjq2s/1rwQrg66hgqU0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=l5X+MdWBjZxPCncjLAn4oKhLfgDA9ZhAhxpp/DcZ0RRsJl+mhqzK4Y1yxy6bPGiCZmeHm3r98szfF7rfDPHcCZ9gZpPMw7pWSfDJCaTkY6LIFzD1DTxJMmAi+4KuBF9dFLSIgzt4qpomCcf9SWRzrht2BMJaCD+2HGQbh71xWMs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=IdUfLDKO; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9C93CC433F1; Mon, 1 Apr 2024 20:44:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712004282; bh=VVC52MCSMpHW2Q5JNIbH9ASpsjq2s/1rwQrg66hgqU0=; h=From:To:Cc:Subject:Date:From; b=IdUfLDKOz0fjUNbZPxGNFtaTkVLTNUMzPeafgY8xENuPsHc+FqNXK8Ph0PrEOvEJQ qb7NiG2TLMLsTpt62YkzJpwLc9e/etfCXPk8i2JhBTLS+H18UaAgOZSKWB9T1CgWBi RpPbzJhBV40CyFVWZBH9OfycK57Sav6w8W1Vf9KWlOoP84n4necekWijMb7XG8MfOt 0mfI327V9aP8htlaYKjtbkmciQjVo9sIvJBieLWtsULUBTHR4SRKEkTD6cFo9x63tB qrQlaLopXn81ilQ8Kzex8vM+edDTplZIgbMpgYTJU/vGRCnMndQ+XSjwgxoQrHc+pC dmr3B3xr1au0A== From: Rob Herring To: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Krzysztof Kozlowski , Conor Dooley , Alexandre Torgue , Giuseppe Cavallaro , Jose Abreu Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next] dt-bindings: net: snps,dwmac: Align 'snps,priority' type definition Date: Mon, 1 Apr 2024 15:44:22 -0500 Message-ID: <20240401204422.1692359-2-robh@kernel.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 'snps,priority' is also defined in dma/snps,dw-axi-dmac.yaml as a uint32-array. It's preferred to have a single type for a given property name, so update the type in snps,dwmac schema to match. Signed-off-by: Rob Herring --- Documentation/devicetree/bindings/net/snps,dwmac.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/Documentation/devicetree/bindings/net/snps,dwmac.yaml index 6b0341a8e0ea..15073627c53a 100644 --- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml +++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml @@ -242,7 +242,8 @@ properties: type: boolean description: Multicast & Broadcast Packets snps,priority: - $ref: /schemas/types.yaml#/definitions/uint32 + $ref: /schemas/types.yaml#/definitions/uint32-array + maxItems: 1 description: Bitmask of the tagged frames priorities assigned to the queue allOf: - if: @@ -393,7 +394,8 @@ properties: $ref: /schemas/types.yaml#/definitions/uint32 description: max read outstanding req. limit snps,priority: - $ref: /schemas/types.yaml#/definitions/uint32 + $ref: /schemas/types.yaml#/definitions/uint32-array + maxItems: 1 description: Bitmask of the tagged frames priorities assigned to the queue. When a PFC frame is received with priorities matching the bitmask, -- 2.43.0