Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp968010lqm; Thu, 2 May 2024 00:49:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUeZB55q1Q5Y8pb9nAZW9U6i2xlV4lQmj/m8hcgojH9LeO1qzT2xxIEjMK/8BMxjMCA+Z3462ruCxPjrPYOpvsiOTfQSEQmBIcDe+16dA== X-Google-Smtp-Source: AGHT+IF6VgQs0Xnuwrcj1d3Ieh2X4qsyrVBWTO7y5Yz4zZnbqGDkzbiMGLXaYT3g+YGPeDQlaIEN X-Received: by 2002:a05:6a21:3396:b0:1aa:8fe2:5adf with SMTP id yy22-20020a056a21339600b001aa8fe25adfmr1780280pzb.15.1714636155116; Thu, 02 May 2024 00:49:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714636155; cv=pass; d=google.com; s=arc-20160816; b=u/e/LySrp+SyT1960bW5wlhpdK8d0JzMhzmX+TLzp4eQMjoJHfFBuP0eH4nKmBuk4u uZPfWSbUO2O+ofbHQwBl6iJyaKWNcs93kYqcp7ZrEKG8rOX3y5v/+4mcZ8bFTd9Dz1dP 651VxOuTjpDa5P4VOqNnQFbXSiZFgcGrJfZXnKVN/K3AeANI02vekRtmWHewaM1mA9YW fFfLUkWc/KgbUP+ZQa7AolI4P/hoaeB+jHu1BWa405vw+yNiuEuUZeDVX2VHsYHHjl5V vqQ3UNu2E2zhCx7Faf2s977eNedtiClXIiWXlEeWpOaN7RLIaLE4cTA4yqTyGTL1YnKk mjTA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=vhXtmRv3kbKgnYd6PjMU3UqcLb0WMxLPFCLc04cLDYY=; fh=+MkEdmGnlLdUEqFLxnhDPcibvGy/phFXcS6xaZZA5jM=; b=J6dlnfiZUqandF3ydfXTkW3395sn1qMEaDMzHZoscVJRYGfIaH3Oz2Bmv1LGsedoBn yGSevZKB0zxzx7+JhYcE9NOkrw9BYtSAlqqxLCBIAyCpUT4BwTnr0PEo17X4Q0tbT4FS aqI+zxCRCxwYU72HVX9Wp0HtRImH85Tp/Sfhe25f3KqVGrQbam6BaftdhOYNvvN9W0il DYGId7+pbfE/eN2JpnDDE4bj0PhjHLAfbBHjvKrXxKhKoHAvQMHW/RMRc3HUgDRFkYDw HVR9MqHiyad1nWSgc0tWW9bzA7xFBfZ9zuuAS2zRRsbpUEL9n6gHy7TJxiZ4248qt+67 WGxg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=dYnqEXt1; 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-166071-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-166071-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id nl8-20020a17090b384800b002a525340be6si2961473pjb.93.2024.05.02.00.49.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 May 2024 00:49:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-166071-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=dYnqEXt1; 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-166071-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-166071-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id BBEFDB2137A for ; Thu, 2 May 2024 07:48:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5FC753F9D9; Thu, 2 May 2024 07:47:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="dYnqEXt1" Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) (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 47112225AE; Thu, 2 May 2024 07:47:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.199 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714636067; cv=none; b=fLgo8aNdKYISMXbRT+TrrSLojKIjh//w4rg87PPJr4U7ekfDgJ2MfKBtqKbWby/TVYnIZpw9NhwKIGtY+pFwm5muB8J0dsnDLoW3Th7xq5+Ror53ZeeYVK6nuq7lkxZeVWMWvHGYd78WJWRarjyVK5US80o2j3ndBLIFj0JpeZQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714636067; c=relaxed/simple; bh=tAkFuTt9zkG5ZBtL1Yv3248sv5gx/vvbNt8665mwxgw=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=e5H1FsYrZ7eYW2tXMmbySZ3KYydHDcWHC5GtBtgpLm42qOJfRkGoZOY/u+1fDkGeigJrkrNtfCIHcwsYRx9HBHpRPfjHSZs7yNqvzycbr9rZyIIX8c+jVe1HlU2c2lY13Gy689B6Fp5FnP66uYjufwjmGh+dDpTnbvvU7tGOXjM= 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=dYnqEXt1; arc=none smtp.client-ip=217.70.183.199 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 A4183FF80E; Thu, 2 May 2024 07:47:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1714636063; 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=vhXtmRv3kbKgnYd6PjMU3UqcLb0WMxLPFCLc04cLDYY=; b=dYnqEXt1YNKWgJZAg//9nAueSIXvkhnkrzXNziy64VRfhQRLC4LLmXKNJ4iTNKZgj+i1Ah GxjzyWJOQgMIy+NoiuBXRUz/FinD3VEmbMP5Z/Q/M5uGVP3mca94UcphgiPCz3T0yjdL1a /W78laTzvdpKnxmPkJwowz2Q70RJ/C8FsTQEXQz/9LDl7OdKXK2K2FSgs9caAGMDdWvhPE b6fy+SDXjwjtje5h+OOURmG8bnRzGBXBawFIGd4Vn+/tSVbRaO10S+L5rKiaC6VGEi7RkQ WRWQJnXnWYuMjK0NXPYUxzpaeGZVefX4Xfy2HRoKUEZ1NcqidPJ9TgxYgIaYnw== Message-ID: <1444dac5-c725-4bf7-8843-469a62c3abf1@bootlin.com> Date: Thu, 2 May 2024 09:47:43 +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 Subject: Re: [PATCH RFC v2 4/4] riscv: dts: thead: Add clock to TH1520 mmc controllers To: Drew Fustini , Jisheng Zhang , Guo Ren , Fu Wei , Yangtao Li , Emil Renner Berthing , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Paul Walmsley , Palmer Dabbelt , Albert Ou Cc: linux-riscv@lists.infradead.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Miquel Raynal , Thomas Petazzoni References: <20240426-th1520-clk-v2-v2-0-96b829e6fcee@tenstorrent.com> <20240426-th1520-clk-v2-v2-4-96b829e6fcee@tenstorrent.com> Content-Language: en-US From: Thomas Bonnefille In-Reply-To: <20240426-th1520-clk-v2-v2-4-96b829e6fcee@tenstorrent.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-GND-Sasl: thomas.bonnefille@bootlin.com On 4/27/24 2:10 AM, Drew Fustini wrote: > Change the clock property in the T-Head TH1520 mmc controller nodes to a > real clock provided by the AP_SUBSYS clock driver. > > Signed-off-by: Drew Fustini I experienced that, when the I2C clocks were correctly configured, the UART stopped working, likely due to their dependence on FOUTPOSTDIV. Setting up the UART correctly, for instance: uartx: serial@xxxxxxxxxx { ... clocks = <&clk CLK_UART_SCLK>, <&clk CLK_UARTX_PCLK>; clock-names = "baudclk", "apb_pclk"; ... status = "disabled"; }; resolved the issue. As this would be mandatory in the future, I suggest that you configure all the nodes currently set to a fixed clock, not just the MMC controller. Thomas