From patchwork Tue Oct 15 18:09:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Karan Sanghavi X-Patchwork-Id: 13836816 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 B6249D1D895 for ; Tue, 15 Oct 2024 18:21:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=eUbBPBPP6n93y/ZkM4yEPNH409bvn+Ap0g0YwYGDBdk=; b=WoQb2x71lTjBlLTHXV368X7ydq 3AWi91jRlWqiUT2bMwDWKK5lBXMW+jVetiR1dQJ8Fd4hwo8Df+fTUD2G7JWngWat2MbZcmGkCMuvt SnehgzJqOgMwYA4nzOz8xsuAxVmKCotB6ZpYR9+KHMF41rHuC3OYYUC4EUg0ihqcJNmO8lZZ6gwvK PBA8X5GgfQ5ihgOv48VRseXe9GSOthHvFhOwxoguZE1PXv40wK0vZGyVQczUThPUVWxoUeldAA+6Z 87ctXYrrhJJkrJ5xB/kynWsxV0EEA7SFuKOgxQOjB/vI5Sw/b51tF2vKBfyzq9CZXxxej9cqPLSdj NcRivOsA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t0mAr-00000009Ap8-2aSp; Tue, 15 Oct 2024 18:21:37 +0000 Received: from mail-pg1-x535.google.com ([2607:f8b0:4864:20::535]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t0m9B-00000009AN4-3n9o; Tue, 15 Oct 2024 18:19:55 +0000 Received: by mail-pg1-x535.google.com with SMTP id 41be03b00d2f7-7ea8ecacf16so1352698a12.1; Tue, 15 Oct 2024 11:19:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729016392; x=1729621192; 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=eUbBPBPP6n93y/ZkM4yEPNH409bvn+Ap0g0YwYGDBdk=; b=XhcCD2+mJPE+dmZVLV7F6KOG4aUe7F2ETYbISQQfHpco8DZ/IMgiuCYZZj4slVNc1J 4C+wXqWVHo07kvCiV5Enau5mLyspnkuQqFzImeN7mki04MYMvUSqnO3/IbHB9d53VytY Qu/MVz1NhpxFBjbn0F21bFd8THA53DIoYR3tjs0PS9HjSIuRN4nPUYB2bWIbhyNlbkM4 vDT7wUuBFpJ9XlSlI1ah08oMnAxVz1g+HCZfO075phcW9vZAl9BKF9B5Sce4DrMtEwcX PcSm1PcBlA239cwQ6E0EhYl1+RPHRfLQjR4rKbCQbsUrPXt58taeQTwQntA7AYAUDCH/ 6/0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729016392; x=1729621192; 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=eUbBPBPP6n93y/ZkM4yEPNH409bvn+Ap0g0YwYGDBdk=; b=tMdRL3C4kQ9CyPO0Rl1U61QbyBdtD2trgJNgYv0RgtZPbEtBzx9RGJt58DD4PIexQ7 AuUyudG3X2a3Na3ntvuZRGiPn9J7EP4udUhbK1b/ljzTXc1dBIY89ED+Sy0TohLA9Z/o 5/lFX/SgqgeaxonfFC8HNP07ndx/vS0G2iVnCYSK/KGXmWTiWMJ9zYHypLczToQhHqp6 9ckw2Mwwh4k3R3hvFe1gXHCb5QBmVKhyliJ/8osonhL8cIh+jX13VBYfD/tG4EXdP8eI q1uZkHXC41JO3jhtOcpf6E/qRyWNRcRBKu5Zcfu5EgNw+did28mPQYVK+Ia8kjsAoVwf kT6A== X-Forwarded-Encrypted: i=1; AJvYcCXjvwD67gWlUMC6uczNq+tFMu889n3GSXL1rzAkBObcN/5pdlqB8Mq1QOwVImdOl24+WRI0iwx11iwhhj4Y9xhaRQ==@lists.infradead.org, AJvYcCXo0xeJANtiOIZEW+86q23bWPvB2twKLnlQ1toSAGdYHK65j0Fb14gBNmgX70+od0PjwrBwaVBsGDO5sCiOmRbk@lists.infradead.org X-Gm-Message-State: AOJu0Yw46UeZWQL/S9WpcaG1jrGJ8E2qJCuH+8n+jRvQc1uKJxy9U/6P OjhaZ7NkE+rp6exVIMhcm0TtsoWCgRR2WS2d6MBjVguXAUCticwh X-Google-Smtp-Source: AGHT+IFdv1ov76co9XcCBPH2tecuWNespEChoX0P5WctzQjUBVF8lHaNyEpj/9RVXuJqyyrX6CpvGA== X-Received: by 2002:a05:6a20:d487:b0:1d9:553:8a2f with SMTP id adf61e73a8af0-1d905538b87mr1863568637.21.1729016391579; Tue, 15 Oct 2024 11:19:51 -0700 (PDT) Received: from Emma ([2401:4900:1c97:c88d:5054:ff:fe53:2787]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71e77508562sm1584543b3a.186.2024.10.15.11.19.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Oct 2024 11:19:48 -0700 (PDT) From: Karan Sanghavi To: krzysztof.kozlowski@linaro.org Cc: bcm-kernel-feedback-list@broadcom.com, broonie@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org, florian.fainelli@broadcom.com, karansanghvi98@gmail.com, krzysztof.kozlowski+dt@linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-spi@vger.kernel.org, rjui@broadcom.com, robh+dt@kernel.org, sbranden@broadcom.com, skhan@linuxfoundation.org Subject: [PATCH v2] dt-bindings: spi: Convert bcm2835-aux-spi.txt to Date: Tue, 15 Oct 2024 18:09:07 +0000 Message-ID: <20241015180906.8464-2-karansanghvi98@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <09826ffb-b7d1-4244-af0d-854f1f0339a1@linaro.org> References: <09826ffb-b7d1-4244-af0d-854f1f0339a1@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241015_111953_967450_82EF8130 X-CRM114-Status: GOOD ( 10.34 ) 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 Converted the brcm,bcm2835-aux-spi.txt file to its respective yaml file format. Signed-off-by: Karan Sanghavi --- v1->v2 : Made the necessary changes in the yaml file suggested by Krzysztof Kozlowski v1: - https://lore.kernel.org/all/Zw1Oj1utiBJ9Sosg@Emma/ .../bindings/spi/brcm,bcm2835-aux-spi.yaml | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/Documentation/devicetree/bindings/spi/brcm,bcm2835-aux-spi.yaml b/Documentation/devicetree/bindings/spi/brcm,bcm2835-aux-spi.yaml index 4c24cf2fe214..f83f71ba78dc 100644 --- a/Documentation/devicetree/bindings/spi/brcm,bcm2835-aux-spi.yaml +++ b/Documentation/devicetree/bindings/spi/brcm,bcm2835-aux-spi.yaml @@ -9,8 +9,7 @@ title: Broadcom BCM2835 Auxiliary SPI1/2 Controller maintainers: - Karan Sanghavi -description: | - The BCM2835 contains two forms of SPI master controller. One is known simply as +description: The BCM2835 contains two forms of SPI master controller. One is known simply as SPI0, and the other as the "Universal SPI Master," part of the auxiliary block. This binding applies to the SPI1 and SPI2 auxiliary controllers. @@ -21,7 +20,6 @@ properties: compatible: enum: - brcm,bcm2835-aux-spi - description: Broadcom BCM2835 Auxiliary SPI controller for SPI1 and SPI2. reg: maxItems: 1 @@ -30,8 +28,7 @@ properties: maxItems: 1 clocks: - items: - - description: Reference to the auxiliary clock driver for the BCM2835. + maxItems: 1 required: - compatible @@ -53,14 +50,3 @@ examples: #size-cells = <0>; }; - - | - #include - spi@7e2150c0 { - compatible = "brcm,bcm2835-aux-spi"; - reg = <0x7e2150c0 0x40>; - interrupts = <1 29>; - clocks = <&aux_clocks BCM2835_AUX_CLOCK_SPI2>; - #address-cells = <1>; - #size-cells = <0>; - }; -