From nobody Wed Jan 10 18:21:03 2024 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4T9GMM5tg4z55YDW; Wed, 10 Jan 2024 18:21:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T9GMM2ZxKz4GN3; Wed, 10 Jan 2024 18:21:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704910863; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=h1nwcSD1P8b8eHxb09D/PNOYW9cq5RfnPb78nAxrtoE=; b=ghu3x/aK0/b7KCzoLi49c88Gg/jjX3VqZ0nDuUseYF9tLQexI/dBPZqpFideOzGRVI5W0W 6CP06jgx/fNuZww3Ina1/h5kNXessjEQneNjgKEls/mHD5NcnBZALSdQvE1mEck1TVmac8 f4uZe/PQ9J1bsIlldBniDrKkZSi0AvxAMG6jUeA2eKPegkUX1X4SD/jGlIoGKj0r7QSV4T 4rtbHqpcJ6T8MgD2lOx74WLwYOt4weHW42dCCRc57/J7wt8uCtKdCbGEbt/XpJF+ln+4J/ +arHMCtUr/r8QM9+o35AFVQd2hvT1Qn5s4da4dy1Dy3gOjWshGKHRlvacQrJEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704910863; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=h1nwcSD1P8b8eHxb09D/PNOYW9cq5RfnPb78nAxrtoE=; b=cBk5YbslNl0+iN2t1pQH2Npdpb5z4CYj/0AxDXDEf+JhtPCvgLH5SyuNr6cRxoHFOVHJMH qJmfXra8ddKD5VVajMM0MmCnlG2lNOzpli2VmRMs3oSKQST/VGmkdVfdqCMVtpsGeojJ2Q 8jh5QxHNOFsoj+1HLjlknTXxpkPtYD5nbuGXtcBdu0AxgtBtpCPQfr+LMb8g5BEQp/2FkZ uJsIxej49DZAybzbkVWYZj1InT7L4LeAGNrfuG24qMfyioimvRgYRgWyifjngK3bh1bc+W q7PBIz0HhBKXFynX5xZoLE6tsgSdI5oGiM9IoADVJeXDZQ1baPrgr1AQq+8MGg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704910863; a=rsa-sha256; cv=none; b=urdG44ubSU+BfFBSW0gn7LCltupxApSYEeeMNxvk+X9aUWUrLCRbQI/XuA4RGiLM+sq15e vfJVF5DMx7PVUJZXZtvFO3py8GLa1V/bzq9bcOYynxwxXs/UlVVOr75MUZsZfqCgg3Njvo ocr7sKRgLqNa1TJmVsm1/IQujnYU7Uow05HBPXHIaCXg8e1eVQGIc+8w/gN5riWuQ/p6YJ 7RKm931NfbwdkFLYJCEw9JRjdS+9Zn3CInuwkg+18sBOsBhDOJ8wN6yzInruSp6YxE8ZFF 6C0i6DxT48vlmkwxBpdOzwDDFuJAOrzjC7/bdXIvSmQ0s4+6VOX2VPWwV0P4ag== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4T9GMM1hdBzm6K; Wed, 10 Jan 2024 18:21:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 40AIL3eO052831; Wed, 10 Jan 2024 18:21:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40AIL3OA052828; Wed, 10 Jan 2024 18:21:03 GMT (envelope-from git) Date: Wed, 10 Jan 2024 18:21:03 GMT Message-Id: <202401101821.40AIL3OA052828@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Emmanuel Vadot Subject: git: 02e912089377 - main - pwm: Move allwinner driver into the common directory List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: manu X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 02e9120893770924227138ba49df1edb3896112a Auto-Submitted: auto-generated The branch main has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=02e9120893770924227138ba49df1edb3896112a commit 02e9120893770924227138ba49df1edb3896112a Author: Emmanuel Vadot AuthorDate: 2023-12-25 18:42:03 +0000 Commit: Emmanuel Vadot CommitDate: 2024-01-10 18:20:19 +0000 pwm: Move allwinner driver into the common directory No need to keep it under sys/arm/allwinner It's easier to find which controller we support by looking under one directory. Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D43187 --- sys/conf/files.arm64 | 2 +- sys/{arm => dev/pwm/controller}/allwinner/aw_pwm.c | 0 sys/modules/allwinner/aw_pwm/Makefile | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/conf/files.arm64 b/sys/conf/files.arm64 index c5f8207f01f5..db5ef64eb583 100644 --- a/sys/conf/files.arm64 +++ b/sys/conf/files.arm64 @@ -380,6 +380,7 @@ dev/psci/psci.c standard dev/psci/smccc_arm64.S standard dev/psci/smccc.c standard +dev/pwm/controller/allwinner/aw_pwm.c optional fdt aw_pwm dev/pwm/controller//rockchip/rk_pwm.c optional fdt rk_pwm dev/random/armv8rng.c optional armv8_rng !random_loadable @@ -442,7 +443,6 @@ arm/allwinner/aw_i2s.c optional fdt sound aw_i2s arm/allwinner/aw_mmc.c optional mmc aw_mmc fdt | mmccam aw_mmc fdt arm/allwinner/aw_nmi.c optional aw_nmi fdt \ compile-with "${NORMAL_C} -I$S/contrib/device-tree/include" -arm/allwinner/aw_pwm.c optional aw_pwm fdt arm/allwinner/aw_r_intc.c optional aw_r_intc fdt arm/allwinner/aw_rsb.c optional aw_rsb fdt arm/allwinner/aw_rtc.c optional aw_rtc fdt diff --git a/sys/arm/allwinner/aw_pwm.c b/sys/dev/pwm/controller/allwinner/aw_pwm.c similarity index 100% rename from sys/arm/allwinner/aw_pwm.c rename to sys/dev/pwm/controller/allwinner/aw_pwm.c diff --git a/sys/modules/allwinner/aw_pwm/Makefile b/sys/modules/allwinner/aw_pwm/Makefile index 2ffc5baab879..8aac8f5ebe8a 100644 --- a/sys/modules/allwinner/aw_pwm/Makefile +++ b/sys/modules/allwinner/aw_pwm/Makefile @@ -1,5 +1,5 @@ -.PATH: ${SRCTOP}/sys/arm/allwinner +.PATH: ${SRCTOP}/sys/dev/pwm/controller/allwinner KMOD= aw_pwm SRCS= aw_pwm.c