From patchwork Wed Jan 26 13:21:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= X-Patchwork-Id: 12725045 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 A574AC2BA4C for ; Wed, 26 Jan 2022 13:22:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=H1kUyB8BPTyz3j/cvSo3ZkEfgXBTIqs/w3PwjvxLIWc=; b=bI1obvwHtZ4IGv BJRGgwwHqMcks9sF+qTuUVNC59tNwOmkf5FexsGDE+PyglNRXXw+sRgTfJONYo2bqNsfb/SB2aAgb HotcoPAC7lvKxKxKa4zidDIpcgpWf34uKsLdVa0dI5s3/HcKHtDyKelafMHpL/b7biflWil9EgSQ3 e2XkgUcdDwbp0LELGlQWPMFtLtTlSHeoZ5TYfD+v+D0P9splIBxd3896W2yjZN6HWeBCHyl1OFcC/ buvl4DvkC21jQICDpegSqFpzCL4DBUu/fRNR8O3vHR+456sgdj768KrYCIkCzgijzy4nDNKLaIJsE m4CxTMXjSZ1/4cIfhQsg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nCiEo-00BqVO-7q; Wed, 26 Jan 2022 13:21:26 +0000 Received: from mail-lf1-x136.google.com ([2a00:1450:4864:20::136]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nCiEk-00BqUM-GX for linux-arm-kernel@lists.infradead.org; Wed, 26 Jan 2022 13:21:23 +0000 Received: by mail-lf1-x136.google.com with SMTP id x11so63046168lfa.2 for ; Wed, 26 Jan 2022 05:21:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=YPco95DK76ST2okLDtvmb7ONmjJ60F5CP6XpsCcLwEE=; b=IiwOaRq8UgqtFuGmvEUmBRFvzl4BBBZJfV/2aA546FBj9RjSy5YriWH8Ij/uPxhlMF GzkZIMFVgve2fjbpSsLCzDu3xVVwd36KxD0A4AiHKopeH3GTbYNxtceBuVbJ5Hssy1+o CrfrsN0ivl1qp3bfKsd7XYjUKcl1fKueaGXmIbdY4C4Xyx5JE6YXY4070PdeThkvEiz4 TIBQGX2wD7f7UkF1MucshaM6LDHL9krimC+ZXIF8OKmckCfwQpVXxy942rZEqtRRD+PK EydeayvTc3XzS/6+X+hxTxO2DNo49vMu8uqr0L0lYuXU4Ek9dGxBrfAZ0xgJeRECXQm4 WPGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=YPco95DK76ST2okLDtvmb7ONmjJ60F5CP6XpsCcLwEE=; b=M7f9gg3wBlUUGKThr5UnRCvz+mKjKjsafbmrCBVUD7XHySlyQ9ZauVTBchp0D4BwN6 v+EozEPoDlWvD6DQflV+xNOyd9Ti4Kf9+FZRLPbZJwWfpfznS8GlhHqueoSDNtV1rphP xlhk4XnsizUUxNb9EbeEUw2Z2WLmOlIha4XFAExRi8gbXWL2e9lCVlxUNiOXgxbY9/X1 L/S1iTXWvGliJeet54uET1vx8AxXKjKfZgGUFyFAawxu84FPZBnUmSf8Ygxpv7KUDMN/ KXu33nLGpjRC5DeoNpOhiGHkq2oyH/o+WQcFqszETxxFd+lHvaPeSIt+qVYYNZxmHHmg 8EIg== X-Gm-Message-State: AOAM533sX0vzmvrKWKqFL3+7IObWnrXwbZQRcArvKiFSMcqlFf3zUZuY By8KC3ruCF6UBKBXHroA4dyJCJryGxM= X-Google-Smtp-Source: ABdhPJwvfYIYlhGineRB2Z3R2kzRKdspRIwhE1w0KrCVXzH3SX98//6P4de2AQYB1GKHUM16b8graA== X-Received: by 2002:a05:6512:3f82:: with SMTP id x2mr19745236lfa.40.1643203279647; Wed, 26 Jan 2022 05:21:19 -0800 (PST) Received: from localhost.lan (ip-194-187-74-233.konfederacka.maverick.com.pl. [194.187.74.233]) by smtp.gmail.com with ESMTPSA id x20sm1234483lfa.252.2022.01.26.05.21.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jan 2022 05:21:19 -0800 (PST) From: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= To: Wim Van Sebroeck , Guenter Roeck , Rob Herring , Florian Fainelli , Justin Chen Cc: linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, bcm-kernel-feedback-list@broadcom.com, =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= Subject: [PATCH] dt-bindings: watchdog: brcm, bcm7038: add more compatible strings Date: Wed, 26 Jan 2022 14:21:16 +0100 Message-Id: <20220126132116.11070-1-zajec5@gmail.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220126_052122_594197_AE2786C0 X-CRM114-Status: GOOD ( 13.04 ) 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 From: Rafał Miłecki This hardware block is used on almost all BCM63xx family chipsets and BCM4908 which reuses a lot of BCM63xx parts. Add relevant compatible strings and also include a generic one. The only SoC with a different block I found is BCM6838 (thus not included in this change). It may be worth noting that BCM6338, BCM6345, BCM6348 and BCM63268 don't include "SoftRst" register but that can be handled by drivers based on precise compatible string. Signed-off-by: Rafał Miłecki --- .../bindings/watchdog/brcm,bcm7038-wdt.yaml | 21 +++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/watchdog/brcm,bcm7038-wdt.yaml b/Documentation/devicetree/bindings/watchdog/brcm,bcm7038-wdt.yaml index a926809352b8..b663f360f571 100644 --- a/Documentation/devicetree/bindings/watchdog/brcm,bcm7038-wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/brcm,bcm7038-wdt.yaml @@ -16,9 +16,22 @@ maintainers: properties: compatible: - enum: - - brcm,bcm6345-wdt - - brcm,bcm7038-wdt + items: + - enum: + - brcm,bcm4908-wdt + - brcm,bcm60333-wdt + - brcm,bcm63138-wdt + - brcm,bcm63148-wdt + - brcm,bcm63268-wdt + - brcm,bcm63381-wdt + - brcm,bcm6848-wdt + - brcm,bcm6858-wdt + - brcm,bcm68360-wdt + - brcm,bcm6338-wdt + - brcm,bcm6345-wdt + - brcm,bcm6348-wdt + - brcm,bcm7038-wdt + - const: brcm,bcm63xx-wdt reg: maxItems: 1 @@ -37,7 +50,7 @@ required: examples: - | watchdog@f040a7e8 { - compatible = "brcm,bcm7038-wdt"; + compatible = "brcm,bcm7038-wdt", "brcm,bcm63xx-wdt"; reg = <0xf040a7e8 0x16>; clocks = <&upg_fixed>; };