From patchwork Mon Jan 23 15:16:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 646263 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DEB0FC05027 for ; Mon, 23 Jan 2023 15:17:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232635AbjAWPRY (ORCPT ); Mon, 23 Jan 2023 10:17:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40924 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232582AbjAWPRC (ORCPT ); Mon, 23 Jan 2023 10:17:02 -0500 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E4AE2A140 for ; Mon, 23 Jan 2023 07:16:19 -0800 (PST) Received: by mail-wm1-x32e.google.com with SMTP id l8so9276796wms.3 for ; Mon, 23 Jan 2023 07:16:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=YDagDVuTw97PsrwBo815Sg4TXF+qVDL0QTDGxQIG7EE=; b=TxF1shXGFnnhvEuPq/MGXBxFzVUaKfv+QXx93477hf5+2xOrwKsS4LLLs8SIZiR30m 1Bdyn9cO4PpAdLYfbZ0vDE0muZ0CqIr/xkW+AEbe33/P143p16ubDdpreRVwBxwVAUC3 9uI9VxmXiRM4klss66ILSgnj9D9bfpoU6I5zgQ3QGW7kpashRN7/CiNzwciBYrF35W66 FxVOSFXTymspb6WO7XlnzP34YGsM+rPscQdB+oRcLxS15uWvjN5KV3Afs4o1DAgoDeM0 jWV1DDbQpZgqP50Uw+Qs1L+xN3+b3+zuw8KNyj8dbQDG4o3HqzhDc0Y6Anb82yO6inVR bgmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=YDagDVuTw97PsrwBo815Sg4TXF+qVDL0QTDGxQIG7EE=; b=49p5epov2xuF8IDdVzX3F5fw07qe6/QzDrfZIksmLVpRgynnIL/vyu4ooYwzNgjmus HPTeW+7SZ+Jt/h2NZzYkS/xNKmgegEjzz7wHheAPYcalD5D0qqyMJcpNM7a2Ze8PGqWg 0rlw3f3UWzUdv72b2MPUpc/FH/9hwP55EOKSX4x7BEiwC1pdmzSI2YqEWGMbYYyif4n1 jJhg2abI+zbp13MNLQKqkGT+FY+aqODDmLYXSZCZ+SnaXtlumxnTAo6pW6HRpWMbc/en A8i8NYUJJIp+iNheIGraBJYoa07uvxLVkK+gJ4R1r8Pvm36LGy2VPdRiLGsJaX2T1Zko p0RA== X-Gm-Message-State: AFqh2koeayw6X0/vmOyAcVBajCwtOqrve5TDAK/U/hCXh9P3U3zkfbvz EQMWlfPC2+m4d2AAF5u24UoCXvCC+iDdoIMn X-Google-Smtp-Source: AMrXdXu20Kbz7zc+FfNmwfMjg+8Aec9itiZvQhfCVjyGJxree08weA+1J3H2twybXrnYYg9Pfc8YjA== X-Received: by 2002:a1c:750e:0:b0:3da:fcf6:7146 with SMTP id o14-20020a1c750e000000b003dafcf67146mr24529079wmc.14.1674486979176; Mon, 23 Jan 2023 07:16:19 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id f13-20020a7bcc0d000000b003d9780466b0sm10697414wmh.31.2023.01.23.07.16.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Jan 2023 07:16:18 -0800 (PST) From: Krzysztof Kozlowski To: Rob Herring , Krzysztof Kozlowski , Ray Jui , Scott Branden , Broadcom internal kernel review list , Florian Fainelli , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rpi-kernel@lists.infradead.org Cc: Krzysztof Kozlowski Subject: [PATCH 1/2] arm64: dts: broadcom: drop deprecated serial device_type Date: Mon, 23 Jan 2023 16:16:15 +0100 Message-Id: <20230123151616.369963-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The device_type property is deprecated by Devicetree specification and bindings do not allow it. Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi | 4 ---- 1 file changed, 4 deletions(-) diff --git a/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi b/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi index b8b8c0e78cc6..a9186166c068 100644 --- a/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi +++ b/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi @@ -475,7 +475,6 @@ i2c1: i2c@e0000 { }; uart0: serial@100000 { - device_type = "serial"; compatible = "snps,dw-apb-uart"; reg = <0x00100000 0x1000>; reg-shift = <2>; @@ -486,7 +485,6 @@ uart0: serial@100000 { }; uart1: serial@110000 { - device_type = "serial"; compatible = "snps,dw-apb-uart"; reg = <0x00110000 0x1000>; reg-shift = <2>; @@ -497,7 +495,6 @@ uart1: serial@110000 { }; uart2: serial@120000 { - device_type = "serial"; compatible = "snps,dw-apb-uart"; reg = <0x00120000 0x1000>; reg-shift = <2>; @@ -508,7 +505,6 @@ uart2: serial@120000 { }; uart3: serial@130000 { - device_type = "serial"; compatible = "snps,dw-apb-uart"; reg = <0x00130000 0x1000>; reg-shift = <2>; From patchwork Mon Jan 23 15:16:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 645743 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 62718C54E94 for ; Mon, 23 Jan 2023 15:17:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232671AbjAWPR2 (ORCPT ); Mon, 23 Jan 2023 10:17:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43006 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232392AbjAWPRK (ORCPT ); Mon, 23 Jan 2023 10:17:10 -0500 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C7DDB2943A for ; Mon, 23 Jan 2023 07:16:28 -0800 (PST) Received: by mail-wm1-x32f.google.com with SMTP id fl11-20020a05600c0b8b00b003daf72fc844so10872124wmb.0 for ; Mon, 23 Jan 2023 07:16:28 -0800 (PST) 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:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=b9CV+yUJBq8ETRaFGXmwVdEJZEPhzygsxPAPrI9XL9o=; b=an4bu/X4dQl1it6mjZfiunC4hlB7tnosX5OHG3eT+bqLmB8UjTVHrx9DDUz8NHpeN6 zIXBq+ibvVyTQAhRgjNXMqu3i+u2eaXTPh7ej3vc+KSSGIE5czevERG5lpoIrtVVqoSE MqJQuAfOfe/x6AOJS1hs28vH/a+hgWj1PEHdocLqrNQ/3i9qetmQMPYjURsEl+WW4iqK c/hDQtz01PEN9TBUSKtl3pQ+l9A8NYhGUjb3SEFPenRw71bVR8kCIHBef/NsVO8qW6nZ ScWQo4G+fUqfa75sZ5xnJoJvkVzjzNQmvq1lIwFJUixgfwZY/+VsoCqeVgRj8wNYPHcA Q/dQ== 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:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=b9CV+yUJBq8ETRaFGXmwVdEJZEPhzygsxPAPrI9XL9o=; b=ZOHhdKVCsWLCaNe1lUZz+T7RlzGsSidi8+f09UIMveWjr7OlxRHv4+AaPk2Sq4QSTs yPG0GagUzWX4rxtTJ+6t1oGIIUEH8K9GEuV3airvcP+MaqZorGbccT9xhukyp2kbWdOM Df45DAE9hpocf6QzpcdJkoCfOOFMxSvweQ2T50Zt6qQPtZwah4mpPkG0M9hqfciGT+4a i8AxSfhwQxRU8avc1LvnjJ7NsnC6ypDDMn3HVhbLt14cBNvQh/O59ygln3LNCZKU332x jA0G2FSpFxB5+aPm+Rq/gukFxOn6yxkpHEorJ0pcoOP6OK/PIGEnanFQVW3xB6xDgTHu X90g== X-Gm-Message-State: AFqh2kqdJ3PwVCGZizuitbkc/kkGCxQfrfe8sn5hGS29xwceCgu9zQc4 RhZReB9EBQtdbc96+U/T24MInw== X-Google-Smtp-Source: AMrXdXtBzOrlrhFaUvAkApRf7Tgch6o5YxRKhqFsb4+kFu4yaJW90309vV/ChYkM2UoXa0Nz9IHvcw== X-Received: by 2002:a05:600c:d2:b0:3da:f475:6480 with SMTP id u18-20020a05600c00d200b003daf4756480mr24604054wmm.7.1674486980573; Mon, 23 Jan 2023 07:16:20 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id f13-20020a7bcc0d000000b003d9780466b0sm10697414wmh.31.2023.01.23.07.16.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Jan 2023 07:16:20 -0800 (PST) From: Krzysztof Kozlowski To: Rob Herring , Krzysztof Kozlowski , Ray Jui , Scott Branden , Broadcom internal kernel review list , Florian Fainelli , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rpi-kernel@lists.infradead.org Cc: Krzysztof Kozlowski Subject: [PATCH 2/2] ARM: dts: broadcom: align UART node name with bindings Date: Mon, 23 Jan 2023 16:16:16 +0100 Message-Id: <20230123151616.369963-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230123151616.369963-1-krzysztof.kozlowski@linaro.org> References: <20230123151616.369963-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Bindings expect UART/serial node names to be "serial". Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/bcm11351.dtsi | 8 ++++---- arch/arm/boot/dts/bcm21664-garnet.dts | 2 +- arch/arm/boot/dts/bcm21664.dtsi | 6 +++--- arch/arm/boot/dts/bcm28155-ap.dts | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/arch/arm/boot/dts/bcm11351.dtsi b/arch/arm/boot/dts/bcm11351.dtsi index 53696078bbf0..ba75784d66a9 100644 --- a/arch/arm/boot/dts/bcm11351.dtsi +++ b/arch/arm/boot/dts/bcm11351.dtsi @@ -50,7 +50,7 @@ smc@3404c000 { reg = <0x3404c000 0x400>; /* 1 KiB in SRAM */ }; - uart@3e000000 { + serial@3e000000 { compatible = "brcm,bcm11351-dw-apb-uart", "snps,dw-apb-uart"; status = "disabled"; reg = <0x3e000000 0x1000>; @@ -60,7 +60,7 @@ uart@3e000000 { reg-io-width = <4>; }; - uart@3e001000 { + serial@3e001000 { compatible = "brcm,bcm11351-dw-apb-uart", "snps,dw-apb-uart"; status = "disabled"; reg = <0x3e001000 0x1000>; @@ -70,7 +70,7 @@ uart@3e001000 { reg-io-width = <4>; }; - uart@3e002000 { + serial@3e002000 { compatible = "brcm,bcm11351-dw-apb-uart", "snps,dw-apb-uart"; status = "disabled"; reg = <0x3e002000 0x1000>; @@ -80,7 +80,7 @@ uart@3e002000 { reg-io-width = <4>; }; - uart@3e003000 { + serial@3e003000 { compatible = "brcm,bcm11351-dw-apb-uart", "snps,dw-apb-uart"; status = "disabled"; reg = <0x3e003000 0x1000>; diff --git a/arch/arm/boot/dts/bcm21664-garnet.dts b/arch/arm/boot/dts/bcm21664-garnet.dts index 1854cd907a1b..cd03fa0c2aae 100644 --- a/arch/arm/boot/dts/bcm21664-garnet.dts +++ b/arch/arm/boot/dts/bcm21664-garnet.dts @@ -16,7 +16,7 @@ memory@80000000 { reg = <0x80000000 0x40000000>; /* 1 GB */ }; - uart@3e000000 { + serial@3e000000 { status = "okay"; }; diff --git a/arch/arm/boot/dts/bcm21664.dtsi b/arch/arm/boot/dts/bcm21664.dtsi index 2684c37cb3a0..ed4de031e48e 100644 --- a/arch/arm/boot/dts/bcm21664.dtsi +++ b/arch/arm/boot/dts/bcm21664.dtsi @@ -50,7 +50,7 @@ smc@3404e000 { reg = <0x3404e000 0x400>; /* 1 KiB in SRAM */ }; - uart@3e000000 { + serial@3e000000 { compatible = "brcm,bcm21664-dw-apb-uart", "snps,dw-apb-uart"; status = "disabled"; reg = <0x3e000000 0x118>; @@ -60,7 +60,7 @@ uart@3e000000 { reg-io-width = <4>; }; - uart@3e001000 { + serial@3e001000 { compatible = "brcm,bcm21664-dw-apb-uart", "snps,dw-apb-uart"; status = "disabled"; reg = <0x3e001000 0x118>; @@ -70,7 +70,7 @@ uart@3e001000 { reg-io-width = <4>; }; - uart@3e002000 { + serial@3e002000 { compatible = "brcm,bcm21664-dw-apb-uart", "snps,dw-apb-uart"; status = "disabled"; reg = <0x3e002000 0x118>; diff --git a/arch/arm/boot/dts/bcm28155-ap.dts b/arch/arm/boot/dts/bcm28155-ap.dts index fce3d5260b00..60c8ab8a2855 100644 --- a/arch/arm/boot/dts/bcm28155-ap.dts +++ b/arch/arm/boot/dts/bcm28155-ap.dts @@ -16,7 +16,7 @@ memory@80000000 { reg = <0x80000000 0x40000000>; /* 1 GB */ }; - uart@3e000000 { + serial@3e000000 { status = "okay"; };