Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp238146rdb; Sun, 28 Jan 2024 23:58:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IHIX9JzD0SRhr7oZGKfbhGKVWTRmV4l4Evl5o92GzVAwJTC8F6G6IWabMh1k5l01O4H/TPF X-Received: by 2002:a5b:644:0:b0:dc2:266a:7814 with SMTP id o4-20020a5b0644000000b00dc2266a7814mr3405438ybq.120.1706515080348; Sun, 28 Jan 2024 23:58:00 -0800 (PST) Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id k2-20020a6568c2000000b005d8bef48a6bsi2662863pgt.502.2024.01.28.23.58.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Jan 2024 23:58:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-42313-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=@outlook.com header.s=selector1 header.b=EWaydKYg; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-42313-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-42313-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=outlook.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 6A6722843ED for ; Mon, 29 Jan 2024 07:57:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4AFA64F88E; Mon, 29 Jan 2024 07:55:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=outlook.com header.i=@outlook.com header.b="EWaydKYg" Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12olkn2070.outbound.protection.outlook.com [40.92.21.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5460352F81; Mon, 29 Jan 2024 07:55:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.92.21.70 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706514932; cv=fail; b=nD8CUlDoWZaI4TO5mwC31uQe/ovaCndFpCr2K7rhktVPpE8pimxt32NyDQ3D0GgUcrRbjbh8be1NQWhgbajaqMCfoMkD2UpI+yWl/NiALoMJLdjSbbYAGKE4djo08dsp4QwfucpC21JkaXpfXcEZFsempBO47x4HzjJtV8yKx5g= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706514932; c=relaxed/simple; bh=SZeP1flU4bcr08+GlMgfMtjmkez5BqSBT9+ng1ytWXE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=nSBZ7R/F7Ah28PK3/14nFXEQylitUfCwvp8wAxSDzc/gpwGTWvrRZHiy/fiQqg75aj9KxT47YIpIeanU2LCVQ2xlvFw8dArZLVKPLZ8KqMUWGL5PP+CDjTC35pI2jskbOmURRofvQOPUlmLroKDqRMaC6H5waw55cVp2N1iIFMI= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=outlook.com; spf=pass smtp.mailfrom=outlook.com; dkim=pass (2048-bit key) header.d=outlook.com header.i=@outlook.com header.b=EWaydKYg; arc=fail smtp.client-ip=40.92.21.70 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=outlook.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=outlook.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LkrI1Bq4MJ4cV3f6A3AskcWNBFlrYm6G0a6o9p2BwyhZ0d3IFxaK3nWLYPFoYSDEpiqK2y+kTrJpK46/nJ9PYU6UD/q/01CC+DTW/EYMAmX/JXxIlePtEISuiV/DlNKKX9ZjYCkNILBWM3SYEc8rRuyePg5yomb9Mwc/3cVemE3v59WQB4yV0Acdr5pzGpFEgqqsL4UsYTwz9ItnfBKO48tcUMV9Qw9Fj4fmhURBnadYPeaVaZUm/cAN97j8jyRexiLQHfY50N/MoBm3OsDxapPLl6w/8ztClZpekBGx6aUmzmOjbuTJpcpGnMqgPrdqo2Jk96VScethh+0PDxQM/g== 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=xjBgvvQkHFSnPomQfvg3wPkoBxvlSuTyQrf7Ad1MvYc=; b=Fs5OILhfKxuzzBr/o2xi5cuQGlJSSbe6qxzgZI4jPIBZ/5TYaD/WngGfWP8qp1kK8h6/EalqsK/vtbqlxqoZTnuUsd2XWOyuNF1Jj8mVrjJRkBEoMe8zLbus8AOPtCgfI0QA4v6bmJ8+lQPWLmu0DbABb0fkcTyovAZg5KwHvjtIZfOHKhgJqtWSZ4R3jGnTInHMnkaiMiOkiMm0gzh9li7B9kUCCW6Q7tauH75C4H3Exn0dcwG4xo33GN8++WrG/t4AgxeLbtroYJyOOUtYbRArkgkBW2zWm6RbrtgSGDtpf/C1EEhuRA02754XkcsC/vukUVp4ybrfQ1DMprwVbA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=xjBgvvQkHFSnPomQfvg3wPkoBxvlSuTyQrf7Ad1MvYc=; b=EWaydKYgaoSBvg1xUCrv+btHxRgLy+4/kBSCY15SlZym/v77xHH7HyWcemroAIt3xdHeVN2DG8qw+rtF6SlkmJVz0whZoysGkEPFsmhSVAfhFZGNBkeOgAYTGX5LASeO/8f2+N0Xge2G78ExNBcwF6EfVgwtfv4O3+OkXJehuHLQfO3SLhCi9RiUjZ64n3tZevkZ0g0oNX0bVwdpC0GTx9OzDNx10YeKs0HHkVHPfO7ab80Sb6xn5zR/vi3YWJyJV2jrySODXniHrMDAKg6+zAAwt77vqPxRUhEnHsK2pGz+SFpJltZOFuyZQX2MK5OHeAcRIsHYfhk2pJN+oqzknA== Received: from IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) by MN0PR20MB4644.namprd20.prod.outlook.com (2603:10b6:208:377::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7228.32; Mon, 29 Jan 2024 07:55:27 +0000 Received: from IA1PR20MB4953.namprd20.prod.outlook.com ([fe80::406a:664b:b8bc:1e6b]) by IA1PR20MB4953.namprd20.prod.outlook.com ([fe80::406a:664b:b8bc:1e6b%2]) with mapi id 15.20.7228.029; Mon, 29 Jan 2024 07:55:27 +0000 From: Inochi Amaoto To: Conor Dooley , Krzysztof Kozlowski Cc: Inochi Amaoto , AnnanLiu , chao.wei@sophgo.com, unicorn_wang@outlook.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] riscv: dts: sophgo: add watchdog dt node for CV1800 Date: Mon, 29 Jan 2024 15:55:20 +0800 Message-ID: X-Mailer: git-send-email 2.43.0 In-Reply-To: <9f9a1f5f-2104-4a5c-a837-cd8d18e173d6@linaro.org> References: <9f9a1f5f-2104-4a5c-a837-cd8d18e173d6@linaro.org> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-TMN: [njYDWdcDowIwul1ReWr5e7RnHS7dq3QXzUYPfsrArozPUOMkbcZS1PsRdSx0W7fI] X-ClientProxiedBy: SG3P274CA0017.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:be::29) To IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) X-Microsoft-Original-Message-ID: <20240129075520.604223-1-inochiama@outlook.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: IA1PR20MB4953:EE_|MN0PR20MB4644:EE_ X-MS-Office365-Filtering-Correlation-Id: dc8ed6f0-92c8-444f-b3cc-08dc209fa807 X-MS-Exchange-SLBlob-MailProps: obhAqMD0nT8ImFmzuH22ketkSXIUwA8oW1qSI1Hc0yVbuiguZfzYLDmcBjKppUlE72saBf3/eQFexr0yluamLweNuW4LQZbEPmJfUFgxo5dFMC7ZFy2yy3L8IOFTZs8pL2Hs4fwCKtbnaKlgkj5CmzghpHvaVt+1hDmEcy2HnvKxuLHGl1jXg5oOQiZhUyJFA/OFj2bDTeJDsBEGD/EwTIFq3Gp9XLIXY8qsvlM3DRMHnMhKXo3HCyL4DZ1tIBuqFAEJZa1qgJ25tG7/RU5nXWlJ5l92L11j/9EhOg5xkfv7/IAUuzEhkg6u54F9+npqCGeq5oAaMPmckojmx6rcwxiSawbtD2fod0UgYfEIKhe8fq22ddJMARacvmZSYrBVR17LhnV7irNWe2OYnop3WJNbASTl6ms2fXsgHEntOqO03WHgHoqkDukeE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exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?GCebfqB+z+GK5JdmC7w1olxA9iwoa/IWHTYXMQtTpje9DJ2ZI14JhtiRdbf1?= =?us-ascii?Q?Oc3iryB2XYL7kx+XhnqW4k+wE+r7Tzkk8v2Zxky7l7e3lQrcFGLg4Lu3WxYp?= =?us-ascii?Q?lvjUIURXcqmuk83NxC8vibF4f9SNIH7GCTqDgeEH8DyECprvwVGSH1IP4/cc?= =?us-ascii?Q?FQNAyH/VblyrI3ar3HT5fe6uzqKlCpvGVjBI08jeDowJcYan/jYhxqtVqVEy?= =?us-ascii?Q?brCIZUD2RmmgoLhtC4mwsz7V7t/JQVEuyY41VPZsHccti+tI7x0oWqaugOqq?= =?us-ascii?Q?UBrPI6op2PiSxL38LmCQUPanZ/GrKnxmXvUabDNUXG5F0rKEC66vKTbS0FEb?= =?us-ascii?Q?eiefCx79MGaw6RkBxYvlhWx0S3jV1G6gedMHgCYGxMAJmZ8OTH86FfPctRaz?= =?us-ascii?Q?MISV+POYHKrkOLAM0oCeV7TYpprJVXfNXgAMotwkFoDQjTRjDI34EnA/iBaI?= =?us-ascii?Q?o+LuyUXOmz6FOHYAkNfK5KI2pdfX/sX6aXPiIZ/6yaxtGG6gRi7awl+N1sft?= =?us-ascii?Q?4X2bSiC+vWdfW4djOXgV2mFRbUNajYlKI6zujqa5TwxD7Xx6DjrYsbu7ACfM?= =?us-ascii?Q?3JgHcfKoaV4hhjHASpkOBw+FS8YLcVO+1YkzGBwWh+AJ4gWKLe0kagKRtiMv?= =?us-ascii?Q?3XXXL31TssYjA+lIiWBmfGxN7hOEpU8wGpNwiNuNCQ2qDZCYl4G84Z+Cls4L?= =?us-ascii?Q?1XT/iYui3pEma1tOw+bT79+F4g2rknr9jJSzBoLLkmZxo+BRCuCXfakNMY8G?= =?us-ascii?Q?72ZvcfyU/KDD0SD9pLe0oXUJw/erdyWxWD77h+pFnu45VUZovXGP0Y6A5K/5?= =?us-ascii?Q?ZDz2KjbxtZn4qGt459FlARg8gWdkZEZ6MF0jFg2yk82RvqrPPyWYVu51C5j0?= =?us-ascii?Q?c+yIPk9EpCkxIasHM4rIg+E7bBdawHspOSSMyzwye0FRJN099VCWvhlgqvCO?= =?us-ascii?Q?eFLtY6fEn6Sw66mGq1LlgTbUngryqxMkd/V3Nwhnwm8Et48ba1NUIz5NPCZM?= =?us-ascii?Q?Y5TGXsslrCN++BSLepsLqLpVp9fAt3rgcKX0N/19Gi8SgL2iiREXgwIyBlG7?= =?us-ascii?Q?WO3jyoaloCBcobpuFTp25/yXYXKafCH4+M4irsDqjBZ3vtlZObRoLMfyj3dL?= =?us-ascii?Q?nb/3dSOeYx7VhRRqKzC9W8XH/+E5w1UMahuOWkaMU6PSgOpk/pA2MMqisXOe?= =?us-ascii?Q?EehKtGn9JQnvNt2NYoockjl8mvOFVpmnwRTffvHW6h6dSfHVUAcd84inhfad?= =?us-ascii?Q?epmnf/xOXH4R1v6ntVKoYvgakeJSlvUbR63CNuj1WA=3D=3D?= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: dc8ed6f0-92c8-444f-b3cc-08dc209fa807 X-MS-Exchange-CrossTenant-AuthSource: IA1PR20MB4953.namprd20.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jan 2024 07:55:27.3774 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN0PR20MB4644 >On Thu, Jan 25, 2024 at 01:39:51PM +0100, Krzysztof Kozlowski wrote: >> On 25/01/2024 10:46, AnnanLiu wrote: >> > + >> > + pclk: pclk { >> > + #clock-cells = <0>; >> > + compatible = "fixed-clock"; >> > + clock-frequency = <25000000>; >> >> It does not look like you tested the DTS against bindings. Please run >> `make dtbs_check W=1` (see >> Documentation/devicetree/bindings/writing-schema.rst or >> https://www.linaro.org/blog/tips-and-tricks-for-validating-devicetree-sources-with-the-devicetree-schema/ >> for instructions). >> > >> Also, why do you describe internal clock as stub? > >Under the --- line it says the patch depends on the clock series, but >as you pointed out the clock is a "fake" stub, so I don't understand >what the dependency would be. This clock should not exist. The watchdog may depend on the clock from clock controller.