From patchwork Mon May 8 12:45:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanislav Jakubek X-Patchwork-Id: 91129 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2148869vqo; Mon, 8 May 2023 06:16:42 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7Vu7Rpcq8uwongohnpzY8icK3ugYp8iVTU71rf2qq2ba/BDQJP1Mr3NJiscAX1j7wou/rD X-Received: by 2002:a17:902:ea92:b0:1a1:a06c:4892 with SMTP id x18-20020a170902ea9200b001a1a06c4892mr11898707plb.13.1683551802022; Mon, 08 May 2023 06:16:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683551802; cv=none; d=google.com; s=arc-20160816; b=RaDQVEDDVKftKHEQjOHRN8QaIAi3bEkm62OUwS4mkOPsA3WeYeNx9E9VBIqa29ZlNq DB289V6pgsoSibXiyRNe+Xt4sFcKn6G1wNa854BC5/19abzNUo0oG5iOdTauTeB6OpEJ KPsvkyCFQRymzRhyVNP+3H80I1igB547oxrMBs0EBERCY35vL57ktJeIojyIFWKb0SCl Uo6Q2fXj5LB1oqXTOnLHctD2daqNEIeLt+gHAiArr+ro7LNElk+uuylhp6IH1xC89jUG gLYXgkxPnuAMC9miTQoiGZ7xzb6d1IvyzyGydekG9k1H45wkTFuec7lHzYzs+Eu3fXop oAeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=+hOhOxkG7BZ4qWykY9UtvQLlVfaHXvEwqjgnjNpsvIs=; b=T26hh/dOgaWbaHD6m2XEfFnYiaUWMtXvbkuC8qQeCUuGc0ddaBtcHbUKobFly2kLRQ oCtaOByGlkj3QeEBcAxdPSYrURzFbzbttOIh7Wy7fBY7wbj2bQZKJZTGYcpO3o0leupW tdVWckHrcqcwqngdWNO+YGhPHtuNOOsZXFHVMHcyXojZdIavCSNNYxybKClc5yU8y/ko CaHxflyZSKBK3nQECgQ0drw15dmWpfu663vOrZvu1K6NlAshTd0NDA1k+bLpWJICUFOk cnzFIu7ta7MBnO3ojefkNUeGs0nk2qm1LcvB9RwCmhvay6X5yB9COiGmhNpxvOqqEQyR a3kw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=pkbseLmO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w6-20020a1709027b8600b001a0544138b8si7729868pll.395.2023.05.08.06.16.26; Mon, 08 May 2023 06:16:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=pkbseLmO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233625AbjEHMpj (ORCPT + 99 others); Mon, 8 May 2023 08:45:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232408AbjEHMph (ORCPT ); Mon, 8 May 2023 08:45:37 -0400 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0CF6B189; Mon, 8 May 2023 05:45:36 -0700 (PDT) Received: by mail-wr1-x42b.google.com with SMTP id ffacd0b85a97d-3063b5f32aaso2846885f8f.2; Mon, 08 May 2023 05:45:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683549934; x=1686141934; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=+hOhOxkG7BZ4qWykY9UtvQLlVfaHXvEwqjgnjNpsvIs=; b=pkbseLmOjhh5CrDdFBI6wK4YQFp9Is3m30nb7ubrDjWmmkP+pa582C2089+qsBzZ5c 4q5CoN4iXRrTTqUFoNFW1JV63rwpCTLbQu1l/dRkNaikvQnrNOTC3mNQ0+pzoaGY3q9p ex6NKyqHdAx09IGCP+6RcHa4TiZN4Y49VZBWNrlfL3moYh/lAFIp1082THAVTJeYCsTP O9eOpvgGRXMzEU9wQutvCuOvusC1aiHdMb00gMk5VJVWyE+x7mbQZnr8rPV8XQW/gTux gJCc930/7xytB8cJw2Zeo1weJsV7nWocuZhaSLhkWNJ6uioabvotVaTtHIkcZmw5zTsq bN5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683549934; x=1686141934; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=+hOhOxkG7BZ4qWykY9UtvQLlVfaHXvEwqjgnjNpsvIs=; b=WSlnuym/KwqHlKDlt2iKuUqfdNpY214OgyLHIWkwApzQKn558QdFvecTFlG3d2Md8J PW1/t3hTgCKhHQ0hDiXvPZoF0xrgXCXO6R8mKGin70bj2CI73aWSYxfViW/c1EImIak0 0+MIXeOj2WeZp7MX0Gpxzyw4zDkwPdNEi02Nt+u/Md7oiA0GBz3spaYSBe34dNAeCGcU dPYuYoZlV98MrM7WjC680veL3ozvkqlCddWqGHXX/dNbpzGmQyvKMBunK3IsKIdQC+Wd ztKKiCbA8o2MCIoHAoj2qDDOULn0HTn24kQ1QWwWdSfTdvLjCptFFKf7Dcg5aZyuyPFl fVbw== X-Gm-Message-State: AC+VfDySduM00VU3v/M+fTOKZZrq8T8F0oWBKP7qj/ZU+05MJQbdMR1X YuIu8OJOo55gDUR3idOuGM0= X-Received: by 2002:adf:d0c7:0:b0:306:3711:11d7 with SMTP id z7-20020adfd0c7000000b00306371111d7mr6787225wrh.48.1683549934395; Mon, 08 May 2023 05:45:34 -0700 (PDT) Received: from standask-GA-A55M-S2HP ([188.123.113.247]) by smtp.gmail.com with ESMTPSA id h18-20020a5d5052000000b003078c535277sm6703827wrt.91.2023.05.08.05.45.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 May 2023 05:45:34 -0700 (PDT) Date: Mon, 8 May 2023 14:45:32 +0200 From: Stanislav Jakubek To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Florian Fainelli , Ray Jui , Scott Branden Cc: bcm-kernel-feedback-list@broadcom.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] ARM: dts: bcm-mobile: align SDHCI node name with bindings Message-ID: <88c64da50a1af868d8b14054c440e5ff96a63399.1683548624.git.stano.jakubek@gmail.com> MIME-Version: 1.0 Content-Disposition: inline X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1765332014495926325?= X-GMAIL-MSGID: =?utf-8?q?1765332014495926325?= Bindings expect SDHCI/MMC node names to be "mmc". Signed-off-by: Stanislav Jakubek --- arch/arm/boot/dts/bcm11351.dtsi | 8 ++++---- arch/arm/boot/dts/bcm21664-garnet.dts | 6 +++--- arch/arm/boot/dts/bcm21664.dtsi | 8 ++++---- arch/arm/boot/dts/bcm23550.dtsi | 8 ++++---- arch/arm/boot/dts/bcm28155-ap.dts | 4 ++-- 5 files changed, 17 insertions(+), 17 deletions(-) diff --git a/arch/arm/boot/dts/bcm11351.dtsi b/arch/arm/boot/dts/bcm11351.dtsi index ba75784d66a9..c30ff1b02e03 100644 --- a/arch/arm/boot/dts/bcm11351.dtsi +++ b/arch/arm/boot/dts/bcm11351.dtsi @@ -125,7 +125,7 @@ GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH interrupt-controller; }; - sdio1: sdio@3f180000 { + sdio1: mmc@3f180000 { compatible = "brcm,kona-sdhci"; reg = <0x3f180000 0x10000>; interrupts = ; @@ -133,7 +133,7 @@ sdio1: sdio@3f180000 { status = "disabled"; }; - sdio2: sdio@3f190000 { + sdio2: mmc@3f190000 { compatible = "brcm,kona-sdhci"; reg = <0x3f190000 0x10000>; interrupts = ; @@ -141,7 +141,7 @@ sdio2: sdio@3f190000 { status = "disabled"; }; - sdio3: sdio@3f1a0000 { + sdio3: mmc@3f1a0000 { compatible = "brcm,kona-sdhci"; reg = <0x3f1a0000 0x10000>; interrupts = ; @@ -149,7 +149,7 @@ sdio3: sdio@3f1a0000 { status = "disabled"; }; - sdio4: sdio@3f1b0000 { + sdio4: mmc@3f1b0000 { compatible = "brcm,kona-sdhci"; reg = <0x3f1b0000 0x10000>; interrupts = ; diff --git a/arch/arm/boot/dts/bcm21664-garnet.dts b/arch/arm/boot/dts/bcm21664-garnet.dts index cd03fa0c2aae..dead91d97b63 100644 --- a/arch/arm/boot/dts/bcm21664-garnet.dts +++ b/arch/arm/boot/dts/bcm21664-garnet.dts @@ -20,18 +20,18 @@ serial@3e000000 { status = "okay"; }; - sdio1: sdio@3f180000 { + sdio1: mmc@3f180000 { max-frequency = <48000000>; status = "okay"; }; - sdio2: sdio@3f190000 { + sdio2: mmc@3f190000 { non-removable; max-frequency = <48000000>; status = "okay"; }; - sdio4: sdio@3f1b0000 { + sdio4: mmc@3f1b0000 { max-frequency = <48000000>; cd-gpios = <&gpio 91 GPIO_ACTIVE_LOW>; status = "okay"; diff --git a/arch/arm/boot/dts/bcm21664.dtsi b/arch/arm/boot/dts/bcm21664.dtsi index ed4de031e48e..4e96656dc36a 100644 --- a/arch/arm/boot/dts/bcm21664.dtsi +++ b/arch/arm/boot/dts/bcm21664.dtsi @@ -113,7 +113,7 @@ GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH interrupt-controller; }; - sdio1: sdio@3f180000 { + sdio1: mmc@3f180000 { compatible = "brcm,kona-sdhci"; reg = <0x3f180000 0x801c>; interrupts = ; @@ -121,7 +121,7 @@ sdio1: sdio@3f180000 { status = "disabled"; }; - sdio2: sdio@3f190000 { + sdio2: mmc@3f190000 { compatible = "brcm,kona-sdhci"; reg = <0x3f190000 0x801c>; interrupts = ; @@ -129,7 +129,7 @@ sdio2: sdio@3f190000 { status = "disabled"; }; - sdio3: sdio@3f1a0000 { + sdio3: mmc@3f1a0000 { compatible = "brcm,kona-sdhci"; reg = <0x3f1a0000 0x801c>; interrupts = ; @@ -137,7 +137,7 @@ sdio3: sdio@3f1a0000 { status = "disabled"; }; - sdio4: sdio@3f1b0000 { + sdio4: mmc@3f1b0000 { compatible = "brcm,kona-sdhci"; reg = <0x3f1b0000 0x801c>; interrupts = ; diff --git a/arch/arm/boot/dts/bcm23550.dtsi b/arch/arm/boot/dts/bcm23550.dtsi index a36c9b1d23c8..8d96bdc4a8e5 100644 --- a/arch/arm/boot/dts/bcm23550.dtsi +++ b/arch/arm/boot/dts/bcm23550.dtsi @@ -224,7 +224,7 @@ usbphy: usb-phy@e30000 { status = "disabled"; }; - sdio1: sdio@e80000 { + sdio1: mmc@e80000 { compatible = "brcm,kona-sdhci"; reg = <0x00e80000 0x801c>; interrupts = ; @@ -232,7 +232,7 @@ sdio1: sdio@e80000 { status = "disabled"; }; - sdio2: sdio@e90000 { + sdio2: mmc@e90000 { compatible = "brcm,kona-sdhci"; reg = <0x00e90000 0x801c>; interrupts = ; @@ -240,7 +240,7 @@ sdio2: sdio@e90000 { status = "disabled"; }; - sdio3: sdio@ea0000 { + sdio3: mmc@ea0000 { compatible = "brcm,kona-sdhci"; reg = <0x00ea0000 0x801c>; interrupts = ; @@ -248,7 +248,7 @@ sdio3: sdio@ea0000 { status = "disabled"; }; - sdio4: sdio@eb0000 { + sdio4: mmc@eb0000 { compatible = "brcm,kona-sdhci"; reg = <0x00eb0000 0x801c>; interrupts = ; diff --git a/arch/arm/boot/dts/bcm28155-ap.dts b/arch/arm/boot/dts/bcm28155-ap.dts index 60c8ab8a2855..c496e33a71a6 100644 --- a/arch/arm/boot/dts/bcm28155-ap.dts +++ b/arch/arm/boot/dts/bcm28155-ap.dts @@ -44,7 +44,7 @@ pmu: pmu@8 { }; }; - sdio2: sdio@3f190000 { + sdio2: mmc@3f190000 { non-removable; max-frequency = <48000000>; vmmc-supply = <&camldo1_reg>; @@ -52,7 +52,7 @@ sdio2: sdio@3f190000 { status = "okay"; }; - sdio4: sdio@3f1b0000 { + sdio4: mmc@3f1b0000 { max-frequency = <48000000>; cd-gpios = <&gpio 14 GPIO_ACTIVE_LOW>; vmmc-supply = <&sdldo_reg>; From patchwork Mon May 8 12:46:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanislav Jakubek X-Patchwork-Id: 91128 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2144482vqo; Mon, 8 May 2023 06:11:17 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6svwFovLUzbtfULAmf3LbH+v2akNJ3BdY1x3rVMBKG7wJZlvmL5L+oT9uo4ZnIc5borr1R X-Received: by 2002:a05:6a20:914d:b0:ff:5c6f:9228 with SMTP id x13-20020a056a20914d00b000ff5c6f9228mr11476025pzc.60.1683551476942; Mon, 08 May 2023 06:11:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683551476; cv=none; d=google.com; s=arc-20160816; b=aVLv+3ItyFnT2TBv3g1cp5e4ocWHMZ10ixocPq7cNt7Sv8StSyV6R9fpStXnyR4eKK 54DTj4VzB4Tyn7/U3Aj4izbIBt4EM5/LW9bPWdJUoMFHxB6iJYBbcqwqDC+jzbFUv2Va 28cimmIhxVI9ljhDYEjdUKvJmP+YyrWnbfmlTDnkgUelZ2PpcNxLCBNBYItwmif/6C8k WkO46B5a009OXfrkHGUhLxC/PKdRKrtmraSKDCQS76Wa9xh6rdfEBiIeksNQdvfGsw0U Q0y6w4wpxN8YfrQQ8Xuu1OYjC6ohjs/xHPIcwtPJ/hhccg5hjYyuuFgaVSoNpEZoF4Uy c5+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=asbulxWBBUUI7EhpI6L3ou9HymcJhGeGWLD2VK7v0Wk=; b=taaqIu7Px+j6maR/Rf0Bkd/ZKLgixxNaUSpVE250HSHguZhNoNJJtcTu61xcqpYdv4 MT3hxGRDM2wOiG8GM+X4Y8gV8efSADqWvXhmhHT7s9EUr/3gdDaht2OPzvU6pFBluehi 4Yac+RFfol2tGUsjK5DNu51o5IhkODgbLpvOoFS4OcZv8vD5lzfPjwHqhVa+9NLZc4Zr Byk5sdWngN6BBGTyR1r/vrCrwrQMt+0+U7TKRHHcwlUXSr0nruuCFHS2lzfZRWwid6mD PxAuJJlCmHq/dKPPf26c0B7Yld5BAP19URGZwRgWmTrqV+eIRKB7PjJqPsw72VJEtyon eJ+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b="TIzCwj/p"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s15-20020a63af4f000000b0052864b23dbasi8390473pgo.41.2023.05.08.06.10.55; Mon, 08 May 2023 06:11:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b="TIzCwj/p"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234206AbjEHMqN (ORCPT + 99 others); Mon, 8 May 2023 08:46:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46884 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232408AbjEHMqI (ORCPT ); Mon, 8 May 2023 08:46:08 -0400 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 DFB4C18C; Mon, 8 May 2023 05:46:06 -0700 (PDT) Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-3f41dceb9d1so19586985e9.1; Mon, 08 May 2023 05:46:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683549965; x=1686141965; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=asbulxWBBUUI7EhpI6L3ou9HymcJhGeGWLD2VK7v0Wk=; b=TIzCwj/pI/o0/YWw8CTrR3fZHS2yw48fL9IAOdDFNArHQUatheY+o7DJ2aCyUvy23N j+9Q7cGYTUhJeUQKhvdga0DWYOtSwdcZK6woZAa2jGJ8o2RuOwPKrh2oetm18m31uWHs OXtZmd0tVqYb15iqkpfB85kiUVTa469JT9RgQZOK7gHPMpIwGNSAT2tgbL/HvoQc7GaM V0VHMt1zd9J/5hzWfPi5Ubw2VkIAxWeTS4xL0yEtfD/cDVCWaicb4nfKzijY4ojLx5j9 3OSuitk4sLousbcMjEQn+lthDgyN7QiauUJm8pICKubK6yaupSV63ppnPesac4mFbZ+7 +KKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683549965; x=1686141965; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=asbulxWBBUUI7EhpI6L3ou9HymcJhGeGWLD2VK7v0Wk=; b=HDnOIWObXfG+havnbnX8zqzoN1UPpuqyl91wWLZqnK5HI+eXLTzTeAjMn/j1K3wgBb MhhxfewTMJK6XqnGemOPRCuEU9wWD3ArIQ9JKOZylkflN8IiFk9DhOL7Pxh5AXFAhTF5 DFsw1AcfxyMcZzlreRy0Z7Z2QGfnuD2ASZqgdskRNjXXJ3ZMCE0swMreozEqgdk2Gosu kr9Gl/NbE4r57UMMGvhR/bFp2Jz+b0hvsYmWyKAGZs6CJDUa2lN193sz9FSNhAeD4MiN jO4wdfyqWTyEeDFD/h0wDpWGFU98qDyQ+S59IWqPv1iKsI5jcSpg1i8BIroKnN+hXYP3 /ttQ== X-Gm-Message-State: AC+VfDwIhaQepP6XxiYpUv3eVQmWVX7yKdMp1o4VwtJLKwOg3Yo3MT2W PGrI4X+Qau8dBOvhYXo/3+jEzX9jX2nQHg== X-Received: by 2002:a7b:cb46:0:b0:3f1:82a1:122 with SMTP id v6-20020a7bcb46000000b003f182a10122mr7240608wmj.21.1683549965505; Mon, 08 May 2023 05:46:05 -0700 (PDT) Received: from standask-GA-A55M-S2HP ([188.123.113.247]) by smtp.gmail.com with ESMTPSA id l11-20020a7bc34b000000b003f195d2f1a9sm16696200wmj.15.2023.05.08.05.46.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 May 2023 05:46:05 -0700 (PDT) Date: Mon, 8 May 2023 14:46:03 +0200 From: Stanislav Jakubek To: Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Florian Fainelli , Ray Jui , Scott Branden Cc: bcm-kernel-feedback-list@broadcom.com, linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] dt-bindings: mmc: brcm,kona-sdhci: convert to YAML Message-ID: References: <88c64da50a1af868d8b14054c440e5ff96a63399.1683548624.git.stano.jakubek@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <88c64da50a1af868d8b14054c440e5ff96a63399.1683548624.git.stano.jakubek@gmail.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1765331673303403157?= X-GMAIL-MSGID: =?utf-8?q?1765331673303403157?= Convert Broadcom Kona family SDHCI controller bindings to DT schema. Changes during conversion: - also mark reg and interrupts as required - drop deprecated compatible (it's been deprecated for ~10 years) Signed-off-by: Stanislav Jakubek Acked-by: Conor Dooley Reviewed-by: Krzysztof Kozlowski --- .../bindings/mmc/brcm,kona-sdhci.txt | 21 -------- .../bindings/mmc/brcm,kona-sdhci.yaml | 48 +++++++++++++++++++ 2 files changed, 48 insertions(+), 21 deletions(-) delete mode 100644 Documentation/devicetree/bindings/mmc/brcm,kona-sdhci.txt create mode 100644 Documentation/devicetree/bindings/mmc/brcm,kona-sdhci.yaml diff --git a/Documentation/devicetree/bindings/mmc/brcm,kona-sdhci.txt b/Documentation/devicetree/bindings/mmc/brcm,kona-sdhci.txt deleted file mode 100644 index 7f5dd83f5bd9..000000000000 --- a/Documentation/devicetree/bindings/mmc/brcm,kona-sdhci.txt +++ /dev/null @@ -1,21 +0,0 @@ -Broadcom BCM281xx SDHCI - -This file documents differences between the core properties in mmc.txt -and the properties present in the bcm281xx SDHCI - -Required properties: -- compatible : Should be "brcm,kona-sdhci" -- DEPRECATED: compatible : Should be "bcm,kona-sdhci" -- clocks: phandle + clock specifier pair of the external clock - -Refer to clocks/clock-bindings.txt for generic clock consumer properties. - -Example: - -sdio2: sdio@3f1a0000 { - compatible = "brcm,kona-sdhci"; - reg = <0x3f1a0000 0x10000>; - clocks = <&sdio3_clk>; - interrupts = <0x0 74 0x4>; -}; - diff --git a/Documentation/devicetree/bindings/mmc/brcm,kona-sdhci.yaml b/Documentation/devicetree/bindings/mmc/brcm,kona-sdhci.yaml new file mode 100644 index 000000000000..87711edf9b39 --- /dev/null +++ b/Documentation/devicetree/bindings/mmc/brcm,kona-sdhci.yaml @@ -0,0 +1,48 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mmc/brcm,kona-sdhci.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom Kona family SDHCI controller + +maintainers: + - Florian Fainelli + +allOf: + - $ref: sdhci-common.yaml# + +properties: + compatible: + const: brcm,kona-sdhci + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - clocks + - interrupts + +unevaluatedProperties: false + +examples: + - | + #include + #include + #include "dt-bindings/clock/bcm281xx.h" + + mmc@3f1a0000 { + compatible = "brcm,kona-sdhci"; + reg = <0x3f1a0000 0x10000>; + clocks = <&master_ccu BCM281XX_MASTER_CCU_SDIO3>; + interrupts = ; + }; +...