From patchwork Fri May 31 14:11:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hironori KIKUCHI X-Patchwork-Id: 13681738 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 36AF7C25B75 for ; Fri, 31 May 2024 14:12:50 +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:References:In-Reply-To: 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: List-Owner; bh=zWDbVyJ5/W7Ig3qJdMrlufWbYOpl0c0Fpbk+GSXX5jk=; b=mtUxOlNWVeKUL3 /BkQ4rYKbuR6Xj79mYAEK+HbZrqPMEh6ii5WcJYCqXKI0tH/QOTAz9qPti+saUx3NKwDLRfqlwimv jcPaWDCZvAUj82HnawMsZAr3FqGGSSUldnUOzqwQjxs447pq4//ov+nY+tH0Le1TcgRIzlAbts7GG O0LfjLH4tr466E5Feeu/W8dTBBdQeBsYz9LQBbiEUnFyswp/iqCQV/Z7zHnezpNr0w7syKcteryLM NkrPlxHbKtHpfvIyZCwvBwPbbNCfjhJZor6W55n2qF3RYCuIudFKUnVfY6s+peXhBeV50u1jciH98 DCgmU8MCSp3qfV2LJgpQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sD2zo-0000000ASvx-16yj; Fri, 31 May 2024 14:12:40 +0000 Received: from mail-pf1-x42e.google.com ([2607:f8b0:4864:20::42e]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sD2ze-0000000ASpE-12za for linux-arm-kernel@lists.infradead.org; Fri, 31 May 2024 14:12:33 +0000 Received: by mail-pf1-x42e.google.com with SMTP id d2e1a72fcca58-6f693306b7cso1888555b3a.1 for ; Fri, 31 May 2024 07:12:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717164748; x=1717769548; 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=CPJfZzAlshx5ECsaUbb27JTh2zfd8fB5yh8nTmdx9Ew=; b=aPKwwr2JiCURCFe/G8z9LdhQDXhLkbnRIwngwiaLjJSWuva3r7zHKOu5TGvDeQhxC4 5BhXf7VsXcKmtpqUY19H7ANxdI33JiPp40rG+dCRREpYVKClA32EeLC5D/vZkMfKACKC R1wyrJcD9ler+NM7BUHpV7ShxWNQFW3qE4nMHZvXrjpwCFSPm3nIUg60/c1DU3EI/Rjc le0JkaHvepmCm3nEgSWfP7nmW6mNBQw826Wq7v/7ptM9nYfYluB1FNFo0wkAnbS3Fz/5 rCvo4EJ2RyrmFq10UCpBnGg2fT2GBdf/QdOnI9DoIaQvjbQG5dm66MSOag4zkuWxp4F6 f83w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717164748; x=1717769548; 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=CPJfZzAlshx5ECsaUbb27JTh2zfd8fB5yh8nTmdx9Ew=; b=dXdgS2TmKpfjKSxBqCtV2lNbmh8DirMNtkL5dH9OjNdY5aBtI2K0Kyro8XV5zW8rB9 Bho4N70U60tazBUFPM1niT3GFI7TZXBPJ1Xa1ihtWkL6a9JAEXZaqoCiId9waMZt9mwx FNIFNbgztOFn+a1wP9VLf/7dOHyCMzihNgRK5vKWBW8ZOkAtI+zU3JL2Xg3TLi/zpuhq bEDLVEEg7Ig+9OGkYvP9y5ivtdjL6vXDnKUpztVRQFN68ItNF1MComCN/L/cdQ/x0Kpf ZSl115KyrcZnAlV00tOBQO1s+FlI+lRLvhiVqbY9KR5u+uXesolPH42AUvNZdfKC8mJs BXbg== X-Forwarded-Encrypted: i=1; AJvYcCWPNw6VKeSqTh3YuGLIoh7vbqZNKmd1BpfudKmefAYMDrZiWZrid5Z5cpf0RCRgiT0F/30OhrYoJHjZcH6cLIsI7AKD27DOUtqIctUXVnBil2CoGX4= X-Gm-Message-State: AOJu0Yy/EEL7zWS7Aaym2nI9ZMPv9FpZWXxkdqTJBgsCx+/ZJTK8HREj ULaOEGsp477SIfCWqz/frxmRVfzPPDmzEDtZK6WPkhzoKtLMy3Uu X-Google-Smtp-Source: AGHT+IFUfZFrkaT77WlxLeA/cfEsI2cTENqqh2ey9z8VUL3vIVSJO76NvoXO2i0KDDceR47Z029OGA== X-Received: by 2002:a05:6a00:244d:b0:6f4:43d7:6bdc with SMTP id d2e1a72fcca58-702478c6fbcmr2196315b3a.31.1717164748356; Fri, 31 May 2024 07:12:28 -0700 (PDT) Received: from noel.flets-west.jp ([2405:6586:4480:a10:167:9818:d778:5c14]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-70242b057besm1418103b3a.162.2024.05.31.07.12.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 07:12:28 -0700 (PDT) From: Hironori KIKUCHI To: linux-kernel@vger.kernel.org Cc: Hironori KIKUCHI , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Aleksandr Shubin , Cheo Fusi , linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev Subject: [PATCH 3/5] dt-bindings: pwm: sun20i: Add compatible string for Allwinner H616 PWM Date: Fri, 31 May 2024 23:11:35 +0900 Message-ID: <20240531141152.327592-4-kikuchan98@gmail.com> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240531141152.327592-1-kikuchan98@gmail.com> References: <20240531141152.327592-1-kikuchan98@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240531_071230_355364_92583FCA X-CRM114-Status: GOOD ( 12.35 ) 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 Allwinner H616 SoC has a PWM controller similar to the one in the D1, which is supported by the pwm-sun20i driver. The main difference is in the register layout. Specifically, the GATING flag is placed in the PCCR register instead of the individual PCGR register. Add a compatible string to distinguish them. Signed-off-by: Hironori KIKUCHI --- Documentation/devicetree/bindings/pwm/allwinner,sun20i-pwm.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/pwm/allwinner,sun20i-pwm.yaml b/Documentation/devicetree/bindings/pwm/allwinner,sun20i-pwm.yaml index 89cebf7841a..b9b6d7e7c87 100644 --- a/Documentation/devicetree/bindings/pwm/allwinner,sun20i-pwm.yaml +++ b/Documentation/devicetree/bindings/pwm/allwinner,sun20i-pwm.yaml @@ -17,6 +17,7 @@ properties: - items: - const: allwinner,sun50i-r329-pwm - const: allwinner,sun20i-d1-pwm + - const: allwinner,sun50i-h616-pwm reg: maxItems: 1