From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2B493C54EE9 for ; Tue, 13 Sep 2022 10:49:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=MuiJfV9VosMu0VW0IhrBKVLrOZC3jzbBbjEQNHatK1I=; b=FTLop1wALoolVo 7EV73juSxLU2tjThd35m5MG4vM59S0KFpVtlCq2pWavblV0O8qp2mH9t3znyaMtYjC7PePathD7Ul 6Sxww7hcIMwvObwQsqMO4X9nex9AUI+EK0QuseVWvEjKdxEHQBcBphzbQ5zk0DWGt9T/KLF/Fx1Ak EjpcCgfmeoOAtK9tBth79tsnPE2tHmwWAtrm/x0QocjeX0yjB961mrT5lNI/c5qHlgtNcDcCv7MhA 4pLsBFvK6wMwmCF8uBbpVN8jIhnSxqekT+2WvRsxurvi8RTIWCn97RAHwHUoHmKG7iXD510HEj1Pi xjiyyGEBPATxElDu7Pvg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oY3SN-006qHU-O8; Tue, 13 Sep 2022 10:47:56 +0000 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oY3SC-006q46-Ex for linux-arm-kernel@lists.infradead.org; Tue, 13 Sep 2022 10:47:48 +0000 Received: by mail-wr1-x42a.google.com with SMTP id t7so20068658wrm.10 for ; Tue, 13 Sep 2022 03:47:40 -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=js51S2MXQid0hYC4EqS7tG1RoNmo2jfDmTp48bTgR3LJfQcpfknVdtc8kI9qWU2Rul Vp5eho1+siB5aPOYlCqxpU+btvbuRxYytSgnFW3HPLQilQymXOp6dTm+bWX2CUxWqn9I rJooEQppyEXCH2f14H6AOMk/sM6AJgzzJYloLtWCMjVI0Nn0XnE7YIfsxisBD20aZ9RG ayoD92QW8vxXrcWBYQovxw7Xo14G+V3beABR3Kaff3m8W29X60KLNR0UvQKfRZlZMcGI aDM40qaJEVWDDrGZzGKeBO87AdEXfCXiJWAcaKw0LeCOYJtiswrPvOsGmcACv6UiXUqF oF0g== X-Gm-Message-State: ACgBeo3sIaqr+Q/tEIjDtAa4JoeRGWeEkv3NpAx6uBVqAGZ2QQcEpvWb sJrbujiLqOPmadqHjgEk7s5B5g== X-Google-Smtp-Source: AA6agR6RNyW1z8wsPDHR+Ec99QlY1hPpXtYXHddNwCA4ZFovERfZatAC3wk48ltJhAjQzzIsHRfrzg== 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220913_034744_613221_EA4C385E X-CRM114-Status: GOOD ( 18.54 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel