From patchwork Mon Feb 26 03:39:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Ji Sheng Teoh X-Patchwork-Id: 13571254 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 80FC7C5478C for ; Mon, 26 Feb 2024 03:42:23 +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=pfsYBngMkrWhzEY5yzoc+4tvY9z9jKCCSHu+L7rTX1E=; b=R+rKQtPOh3sXfy k0QuUpaVGqNDW6SaQID+GDVnVvKZqh8TAmRP81bw4qhDE0LPbQczpdPn5d2+Et4svgjag8hv9YpdJ EAv/Bbsqtao+mV6oAlvYXK29KTCy3YBC1IyaidNVaMh5T1yEX/coClwKvW7ZIGUi5uaA+7RoG4PH3 RQy1YjS6anozBgHzx+5e88gKucJBig0Yba9K8YT6NJB0tii/lqapJNBLuAaswtGPCjlsNlVnTdG3h MpJM14cx1lV4QX8znt8xGrAR+iEuyQBqFispW+In/KHtWWk0TD8da5/PaRYMix22NfhYb93CAWa95 DfHfYinok/jy8DWj0SlQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1reRsd-0000000GIvX-0Nj1; Mon, 26 Feb 2024 03:42:15 +0000 Received: from mail-bjschn02on20729.outbound.protection.partner.outlook.cn ([2406:e500:4440:2::729] helo=CHN02-BJS-obe.outbound.protection.partner.outlook.cn) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1reRsZ-0000000GIuW-2Oj3 for linux-riscv@lists.infradead.org; Mon, 26 Feb 2024 03:42:13 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OiXdRT0E8Csk9XwWF7tM4xH02ZIct2MLJyjXI7jdRjOpeYk6+0DYQuuWagvJkw/Wm73Yj5IYNwzQewdw2zFcLQrdFFdUFiVk3Qp+5GxRhiQiuzfFCQd01N5POQ+b2XVsMzNYS2w7Nc3pUfqmW7yQSGDjeHzOE3vA235WxUenM3dNaXN3H1Wpc1NuvMUHqib2oYx44Tjy/2KD1gzslBzyqgcj0Fz77stI02s6Cn+/2rZ4tJV8Wi+zTZwosq+mDEhL6JUmpDW44wToqGqbezfIkYQdT9Orb3oLNyo81Aq68YucELULX4keAutDRzPOyQqeZAk3ypL34+ZnLU7S9PMyDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=SYk9dwd+yZMVuVtJcySlzSb2Q2EM8dQK6yUJq+8ALv0=; b=PEq0lhr+OSXsetdL6txn4mU4NT7RCEaE0VIJAzAU6oQJeKU1WmVXMHgX8NymyO7CKHqyVD4dhtGG+RUE0PG7HQm20CbMtldfLtlMovsyLT4mMaQJVSbn0i7YoE0juIEdBckDq210fzHxAy6Q/nhjKn34pTE6ug/gcqx8gjqlA+WjpNTtqfOITru+RrsCSyedrqx8B9PpROYNzMvYmYWPWesbMBPA0JUnFpBML/5t42mvCHrEgNfTGQc7rTURXVXwFOMDRD0/Vz8H8mlgmkH9KnZB44EhPqXxCb950ck2nFiC+24gcmZP+0ApWRYEc+5ET2eVstwk5PjBdDW7k1hcRw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=starfivetech.com; dmarc=pass action=none header.from=starfivetech.com; dkim=pass header.d=starfivetech.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=starfivetech.com; Received: from ZQ0PR01MB1160.CHNPR01.prod.partner.outlook.cn (2406:e500:c550:19::6) by ZQ0PR01MB1063.CHNPR01.prod.partner.outlook.cn (2406:e500:c550:d::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7270.47; Mon, 26 Feb 2024 03:41:51 +0000 Received: from ZQ0PR01MB1160.CHNPR01.prod.partner.outlook.cn ([fe80::d0fb:daf7:3f8b:868c]) by ZQ0PR01MB1160.CHNPR01.prod.partner.outlook.cn ([fe80::d0fb:daf7:3f8b:868c%3]) with mapi id 15.20.7270.047; Mon, 26 Feb 2024 03:41:51 +0000 From: Ji Sheng Teoh To: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Paul Walmsley , Palmer Dabbelt , Albert Ou , William Qiu Cc: Ji Sheng Teoh , Ley Foon Tan , linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Subject: [PATCH] dt-bindings: pwm: opencores: Add compatible for StarFive JH8100 Date: Mon, 26 Feb 2024 11:39:45 +0800 Message-ID: <20240226033945.816974-1-jisheng.teoh@starfivetech.com> X-Mailer: git-send-email 2.43.0 X-ClientProxiedBy: SH0PR01CA0018.CHNPR01.prod.partner.outlook.cn (2406:e500:c311:5::30) To ZQ0PR01MB1160.CHNPR01.prod.partner.outlook.cn (2406:e500:c550:19::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: ZQ0PR01MB1160:EE_|ZQ0PR01MB1063:EE_ X-MS-Office365-Filtering-Correlation-Id: 9dd6ee04-37af-4115-d4b6-08dc367cde2d X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 1veJGaj9i4mQDGYHNk9MtyjZdJ1DXPBf9V3SdFbVq8LubOfve4paOLs/2eATdPitD3+FfvMm3ZrhQI9a3NJCDUKnou6OfvWFkmMvkKD4Nq9v1XHhML/du1TmY0amrVeZJ5ObHcKLf0jsCx3N13H3owqtYG1mBAnANMgPays5a///2RmC0BtOKbMCI6xzTv1kwF3Lf32VRgVlKAXQA58GY+Y7DCyXYpjb4liuXMy1+GWlmk6oV9OJd0mLdlvR/VFapORiGqjnXOMRtjceIvSxIkXgvi7mbwD2pq0zYoQYnr2gnOzQIK4P41HI2ZI7gIrDhQTgsi7RMRGACwGvQeC4n+U+wuU1JlVbvuUi1byiygCd1zoBLKLgjJEf2leEE0qIoVdXJzap2BMs2Wwb7tOnYaexytwbK6JTxv8edmM6rmhrqkYZ7aJ3o+9KxTpa47DwsCEUXWK9l2IdiLxspedJEj2CEypMFvDKJ6che1obhdXYEzCLVWnE4Yo03wZFC55gvtcLjEui3PCWX613JdYzZFPczonoTHMeaJFrSRIs18gskVD69fibt49jNUDCxBK1uvPR8jPwJ2paGJbDMl6Hz05mrIr8EbNaBza6/eeYtcbaOdzOLmOeziZlqQIxpExk X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:ZQ0PR01MB1160.CHNPR01.prod.partner.outlook.cn;PTR:;CAT:NONE;SFS:(13230031)(38350700005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: hPMzxJeTJzEyGfCEym4QScS4IG12GVvrDRlyLpAhD/iItk0yE7ypflku/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BflgzMWw3KA1LpNfG270gfHIaFRZrDhmSXZcMafGzK+zvhxsBwsYttcJkbMeSJ4Fd82vvGRxwCJrjb391zwEUtUx+92HPiq+zw2TBYK6iTeG8PsT7EtSUeJWVvqst0Oz9pfe9T/W4G6ABDE5ZOH2vyuleyt0OzQ1NZLLv27U4nbIoOWr53lr7UHfbuG0dg9Qto11ucqyzUyuw37++tXscl+QGOnu0a4RbgeW+BkHcbfrSivCdFmS8N0mm/+y1OllN3zEGiNiRX0GeCuzT5AXd07RhDQnw39KzzCE8mdG9tK21cbaCFqy+/zTxoQF8obAPx4+vQUKfbDnsqj5tYml/3xqBLMjL0fFQ+EmeZCU0nI7CtqTxbHpDm1kMCs27ryfUR39ZVUYZOwlaR+yeX2ahfHFGRZhYmh7YIuUHynUODGGjq2s8bzLcnoeKEQM1idJ37JUqCmAoEQQ4hnSQNhv/XR2Es122GEw== X-OriginatorOrg: starfivetech.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9dd6ee04-37af-4115-d4b6-08dc367cde2d X-MS-Exchange-CrossTenant-AuthSource: ZQ0PR01MB1160.CHNPR01.prod.partner.outlook.cn X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Feb 2024 03:41:51.3147 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 06fe3fa3-1221-43d3-861b-5a4ee687a85c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: GX19UHCwlk+A+WRDCa1F3tKrOgGJJ1hbGWARuOuJJjtNHTu8d/+ofox3CmiKkC6sQ3cmE1qfqUs9+tNJvyEfjJGbdPKZ+IpdwM5OkA5se/0= X-MS-Exchange-Transport-CrossTenantHeadersStamped: ZQ0PR01MB1063 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240225_194211_639712_94FD8BA5 X-CRM114-Status: UNSURE ( 7.33 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@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-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org StarFive JH8100 uses the same OpenCores PWM controller as JH7110. Mark JH8100 as compatible to the OpenCores PWM controller. Signed-off-by: Ley Foon Tan Signed-off-by: Ji Sheng Teoh Acked-by: Uwe Kleine-König --- This patch depends on patch [1] ("dt-bindings: pwm: Add bindings for OpenCores PWM Controller") in Conor's riscv-dt-for-next branch. [1] https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git/commit/?h=riscv-dt-for-next&id=2529085831b01fcd02ff58ab4e2596d3b31bcf80 --- Documentation/devicetree/bindings/pwm/opencores,pwm.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/pwm/opencores,pwm.yaml b/Documentation/devicetree/bindings/pwm/opencores,pwm.yaml index 0b85dd861dfd..52a59d245cdb 100644 --- a/Documentation/devicetree/bindings/pwm/opencores,pwm.yaml +++ b/Documentation/devicetree/bindings/pwm/opencores,pwm.yaml @@ -23,6 +23,7 @@ properties: - enum: - starfive,jh7100-pwm - starfive,jh7110-pwm + - starfive,jh8100-pwm - const: opencores,pwm-v1 reg: