From nobody Wed Jan 10 18:21:02 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 4T9GML43Ffz55YQ3; Wed, 10 Jan 2024 18:21:02 +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 4T9GML24Jjz4GHQ; Wed, 10 Jan 2024 18:21:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704910862; 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=3GK75PMIHeL5P1/HjJ5MBP5Yv/vOkecN/CtMIEmdUmc=; b=wxrXmo8oStx0PMg08vbL6n9VYaxBaQnfEqExDI8Rrm2cgWB9Lz37wstpIR+rq1LcTKqALM iVCsEWHFM+HUHwq+z75cZvi3F5W3KWE9OaP6F7yCriek8ciarejRSpt4jxU/rav9lTzBx4 9VC/c+w9e+OhQ5Tdx6q5aNfuyVK36TLsToilG7FOMUDUyXfTQLjDIp6xOQ9DUFMY7eYyEW YvPdGKqnVovZdzIq83EmutyWKh6CRolF6KtcjWKOg+Yv2dFGixHmmzCWkWBb2GwZe6tuRG DamCsCrTzt9sGzNV6BB8lDqJWaod1+LJdn/qDhszo16IEmw/DEjf5SFjC3kIKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704910862; 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=3GK75PMIHeL5P1/HjJ5MBP5Yv/vOkecN/CtMIEmdUmc=; b=CmJX2MEcSJ/mz0NHkHfP2odwjxrJcjm82yfDSN4MNa+qltkzHOaIfA4xzjzeqUpjq+yMCu IdwAgJIOaA5tu96FDvp2l+KXLgZiAi/zkMarHadz+4803ObDzwf/8R4CJALvB+ORWqyL+L 0ZXMDqy9Wst9yvQmQHd9Q+426U8IfaXq6O14klUmQFoo6YwRN7bPgg9FHXv4fPgadjM0MT v3z+J7rycx92bFykvRw0Vzr10Sur10ihqQJq9mdrX9Lm7piyDy2qznJ4eEL5z0r0EwQUFM lHVGgkmAuTXApb0/JkFo2KqfHyzZ7RAZXJQUIc4G4yrAw/REHfrYAj7ZrQRoQw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704910862; a=rsa-sha256; cv=none; b=RDkpD/rNRexzf5VVrqDJc+bq+sm47xtdaySw4YGbtdgQ8vv7NIUmKaBEfeMrjkhxAxGBff T6S70dPqpdjtvsfEVmBbKdiKYsYt+VSptEPILJzvQTNEtTwZ7/8tGzfVZG2w1TD65vtIzc He5ME6dtbU9cG5QHBmsDIEMgID1xi0D2Ylo2RPKQkbodeygu/fptBxWIioxZ+u4vdZ0QtF yZfRdwfPxgFcLK6C6rRedruDFdg1SOICCj1TabzDoLU/Izv42pS8lWZicVXOKSzBCXASxL KILDKphN4RWRwaVAV2yJQ6gqcCKk/aBKN+olwOcdfSMzb+K5zt97I1TdO4UB0g== 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 4T9GML1BDWzmJL; Wed, 10 Jan 2024 18:21:02 +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 40AIL2iF052775; Wed, 10 Jan 2024 18:21:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40AIL247052772; Wed, 10 Jan 2024 18:21:02 GMT (envelope-from git) Date: Wed, 10 Jan 2024 18:21:02 GMT Message-Id: <202401101821.40AIL247052772@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: 2e3507c25e42 - main - pwm: Move rockchip 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: 2e3507c25e42292b45a5482e116d278f5515d04d Auto-Submitted: auto-generated The branch main has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=2e3507c25e42292b45a5482e116d278f5515d04d commit 2e3507c25e42292b45a5482e116d278f5515d04d Author: Emmanuel Vadot AuthorDate: 2023-12-25 18:38:54 +0000 Commit: Emmanuel Vadot CommitDate: 2024-01-10 18:20:17 +0000 pwm: Move rockchip driver into the common directory No need to keep it under sys/arm64/rockchip 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/D43186 --- sys/arm/rockchip/files.rk32xx | 2 +- sys/conf/files.arm64 | 3 ++- sys/{arm64 => dev/pwm/controller}/rockchip/rk_pwm.c | 0 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/arm/rockchip/files.rk32xx b/sys/arm/rockchip/files.rk32xx index e8f838fb186a..5393b7784108 100644 --- a/sys/arm/rockchip/files.rk32xx +++ b/sys/arm/rockchip/files.rk32xx @@ -8,7 +8,7 @@ arm64/rockchip/rk_gpio.c standard arm64/rockchip/rk_grf.c standard arm64/rockchip/rk_pinctrl.c standard arm64/rockchip/rk_pmu.c standard -arm64/rockchip/rk_pwm.c standard +dev/pwm/controller/rockchip/rk_pwm.c standard arm64/rockchip/rk_tsadc.c standard arm64/rockchip/rk_tsadc_if.m standard arm64/rockchip/rk_usbphy.c standard diff --git a/sys/conf/files.arm64 b/sys/conf/files.arm64 index 1a141963a37e..c5f8207f01f5 100644 --- a/sys/conf/files.arm64 +++ b/sys/conf/files.arm64 @@ -380,6 +380,8 @@ dev/psci/psci.c standard dev/psci/smccc_arm64.S standard dev/psci/smccc.c standard +dev/pwm/controller//rockchip/rk_pwm.c optional fdt rk_pwm + dev/random/armv8rng.c optional armv8_rng !random_loadable dev/safexcel/safexcel.c optional safexcel fdt @@ -681,7 +683,6 @@ arm64/rockchip/rk_usb2phy.c optional fdt rk_usb2phy soc_rockchip_rk3328 | fdt arm64/rockchip/rk_typec_phy.c optional fdt rk_typec_phy soc_rockchip_rk3399 arm64/rockchip/rk_tsadc_if.m optional fdt soc_rockchip_rk3399 | fdt soc_rockchip_rk3568 arm64/rockchip/rk_tsadc.c optional fdt soc_rockchip_rk3399 | fdt soc_rockchip_rk3568 -arm64/rockchip/rk_pwm.c optional fdt rk_pwm arm64/rockchip/rk_pcie.c optional fdt pci soc_rockchip_rk3399 arm64/rockchip/rk_pcie_phy.c optional fdt pci soc_rockchip_rk3399 diff --git a/sys/arm64/rockchip/rk_pwm.c b/sys/dev/pwm/controller/rockchip/rk_pwm.c similarity index 100% rename from sys/arm64/rockchip/rk_pwm.c rename to sys/dev/pwm/controller/rockchip/rk_pwm.c