Received: by 2002:a05:7412:2a8a:b0:fc:a2b0:25d7 with SMTP id u10csp168470rdh; Wed, 7 Feb 2024 00:44:09 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVTAf+Um7/YJ10jETvlE7cDt22trx0DEztz1n598qPnxfp7M9/hQMCdIAK5AzRD8ldfLQ5oQQzcH7sg1acoilbPm92yzNTwB39fAhxOuQ== X-Google-Smtp-Source: AGHT+IEVAc+0DhVf7FL/kE/c9T56fExOqUaFJgjSF9WSAva0O413Y86ZMkrbqg21t546dDgUsONS X-Received: by 2002:a05:6358:2241:b0:178:72b5:cf41 with SMTP id i1-20020a056358224100b0017872b5cf41mr2212580rwc.7.1707295448997; Wed, 07 Feb 2024 00:44:08 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707295448; cv=pass; d=google.com; s=arc-20160816; b=LmLi86+X7tSP5Ww9P/MApCSP68Joi3kEcCRoHNH2Q715Iqdq+PxViPbBXHtpkPVeW7 g7//PMgncAj8xew4L6mj06wgcUaOUi00zjMmWjXQ9/SIzRTqgyJHh4HVsxdn//HyFL9R y73ARLm0mrKbZ1QnCB+88zn/S0m4tu0ACZ88WSp/pSn03CD7Ttcnf0d1R5exRJe1ecYU X3regtbc2/SNhWcXwLidfPYhCRmVCrWU35zu+GxDKWf8R3iXl9kbN0yZ2XU69VCT+7SY sNFwh4sVk1xS4UYEgOQITnAx4bncufRhubLGZDZ/OlvaPhnO/fTHsVV+mnDwv2m2FQVR 0+Dw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=Vp05Gs6ocR+pGiy78G1ozNGgoHRJUMGLkTNH5sSFn7s=; fh=CCnc4kwQ+EN2wHbmxRRH2m71yzMV6ZpPiHtbh2xJV7s=; b=FToSyejWWz1943qxSEd1gvWLGQEso9DBHvP4FPtiG/WO5Fo6k3npvPIU7Q/qjFVNLi 5EIjL26BJVSvr6537cr0X/zF0O4CK9WMvBzFwMmBtY9zSXarJKiHpbb31+29+zZkvavG 9tiIj25fYa5UKOde+qycJaRr4Cqwj/1Ld8TMIEPj9HYQ/swjTxGBT+YatKKxk9Uxqo50 jAM6NUsWo6JOzE3TBWNtihpZ6jA8X40k5LkH1LDbsdAXt0OkmckoXRBJAop5FrjL7POY 5CL1SnNtxSzQ9/s3zxIuDL0lZoG9r+pbz6lfiSgE5Z022EMbkNe5qOY0n72pBJ7ZQlG5 FOvg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=mIdW6Q6L; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-56133-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56133-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com X-Forwarded-Encrypted: i=2; AJvYcCXS2tVyyzW2+mJCIQXjuqsVHwLXWUr+UHox1JvgR2RkDCDnFUTzjmnVJcPwsjCQvLpQm1QIXjstzIUXdta4rnrHzwUbDiq75QBzj1Cw/g== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id w18-20020a639352000000b005dc12a7b403si972426pgm.270.2024.02.07.00.44.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 00:44:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-56133-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=mIdW6Q6L; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-56133-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56133-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id DCFE0283CFF for ; Wed, 7 Feb 2024 08:43:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0D943208BB; Wed, 7 Feb 2024 08:43:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="mIdW6Q6L" Received: from mail-oo1-f44.google.com (mail-oo1-f44.google.com [209.85.161.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C06BF224D1; Wed, 7 Feb 2024 08:43:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707295413; cv=none; b=nSEsHSqsLH8OprFXHKq5KDjoKHv/Bj0NE9A3zJFVg//zg/0l6l5O0GtkOd4v4GBPzmiHcaOsWxg8NUIU8hL5nCW3OVNAmSn28yeOCt4NIYxkxlHiG1Ygi+OBGnKOsK0ibMKkd0znECG29l0q6XWL9FHF1q+iCJk9KOZZG2ciqQ0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707295413; c=relaxed/simple; bh=AeXERdhsZSdHZJPsNsgbAAFELh/zeIqHLhVRBaa+zZA=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=PEqqLVl8okSLpALUTpuDAQ3dPF/aIUEqRG08n7zxnq+dLga9lHhLO4cjkrjUsO5Muf5ls4UCDY/LsiEpg7aPAY3+BUAzQLNJ1CY+vIX6S1gd2PAUYOnHW3jKjaHx0pgiWNE4zzwaFf0yIxmR3Skx58PaHT/TuBZjVYUkcQ4cNWg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=mIdW6Q6L; arc=none smtp.client-ip=209.85.161.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-oo1-f44.google.com with SMTP id 006d021491bc7-5961a2726aaso208220eaf.0; Wed, 07 Feb 2024 00:43:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707295411; x=1707900211; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Vp05Gs6ocR+pGiy78G1ozNGgoHRJUMGLkTNH5sSFn7s=; b=mIdW6Q6LvdJvyEyZPNpvWyQwL2NkXFHL1ggJKGB2RTJLFnJ2lvC6cBo+vndqpgD/T3 Dic3GpGULKyW5tpXpsmAGlTZttNvIJCkrl/KXxnY2xoRrQ7g8GlBHCLU3zxlV4xXfkkW B5kiHnOfOge0WL2ZHZ+CCJJJgZ9TBE0iz1fEL2HLXXVvMeAP56o6Xi5tcv5X5S8eQs2p zWpFln72PLgOzSWNWrS4Xvxxk4pKgW4AgaHV5R2T06njRBfXr7frgh5zMy7b3VzKSCg9 UBkDYEr0Vr8Aq6DA7SC+d6x7Z8unQ4z4zLSvugECEmz2/mpMYwCxoDY0kZry39kN/SOi 48Ww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707295411; x=1707900211; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Vp05Gs6ocR+pGiy78G1ozNGgoHRJUMGLkTNH5sSFn7s=; b=PT9xYuGn7FKqAy6iCN8zi8Hu93a+AfHHdKDBV1XTdO8hwY5oj6Uwj8uLg6jMnpejPL dg3SmkiszwLl/uqSqfctBOs+Qv9uZ/nhbeGfOVmAc1tULo73KwJQKY/5lf8pFSNng73v YRpAbg9Y3FxOk5NGGT4lo+Be7kKJUmKoQE1GgxbhBK3xfExRStbvlwOZHWTbIcWLUeMf iw/TfzclaFXHSBS+4ImJBSyaUXAcQYX5e4sTuW557sHEmkZ8Vi7X3c80aZl/PrrsfF+0 Wy3RvLPVpuX3GNZ250XZcYg3wEOPFI8JiPU8/1GutfCOjrBEKPHgqe9ktm7VIrW/kOOv iEoA== X-Forwarded-Encrypted: i=1; AJvYcCVOPLBCXMuWs3OAlYKO4C39qwTpamjvtYYjmj/THa/9G8QGm5t+XnRTESnf94mvRf6qmLRLRIzNpnctXpSEe0RWNpLxvH9zaa/Rz9dvZ6Yy3S7Q9djxgdP0cHobOX32oY1SbjxkxF43RxehxAiKX91gaRTc0Usgk8uabktZw35e0+H8Yw== X-Gm-Message-State: AOJu0YzMCFs5bRUL7wG7GhH4Eq6PWz8h33ZXVLMr7ZRG6pztNtSsAR1T XpKqdl9odLzXwQzIujqzi5T6qgLSP2v8hUUJR2Ntv78mA2zzGs37b19eAAk0TN5nn7HOhXUzEUj ktAeA8y6Ondp1G73MczYojnNTSHw= X-Received: by 2002:a4a:86c5:0:b0:59a:161e:ed64 with SMTP id y5-20020a4a86c5000000b0059a161eed64mr4392036ooh.8.1707295410167; Wed, 07 Feb 2024 00:43:30 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240207055856.672184-1-qiujingbao.dlmu@gmail.com> <20240207060913.672554-1-qiujingbao.dlmu@gmail.com> <14d1464b-7d60-4021-bc33-b0e809f3cde0@kernel.org> In-Reply-To: <14d1464b-7d60-4021-bc33-b0e809f3cde0@kernel.org> From: Jingbao Qiu Date: Wed, 7 Feb 2024 16:43:19 +0800 Message-ID: Subject: Re: [PATCH v1 2/2] pwm: sophgo: add pwm support for Sophgo CV1800 SoC To: Krzysztof Kozlowski Cc: u.kleine-koenig@pengutronix.de, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, dlan@gentoo.org, inochiama@outlook.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Feb 7, 2024 at 4:09=E2=80=AFPM Krzysztof Kozlowski wrote: > > On 07/02/2024 07:09, Jingbao Qiu wrote: > > Implement the PWM driver for CV1800. > > > > Signed-off-by: Jingbao Qiu > > --- > > > > + > > +static struct platform_driver cv1800_pwm_driver =3D { > > + .driver =3D { > > + .name =3D "cv1800-pwm", > > + .of_match_table =3D cv1800_pwm_dt_ids, > > + }, > > + .probe =3D cv1800_pwm_probe, > > +}; > > +module_platform_driver(cv1800_pwm_driver); > > + > > +MODULE_ALIAS("platform:cv1800-pwm"); > > You should not need MODULE_ALIAS() in normal cases. If you need it, > usually it means your device ID table is wrong (e.g. misses either > entries or MODULE_DEVICE_TABLE()). MODULE_ALIAS() is not a substitute > for incomplete ID table. > you're right, I will drop it. Best regards, Jingbao Qiu