Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp6415662rwn; Tue, 13 Sep 2022 04:05:06 -0700 (PDT) X-Google-Smtp-Source: AA6agR6l409bYlB8ky+iWvAL0A+cIY39i+ZSc4U2d8LEQ+93aHEoqkp4wZyuiMWN/jDfNXx8mCnm X-Received: by 2002:a17:906:7e43:b0:738:6395:8d94 with SMTP id z3-20020a1709067e4300b0073863958d94mr21727120ejr.54.1663067106484; Tue, 13 Sep 2022 04:05:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663067106; cv=none; d=google.com; s=arc-20160816; b=S2g3eF3PCTHYMD0T2qqwItQFUURdNMje7nWsmaIecoTBpk8O0Xog8cxBRVr1srhS0C 20MyZjFsRNGEXt0ejf72YO3Oo76Q2LWPmjtvTUdrOPUw8oiC8Pk8DCOxN/yYhrabdR1F iP1J9wyyXy2ACWzxZyLatwGfFYiHuQfddealXsj83CjtgEc59OAOXCdHuLFttUf7IbNQ 66nAa3G/uoya1owd3JaDsp6l9u+Q78t3k5r7Xzm47U6IEvDvTpmgtM9AJHtQCnRIbr/g cFwc0/RIJyntbjDrTvLQEgummksza205hbfmuRoDyD3HUgFGIuZ48GRoG8elxBHovRg5 JMwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=1vy5STKK7f2y0rHKknJzg204tlai8/pL9+x/aTilWa4=; b=c/tBR/dIV1iu746P5Qvt2/r3ZRf2zwOduGHKyTmPnEorBLFcoPuedssyuqiMIPsH4b FUlSHOgMB1CGEERVdmjBpEnLSoGfBbX72qzS7LnsyGCzKya/F/p1VEVUPghMHVvJJ+0T 7rx2h/YgOncuV78KTNhHBp2FMP2v54c5JJlA/0RO19QofkRRb8eLRyFihZhRFX+wkT5h zm8SG89uOk/ELufeqFa94fOVRxmaXJtv+1VGsryQa0l7y3I8gGZgAYVazzl1DZ7w5G0s +3uR5GHkWBkdR3Rmo27lUMkAeym6PQM/c7xqyGmMsY9+qV8VbqKspg9Mko1BDcZKiRDw 4EKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=y8QCjmtD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b18-20020a0564021f1200b0044611122003si8421075edb.599.2022.09.13.04.04.39; Tue, 13 Sep 2022 04:05:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=y8QCjmtD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231736AbiIMKrt (ORCPT + 99 others); Tue, 13 Sep 2022 06:47:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53702 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231731AbiIMKrn (ORCPT ); Tue, 13 Sep 2022 06:47:43 -0400 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 48AA35F13E for ; Tue, 13 Sep 2022 03:47:41 -0700 (PDT) Received: by mail-wr1-x42d.google.com with SMTP id h8so13133171wrf.3 for ; Tue, 13 Sep 2022 03:47:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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; bh=1vy5STKK7f2y0rHKknJzg204tlai8/pL9+x/aTilWa4=; b=y8QCjmtDE47p1BAtUXGN2yQIZAcmaJ61+b7F9i515kKieNrhrgZTikmvyl/ZZr91E8 GNrxgDg0CdYHIHlAMueh2s0tzvenU1I51AtqOyKeRuVd3uhXMIYjwaQQjUm9vpzEze53 EERNxUrk0yi/nwKNFPxIp4sePzGMl9VtUKRDxAsahptVMKMM2qWs9q4swesa+E2128O7 j39WBrwgBg3rNB+MbEU0n3PGR2ZPiz56MehEPiDwJL/ewwfJT3mcrqYhkrWt8Io78VVK N4Gu+SRUmj6lhh/Vk35jIzMn7lOgPA+OyG1z6dtIPhGLw9Rl4ZyFa4MftUZSVg+jRfjF zAtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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; bh=1vy5STKK7f2y0rHKknJzg204tlai8/pL9+x/aTilWa4=; b=7PPVBDP+n4SeExSnrcd3QXxoxZUQSfS8lGNEuAH2cd7MwpVAQA/PP6ucle80LNyEdm RNZEJgoKn7iqpzCxlrjmti+EIYMwJ020EMTqITRhupOFuj2bNp/7uPDaBPgnBzuqvYgM AIdjmE+pzvTzj5mGImZ3Pa7vdXFz9Qk7M22iSGXNzHhGalv4tVJ+jhjfP50Uk34l4jK1 qhCO7+BIDASomPteeEYA/KT1Xa4ZBz7WKFtt81Wpj7UR7qv5HUmkphVezHCZT63pyEfg 06yPYP4Q8RFy+CVOHlT7jB4SsM5D8/ojy5qY4FUluY+1aCg9yvr84MMmRibHGCdJwVJc h8MA== X-Gm-Message-State: ACgBeo1+/W1F2xDutuUVPNwetPA+XOoyTq5h/5Vwy0hfWWfDrcdZw140 V5ExoF5NGOGZIiNiebTgPqSnyQ== X-Received: by 2002:adf:fc02:0:b0:22a:43e8:d205 with SMTP id i2-20020adffc02000000b0022a43e8d205mr10522868wrr.420.1663066059775; Tue, 13 Sep 2022 03:47:39 -0700 (PDT) Received: from [10.119.22.201] ([89.101.193.70]) by smtp.gmail.com with ESMTPSA id n17-20020a5d4c51000000b0021eed2414c9sm10387270wrt.40.2022.09.13.03.47.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 13 Sep 2022 03:47:39 -0700 (PDT) Message-ID: Date: Tue, 13 Sep 2022 12:47:38 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Subject: Re: [PATCH V3 0/2] clk: imx: introduce fsl,always-on-clocks Content-Language: en-US To: Marco Felsch , "Peng Fan (OSS)" Cc: krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org, abelvesa@kernel.org, abel.vesa@linaro.org, mturquette@baylibre.com, sboyd@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-kernel@vger.kernel.org, Peng Fan , linux-imx@nxp.com, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org References: <20220913092136.1706263-1-peng.fan@oss.nxp.com> <20220913102957.sir37bsdr5sayxal@pengutronix.de> From: Krzysztof Kozlowski In-Reply-To: <20220913102957.sir37bsdr5sayxal@pengutronix.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 13/09/2022 12:29, Marco Felsch wrote: > Hi Peng, > > On 22-09-13, Peng Fan (OSS) wrote: >> From: Peng Fan >> >> V3: >> Rename to fsl,always-on-clocks >> >> V2: >> Use protected-clocks >> https://lore.kernel.org/all/20220816130327.2987710-1-peng.fan@oss.nxp.com/ >> >> V1: >> Use fsl,protected-clocks >> https://lore.kernel.org/all/20220815033632.1687854-1-peng.fan@oss.nxp.com/ >> >> There are two cases that I wanna this property could serve: >> Virtualization: root cell linux run in parallel with inmate cell >> AMP: M7/4 runs in parallel with A53 >> >> The major case is: >> Jailhouse hypervisor only support partition, so devices are partitioned. >> But there is only CCM module that provides clock, the CCM is handled by >> root cell linux, need make sure the root cell linux not shutdown the >> clocks using by inmate cell. >> >> I was thinking whether need to provide a rate entry to ask root cell >> configure the clk rate for inmate cell. But NXP downstream not have it, >> see https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/clk/imx/clk-imx8mp.c?h=lf-5.15.y#n690 >> So just leave the property as uint32-array. > > Can you please check my recent proposal? I recently stumbled over such > an issue on the mx8mm-evk as well but with the 32k clock provided by the > pmic. Unfortunately I forgot to add you to the to list, I will change > that. If that proposal will fix your problem, I would like to go the > generic way. > > https://patchwork.kernel.org/project/linux-clk/list/?series=676522 Your proposal does not change bindings. You cannot introduce new properties without documenting them in the bindings. Unless you documented them somewhere, but this is no reflected in Patchwork at all. Best regards, Krzysztof