Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp846558lqp; Sun, 14 Apr 2024 02:11:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVLoZ0rXcF0o8k689Vbc7Iu4udNYjV/E2/+s2pRQBFyQBQuAVvtXgCLWXYMDxBQUDoySdOHKwgmpo5QXLNPV1H51wdExqAKeIBkhS3Ayg== X-Google-Smtp-Source: AGHT+IEHLWfcw5vlwz/t7edctagacAFCFDc+z3OsSL2Ms7fwJfolEZjCnsiNtZZ/rDMbUGKhOrGr X-Received: by 2002:a05:620a:7f7:b0:78e:e3ba:4ce7 with SMTP id k23-20020a05620a07f700b0078ee3ba4ce7mr472666qkk.34.1713085907082; Sun, 14 Apr 2024 02:11:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713085907; cv=pass; d=google.com; s=arc-20160816; b=Y3Q8ndkrIldZDruugwFU/bu0/9xCjs9U07e6X9cXStTbq/IVPFa5dDJiwaPeQ61OxZ W7tUbeWQdCAZ8TQGZdh235SwHodjZ10bJzBYE4mRnQubp3hrUta7H9mVW8msPKsBi3ua Q7sT5tSZ5hdg/1ipby4ZLm3L/wFrq3gue1sUNVY4XzTrhOLuN6ImFG1JXVGzXAGucyWT WvwLCFXe4foQ9Yv/dAkzrWpVNei7a8fG5kzZig5tbZZH8/bEQvYA2y4+SJC5pYfYB82O HR0hYJ7p8e+7RkExCDBV8WShIKobar8qpP79mXdQ6gm93045ugPutcs6QndaenQK0RRe bH0A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:organization:from :content-language:references:to:subject:cc:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=ucqJYAIoktU0BaFjFoxsK2t1BH4GJs/UThpTq3LARR8=; fh=QTdP00+oexRtS7fP3Dph6q2i5MkcOPMn64yaP7f1Bu8=; b=ZrhVLYCUyMysa6oa0SuJtskRYZTGfrhlzTO5LiQZmRnyvn0w5OoSm3BYcFFnxO2B72 oCu8mLB4lUS6Ck2dYQXA1MIoHrHdpOhpyDAxUmLko8ib1Ul0nVrQgff+mGsOmH28JBFY /Izal4ctTho74HTk2TyW8efMzIncs6HeLKqSvFw8jIQPw/Z8zOU22isM3nkJ1ja+66rZ vS7sU0bJfeqEHsxjprgItzUhdeBzlnhBxTL7cYenszbzz5MfvQh5tfyTW2jAVe9V2hbE YiwFbNl41nhPsJ1GtC/zook9gJ6SU1l9Myj5TvCBPs4Q+QTLO2I7Y1SZt2TOLPNwYDDy IXOw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=GN1CMzsY; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-144069-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-144069-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id q20-20020a05620a0c9400b0078d56521f18si7501667qki.178.2024.04.14.02.11.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Apr 2024 02:11:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-144069-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=GN1CMzsY; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-144069-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-144069-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 8C6A41C2085B for ; Sun, 14 Apr 2024 09:11:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C740122F17; Sun, 14 Apr 2024 09:11:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="GN1CMzsY" Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) (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 9203D24B28; Sun, 14 Apr 2024 09:11:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.197 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713085897; cv=none; b=Nbs5b2omu+0CRAmmROjAUIc8CSC9N9HXeSpZV3QLh2HdcA5TXdFcfWUCE0qGdHs/j7bh7v7cFzLJES1ics2/wviyXL3o1yEqurMTW3j2bNZd1kDRDSGhXduWzCW/xU+g9OmBHRFJC2B++nrE5+FTPgeytFVQKzxMLmOkUvIR33I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713085897; c=relaxed/simple; bh=i3mHY9s61s8hPoAu7VOWUAI7hIuoJftUIgMHk6z8Bp4=; h=Message-ID:Date:MIME-Version:Cc:Subject:To:References:From: In-Reply-To:Content-Type; b=BYhHkkVc2ovIsvAtIUd3zG4fYHwE5kGO9YTsYNhj8JUOiD0gerFoArhJs034Be9KTZs3CxggWcnaqhoV9OxVx5ScvEfyAnSdTooks0TDWdVrnIkbfdUI1sIOyx1gGQvHT7reuo2SqMZ1X2SRmuKBenBF8sW0f9nVYcaBYSeQ//I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=GN1CMzsY; arc=none smtp.client-ip=217.70.183.197 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 6F78D1C0002; Sun, 14 Apr 2024 09:11:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1713085886; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ucqJYAIoktU0BaFjFoxsK2t1BH4GJs/UThpTq3LARR8=; b=GN1CMzsYW7HkiiQrLBRaZXY727moXji1hMlvFRdiPgg6fCYeRSQwCVWksVXkI2DwGQfONe pYxEbZJ+Ak50/dzaIBqrtOBv4063jSM8zfgb1T5qf4ky6s0CEtspCoLIda7Eq+D8x33SPc tC6O+ycHpdMeMmOYpLg2cDtTtFClbwxaOJL4uuUrG7ZFNLuRMoh9R4ObS6k4ktdO4lHPQA 4k+Ns5LX0kNJ7zzef1LBltq7nYVIHe20P4NnnnjdbjiJyUSUwU+vV8ZDwd6PiFRUPx//rt hgNdqGfMhNqcHuvnLdTK/7THiJRlPkWvUjT6pRATdOOqAO8d6XrsDoZJUAWuDg== Message-ID: Date: Sun, 14 Apr 2024 11:11:22 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Cc: michael.opdenacker@bootlin.com, Jisheng Zhang , Liu Gui , Jingbao Qiu , dlan@gentoo.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Subject: Re: (subset) [PATCH v9 0/6] riscv: sophgo: add clock support for Sophgo CV1800/SG2000 SoCs To: Inochi Amaoto , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chao Wei , Chen Wang , Paul Walmsley , Palmer Dabbelt , Albert Ou References: <2696c0e0-0f15-44d1-ba40-dcab4be802d2@bootlin.com> Content-Language: en-US From: Michael Opdenacker Organization: Bootlin In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-GND-Sasl: michael.opdenacker@bootlin.com Hi Inochi Thanks for your help! On 4/14/24 at 08:43, Inochi Amaoto wrote: >> Hi Michael, >> >> I think you boot with the `defconfig` config. This config does >> not enable the CV1800 clk support. I think you may need to apply >> [1], which enable the clk driver. Also if you want to test sdhci >> with real clk, you can try [2]. I test them on the Milk-V Duo S. >> >> Regards, >> Inochi >> >> [1] https://lore.kernel.org/all/IA1PR20MB4953CA5D46EA8913B130D502BB052@IA1PR20MB4953.namprd20.prod.outlook.com/ > I make a mistake when reordering the url. > [1] should be https://lore.kernel.org/all/IA1PR20MB49537E8B2D1FAAA7D5B8BDA2BB052@IA1PR20MB4953.namprd20.prod.outlook.com/ Indeed, I was using the "defconfig" config. Too used to having everything working with this configuration on RISC-V :-/ Gotcha for the CONFIG_CLK_SOPHGO_CV1800 setting. However, I'm confused. Why is this setting available in linux-next, but neither in git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git ("master" and "for-next") nor in github.com/sophgo/linux.git ("master" and "for-next") ? What's the tree used to push to linux-next? Cheers Michael. -- Michael Opdenacker, Bootlin Embedded Linux and Kernel engineering https://bootlin.com