From patchwork Wed Feb 7 20:22:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: William Zhang X-Patchwork-Id: 198096 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp2520732dyb; Wed, 7 Feb 2024 13:40:07 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCU/YfZ0u59GaFRFN/ZIunfSAvlKn/lfRokVBv/Os+mGnhhrj3/We32omShmILe/t8Pn9wTgBzTOXaZXPmqtKStA864lUQ== X-Google-Smtp-Source: AGHT+IGODLOkDr9W5ElPMRjn59bui2ejnz+VE47cgHW9YVkLX59IpUPfSUXIMBX+Y0eB5CebAkXg X-Received: by 2002:a05:6808:3c9b:b0:3bd:da5f:4af7 with SMTP id gs27-20020a0568083c9b00b003bdda5f4af7mr8414104oib.55.1707342006957; Wed, 07 Feb 2024 13:40:06 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707342006; cv=pass; d=google.com; s=arc-20160816; b=ha8cIGeLrQ6Ubpf2qmwGQ4maQ53oNCjOnHsuju2VD0ZZAruaogSd7eZqXibabFm7Gu sKZHgeZgJbHtjTUEJGoRvJY566BH1CM2QfvAiH54/KBDGgzqZOE9XxWMEoa6LCjox07L OkbmvoGbfa+5H6rwehieIBRexJbxIZLCMvDC2K1WtxlKEMoUE05Y75Z2vNwV++dmk96L ez0DVATlZDylZijIEpSW8QrRvab9l/r3sT9l9LsZTHtBLZZE02jy9Vx47XWrj0QOLfoG L6a/Y+CNfB3NCXX7eaD6ZSxjyHO38v0BFm0Vipv+GpEYGbHDvRwaeCgen03OVsJpZyqA DkDQ== 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:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature:dkim-filter; bh=ZsZ/3G0ba9lxGUOuKE7ZGlRLV9Nt3wWtBjvTkIUqpOA=; fh=ed/ig4g5tJ1e7MnS1YwOQOH5j+iTHIAg93C7wbZhdV0=; b=nIhrP61N/Kn0q/i91wEgHEZJWPohTn9apR5aIR4eZUNMpbzf8PmVK6kxOVrrmbUkDV /s61yfFERJH8cyxcjMAaGhaTWOljpaUWPpMZQbOaP5pzofe3Qxxn5NIhLzoNmYkWG3vH Ro48Wz1oYbEKNtgJJEL+VzMsmOrjn03Bc0vE9tCGNQ9jpmiuMn1UohRr+/zu+E9DRBue gCbRCjATkTaIbK9akGHsNya9dPFTCROIpqhamIbdQ2LR7OEKug8HHNxYmd2Gn8+cZp7L 7LYBoBNzFvok911tGOWEjDrsrdmbpn2Gki0OUuTmMuuazlwb2/aSeQ4xzIeCNTy1VG9h Pokg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@broadcom.com header.s=dkimrelay header.b=j+L+Xr5u; arc=pass (i=1 dkim=pass dkdomain=broadcom.com dmarc=pass fromdomain=broadcom.com); spf=pass (google.com: domain of linux-kernel+bounces-57012-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57012-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com X-Forwarded-Encrypted: i=2; AJvYcCXyBdr7nvWeBvD2AM6qSDEPQTCdgme1FgX61FCK8yhF28E6AeYZVVCslJBCZJ2Vk4CVTr4I3bqOo1mzNJilXjz8ng5qbg== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id m21-20020a05620a24d500b00785393967a7si2156539qkn.345.2024.02.07.13.40.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 13:40:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-57012-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@broadcom.com header.s=dkimrelay header.b=j+L+Xr5u; arc=pass (i=1 dkim=pass dkdomain=broadcom.com dmarc=pass fromdomain=broadcom.com); spf=pass (google.com: domain of linux-kernel+bounces-57012-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57012-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 9A6351C24EF7 for ; Wed, 7 Feb 2024 20:24:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3238E1292EE; Wed, 7 Feb 2024 20:23:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="j+L+Xr5u" Received: from relay.smtp-ext.broadcom.com (relay.smtp-ext.broadcom.com [192.19.144.205]) (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 8F9091272A8; Wed, 7 Feb 2024 20:23:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.19.144.205 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707337413; cv=none; b=ZL8ovN0Lm4HNe87QD/oZOE/5tBfo5DbG564YxgWoMfJoYCNjN0i6xeIOX5imbzf7aGPwaH93chDie3KS0zgq1PDlyd3wkev8kMLERmgZbPulPp91b2sw8e6FUGIH+8kPs63pPjA+bbdPI0YJ02NWqFablMzXvGkVmTJO8OoWHC0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707337413; c=relaxed/simple; bh=dD5CiEBNHUt0N9vBp3Iuh/sIzIg6rQGjDXZDEISTQvk=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=U0u7jIPS7tsn1yZn+gjXJLbjSaIgf/4oe2C433/XsBrD6ymW4n4DT+2k6jPXjLwRZzaYjxsw2NDCFEyBD6JIpsQt//x0Gx2OQfFnMI28ODoIwxinR0uBSZuWh9n9n0kHBnqanF+as7TEtrw3e8am4PrN2nfzW41fMXa0eHC5go8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=broadcom.com; spf=fail smtp.mailfrom=broadcom.com; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b=j+L+Xr5u; arc=none smtp.client-ip=192.19.144.205 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=broadcom.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=broadcom.com Received: from mail-lvn-it-01.lvn.broadcom.net (mail-lvn-it-01.lvn.broadcom.net [10.36.132.253]) by relay.smtp-ext.broadcom.com (Postfix) with ESMTP id 1AE71C0000EA; Wed, 7 Feb 2024 12:23:24 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 relay.smtp-ext.broadcom.com 1AE71C0000EA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=broadcom.com; s=dkimrelay; t=1707337404; bh=dD5CiEBNHUt0N9vBp3Iuh/sIzIg6rQGjDXZDEISTQvk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=j+L+Xr5u5YndSrR2wOyMNOhK7B/MmGQXbh9Bfpn2CU/l57PH0ocqBmRVUbSeBvEK4 O6NHVXs9CQ3os+3gVuuqteEpWkswLyzs/62d7Z0wBLcRdnvmrTZ3szKxYrUxMbXuVI jV58wuEvooE537rPfKq6i8ruIuxumwpiGNNSuE/A= Received: from bcacpedev-irv-3.lvn.broadcom.net (bcacpedev-irv-3.lvn.broadcom.net [10.173.232.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail-lvn-it-01.lvn.broadcom.net (Postfix) with ESMTPSA id 751F518041CAC4; Wed, 7 Feb 2024 12:23:22 -0800 (PST) From: William Zhang To: Linux MTD List , Linux ARM List , Broadcom Kernel List Cc: f.fainelli@gmail.com, kursad.oney@broadcom.com, joel.peshkin@broadcom.com, anand.gore@broadcom.com, dregan@mail.com, kamal.dasu@broadcom.com, tomer.yacoby@broadcom.com, dan.beygelman@broadcom.com, William Zhang , David Regan , Rob Herring , devicetree@vger.kernel.org, Brian Norris , linux-kernel@vger.kernel.org, Conor Dooley , Krzysztof Kozlowski , Vignesh Raghavendra , Miquel Raynal , Richard Weinberger , Kamal Dasu , Rob Herring Subject: [PATCH v5 01/12] dt-bindings: mtd: brcmnand: Updates for bcmbca SoCs Date: Wed, 7 Feb 2024 12:22:46 -0800 Message-Id: <20240207202257.271784-2-william.zhang@broadcom.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20240207202257.271784-1-william.zhang@broadcom.com> References: <20240207202257.271784-1-william.zhang@broadcom.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790277852385431059 X-GMAIL-MSGID: 1790277852385431059 Update the descriptions to reflect different families of broadband SoC and use the general name bcmbca for ARM based SoC. Remove the requirement of interrupts property to reflect the driver code and only require interrupt-names when interrupts property present. Also add myself to the list of maintainers. Signed-off-by: William Zhang Reviewed-by: David Regan Reviewed-by: Rob Herring Reviewed-by: Florian Fainelli --- Changes in v5: - Add reviewed-by tag Changes in v4: - Split the yaml changes into three patches. This is the first one Changes in v3: - Update brcm,nand-use-wp description - Revert the description change to BCM63168 SoC-specific NAND controller Changes in v2: - Revert the new compatible string nand-bcmbca - Drop the BCM63168 compatible fix to avoid any potential ABI incompatibility issue - Simplify the explanation for brcm,nand-use-wp - Keep the interrupt name requirement when interrupt number is specified .../devicetree/bindings/mtd/brcm,brcmnand.yaml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/mtd/brcm,brcmnand.yaml b/Documentation/devicetree/bindings/mtd/brcm,brcmnand.yaml index f57e96374e67..e54ca08a798a 100644 --- a/Documentation/devicetree/bindings/mtd/brcm,brcmnand.yaml +++ b/Documentation/devicetree/bindings/mtd/brcm,brcmnand.yaml @@ -9,6 +9,7 @@ title: Broadcom STB NAND Controller maintainers: - Brian Norris - Kamal Dasu + - William Zhang description: | The Broadcom Set-Top Box NAND controller supports low-level access to raw NAND @@ -18,9 +19,10 @@ description: | supports basic PROGRAM and READ functions, among other features. This controller was originally designed for STB SoCs (BCM7xxx) but is now - available on a variety of Broadcom SoCs, including some BCM3xxx, BCM63xx, and - iProc/Cygnus. Its history includes several similar (but not fully register - compatible) versions. + available on a variety of Broadcom SoCs, including some BCM3xxx, MIPS based + Broadband SoC (BCM63xx), ARM based Broadband SoC (BCMBCA) and iProc/Cygnus. + Its history includes several similar (but not fully register compatible) + versions. -- Additional SoC-specific NAND controller properties -- @@ -53,7 +55,7 @@ properties: - brcm,brcmnand-v7.2 - brcm,brcmnand-v7.3 - const: brcm,brcmnand - - description: BCM63138 SoC-specific NAND controller + - description: BCMBCA SoC-specific NAND controller items: - const: brcm,nand-bcm63138 - enum: @@ -177,6 +179,8 @@ allOf: - const: iproc-idm - const: iproc-ext - if: + required: + - interrupts properties: interrupts: minItems: 2 @@ -189,7 +193,6 @@ unevaluatedProperties: false required: - reg - reg-names - - interrupts examples: - |