Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp880018rdb; Tue, 30 Jan 2024 01:01:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IGdY2fHyo347fK3Y85Z+TrsY4Yein4SpNz3a+lsJ8LhEydsS7faKQ6biOuP9/5RQXgaIN0Y X-Received: by 2002:a05:6830:18d8:b0:6de:52de:c122 with SMTP id v24-20020a05683018d800b006de52dec122mr8765313ote.36.1706605286076; Tue, 30 Jan 2024 01:01:26 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706605286; cv=pass; d=google.com; s=arc-20160816; b=i174AkyF882svxBkBRJFieagGUUHoYXxnLJ7GJxX5sw+roxe1A0cf1oWhviFTq5W14 zlM7DDI43l2DSV2cEdxcuqCWtPS0CMl4qsMsiYhJvheDVRwHY7dKOWQaPFoVMq9SihJ0 EmSyrYrv/5jkL7f1hqMXb2yApAbm74kUsjfXinfZ5APbIwIGpOVXnt4dwiFGh0W7I6eF JcquPIP7iurnYAGEgjCJcRbwVr0HIh4dDPGknIdcv3lDrnS2ZqJg3+4+CjudS1miJtdc V/ogIRAlLhYRpzofNq0z7rI6q8sYZ0inbOcc73GqkZBTPrt2Ag6Hcc1O1uBjyrwvWT2g 1YdA== 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:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=Db3zP9xDe7AQg6WDfeMGEY2GUxXn8qP4OsKoMMuxQJ0=; fh=XxzFlXcn/143l6qM4C1wiUMBUshhDqh0YKb+dVx7Rto=; b=JwGEqtalREvAWs4wmrhloL5bb/Q5mVS3/ZJT0mvPDmNOW0xdBWUVjvV3Bw8W6RVDah qGLlh+jwhQg8vVwXKG9t4Vz1I0woQsV/GxHuz6x+2o+tpdu0mhOMH6gSPG0jsAtIKEfK sqvtU/8o48jmbYiheswFXV1de9AfaOJ1BqWubl6RUzykTfGQEq1jY/wJhWEwIviu06QG m4vIFrOQCCGql5ghfcNtLBs+QrfrG2JHwwLoROvry4BBn3O9ad0I4rP4wVUTEcc638zj zRY4hWYUXo0MT6soaMANkEtJV0lB2gKNVPCZaRzS8m4R8dAnITeMggoDrxr5PgvE9OpC gLAA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ccmA6EkN; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-44188-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44188-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 6-20020a056214202600b0068c5c5f1d69si1864014qvf.588.2024.01.30.01.01.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 01:01:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-44188-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=@linaro.org header.s=google header.b=ccmA6EkN; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-44188-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44188-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 B02781C21D55 for ; Tue, 30 Jan 2024 09:00:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8E18E58210; Tue, 30 Jan 2024 09:00:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ccmA6EkN" Received: from mail-ed1-f53.google.com (mail-ed1-f53.google.com [209.85.208.53]) (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 BC95157888 for ; Tue, 30 Jan 2024 09:00:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706605204; cv=none; b=gPdTc4PXYsI7+sVoj+ttkN6yxrm6G9tPFTV4PX8rKiXSJ10zFjK6Cf/1liKvO40okh2g6lyk0RtAeKsLXL4VuHtgoyxOQvUKH+NYxwVEq3BoJAC1XoBwWjba3ZcPNO3u1ajis062PtpWTg17bvXVVnv3wouDGcg5D88+LyK/nRo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706605204; c=relaxed/simple; bh=Ss8eXXVOK69pwFg4ALxuF9O7AP24QrPRskLjKqOA56E=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=SVUQTEWjdMQmhkd+R19cqVVbd0ZGNmwHStZlR5Lu8ejOpimcyexV0gIV8HwUZ2IFQVovsxOJA0B7K6IJjtH9+xGLjgyobEN+mwIbsKJZYW+19UcwfzSHjoGBAVY9tKW492p54Adl++qOn95HLzVVwh7Op1aymLCnLk/LXZ4ptIE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=ccmA6EkN; arc=none smtp.client-ip=209.85.208.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ed1-f53.google.com with SMTP id 4fb4d7f45d1cf-55eee4a042eso2626057a12.0 for ; Tue, 30 Jan 2024 01:00:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706605200; x=1707210000; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Db3zP9xDe7AQg6WDfeMGEY2GUxXn8qP4OsKoMMuxQJ0=; b=ccmA6EkNzCqWrEQnNllEh5x+B612famcR+jlP8oxYKGjSZoV5kFif7IeHvL5qOA9ex trkC183mEh/r7lh1b7iFoieOKGBSpBGLXi9FL1g9pzocgc9L+zDzcDAlHbV8efoKtiQc xh86Nre7G5tEOJACdu1SvoH9jfcZBnNNNWeU1ZqzYIJ4Yp47ynBRJSko3Bx85VlPe2Cl 30R2qciJAtpnO/NaoFjkf7Ji0gP9xOg0OHy5N78864zBR88IpP3CaqQ0+dZGpSFdhFDc e1dEerihR3/7wBOndQJR9kygmz4QjwOHH1C9xMsy9ZnOS03qQuKSNGNKjveI3aWP+m1m fGCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706605200; x=1707210000; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Db3zP9xDe7AQg6WDfeMGEY2GUxXn8qP4OsKoMMuxQJ0=; b=U/KMjbduuhaoP5l/OzGdqlzaZKea5886A/sA2jFcyxLUegb8zaRcQPVRGJfzQEZuha /vV6D4bggWeGZ1z7jMqUheJufxoUFiwhiemvTSFrxXkmWFYARJbbZGvYrtEq9Pvov49G eEnav55HWS94YFt/2alpJo3ake9/PSXZaM2TdgrRos78+MQL88QtesV6hAGljWfb6Ts0 Zg4dwKO+ScdaT2bdGbnGwqO8XJY3cM84TTWoBMyn7Hd92/GncZlmxUaxhmLZsxgYxtD1 KONbFnA/UBKSLTF3GH5A7KD6Tl3PrujtB/rwd/lJWnpG1NzyMSbf7EmxLIIqj21kSjrr IiLw== X-Gm-Message-State: AOJu0YzgxbqXBcD7juqqTTrghBB1MCDWiILLHVitc+FxEvCddX2i/8ah a9kOFjFexNPKXKbWk0+Qrb7Swxjq3Lzy9gOQPq1RWOXcLmuxCYAnqEHujxKUyZ4= X-Received: by 2002:a05:6402:22e4:b0:55e:f4fb:66f6 with SMTP id dn4-20020a05640222e400b0055ef4fb66f6mr3348290edb.18.1706605200064; Tue, 30 Jan 2024 01:00:00 -0800 (PST) Received: from [192.168.2.107] ([79.115.63.202]) by smtp.gmail.com with ESMTPSA id f19-20020a056402195300b0055e96290001sm3700180edz.27.2024.01.30.00.59.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 30 Jan 2024 00:59:59 -0800 (PST) Message-ID: <3e078f39-ccd4-4bf4-b11c-5160cc1f0221@linaro.org> Date: Tue, 30 Jan 2024 08:59:57 +0000 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 v3 3/7] clk: samsung: gs101: add support for cmu_peric1 Content-Language: en-US To: =?UTF-8?Q?Andr=C3=A9_Draszik?= , peter.griffin@linaro.org, mturquette@baylibre.com, sboyd@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@android.com, willmcvicker@google.com, semen.protsenko@linaro.org, alim.akhtar@samsung.com, s.nawrocki@samsung.com, tomasz.figa@gmail.com, cw00.choi@samsung.com, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org References: <20240129174703.1175426-1-andre.draszik@linaro.org> <20240129174703.1175426-4-andre.draszik@linaro.org> From: Tudor Ambarus In-Reply-To: <20240129174703.1175426-4-andre.draszik@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 1/29/24 17:46, André Draszik wrote: > CMU_PERIC1 is the clock management unit used for the peric1 block which > is used for additional USI, I3C and PWM interfaces/busses. Add support > for muxes, dividers and gates of cmu_peric1, except for > CLK_GOUT_PERIC1_IP which isn't well described in the datasheet and > which downstream also ignores (similar to cmu_peric0). > > Two clocks have been marked as CLK_IS_CRITICAL for the following > reason: > * disabling them makes it impossible to access any peric1 > registers, (including those two registers). > * disabling gout_peric1_lhm_axi_p_peric1_i_clk sometimes has the > additional effect of making the whole system unresponsive. > > One clock marked as CLK_IGNORE_UNUSED needs to be kept on until we have > updated the respective driver for the following reason: > * gout_peric1_gpio_peric1_pclk is required by the pinctrl > configuration. With this clock disabled, reconfiguring the pins > (for USI/I2C, USI/UART) will hang during register access. > Since pinctrl-samsung doesn't support a clock at the moment, we > just keep the kernel from disabling it at boot, until we have an > update for pinctrl-samsung, at which point we'll drop the flag. > > Signed-off-by: André Draszik > Reviewed-by: Sam Protsenko > Reviewed-by: Peter Griffin > Looks good to me: Reviewed-by: Tudor Ambarus