[RFC,0/3] Enable clk-critical to bd718x7
| Message ID | 20220605170300.1565632-1-michael@amarulasolutions.com |
|---|---|
| Headers |
Return-Path: <linux-amarula+bncBCXK73FY3AFRBSOD6OKAMGQENIOG4AY@amarulasolutions.com> X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ej1-f70.google.com (mail-ej1-f70.google.com [209.85.218.70]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 291FE3F03D for <linux-amarula@patchwork.amarulasolutions.com>; Sun, 5 Jun 2022 19:03:06 +0200 (CEST) Received: by mail-ej1-f70.google.com with SMTP id kf3-20020a17090776c300b0070d149300e9sf2892115ejc.15 for <linux-amarula@patchwork.amarulasolutions.com>; Sun, 05 Jun 2022 10:03:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1654448586; cv=pass; d=google.com; s=arc-20160816; b=FCjAnED/T8YA4yom2f7D3bDAFttfHqEGwvNTAZRtuqKdD+nB+BAP2blF8CuqADzM7L H7ryc/kCl7rmpTAydYXoGBdAKZGmMPT3WIuSRwQFJ0uf/ws/BNYPtJH+CobVRVJEOp+F PXBj/tdh7ZzEHxZCgyq2MWprdNwbEQaFZ1Z7OL6lRdg7BdOV/on8DwJ3cqZyzXQKYlCr ydzHhQ2VuRWNwZ4hmCy4fpNmNeSBovKn0P1iJrFbz11uQB8rCI/shk15Ex4V4ztG6F1v mtj0vVJImGRCnZzy7yzYVlaFh97mp6pOyehM+LnteYSEqnOAI6ySEMkBrXn/bKcVo4WR 626Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:message-id:date:subject:cc:to :from:dkim-signature; bh=5lx9RWdG68EcIDqhYxLV9JGkCpj67BAUaPooxwml4gw=; b=R2Fnat1GAYm5yFDk7uYpFrGfzLP2GZM6tR7qVKMTavaoKRA6ljfxqJ/9TCayx7E6Un PhsjJvkqzPjjPt/V4QitsfwiPPPSgc1yMHzjoHUaKU2X6Up1POlizyP0J2r4MxtDDHYN i1hDlN0UcYHdRNPpn9zqeGzYktWQNEQZ1oGFapOv7DQMEMnNeHHnG0L0cYQqutJUV3Ga hTjcTZ9nOYza5B92dMGhfkxL1fl/IeO10oYvlayTi/+vPAahrFUCK++cNmKCDkcT4O/6 pzTs4PVjkUlpCd0genQ99BuxFqqEuH9uh6FZpY0IZsYFDxI+fSC8n9sMXR129araz1nM huAg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=VxlXBXJj; spf=pass (google.com: domain of michael@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=michael@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=5lx9RWdG68EcIDqhYxLV9JGkCpj67BAUaPooxwml4gw=; b=fbvlLFOUZDBTiJ5y22uBrSynIEq0u8kpU6BGUod/SjzVR0ao6E/z5Uk414Unuq9fnb X/EXdTT5R5js5IwwOosymEQOqCF25BIY5Y2aIAaKlI2s0/GJfNwvS1Xn4MH3mdcpy0vb 6WD3L8abM+aRqkGNV3nWFhJjV2E+XhAwmWoKQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help :list-archive:list-unsubscribe; bh=5lx9RWdG68EcIDqhYxLV9JGkCpj67BAUaPooxwml4gw=; b=4zek1SoM80hWdjm14zAH0e3yQLQQzcsso4TVhpnvyG5Owf+airDkCGKOQG6QXy4vV/ dqCtMWW5gQTpIMzam1S2MtfW216FIwaIs4LIQz3l8H+wWrzMJE7Wu0ZScbfsEYQ6HN8S qVzoDnDP8wlNgytWWCqVP6vqDSIPOsndinWcs9jQ9ji7MFzfvqr2Kyefde9ExVQmvS1G /dIcoFxb3+8NJbkmY5eIiAl+8TGh1ub3yQu1ZI84R3lQiq+xpu43Z8IKEwu6vmUm9Psd 64fBTf3C3F2Ee6imr2fG7uNEuiDimi6t15BliVPENjEk6CUK3muZYFtHDEIXfb8pBQid 7xLg== X-Gm-Message-State: AOAM531cC3SyRDO6JE1EiegVxwt5V9hFiCqhJaliRcQ9r+TDgzl6bvF+ hc3KPRaz5BwFittzLxQdTLO0Q7O0 X-Google-Smtp-Source: ABdhPJz3BxYVb/gw1Apjb4UU/jhiLV3/CVOkxvvMAFjMOYz33zOH2Vb4Cdo0B8MDasBsK4E5Zvc4IA== X-Received: by 2002:a17:907:3c09:b0:70b:442e:7e80 with SMTP id gh9-20020a1709073c0900b0070b442e7e80mr16553359ejc.593.1654448585927; Sun, 05 Jun 2022 10:03:05 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:709:b0:431:3a5e:75b3 with SMTP id w9-20020a056402070900b004313a5e75b3ls32813edx.1.gmail; Sun, 05 Jun 2022 10:03:04 -0700 (PDT) X-Received: by 2002:a50:fe83:0:b0:42a:b5f4:8a52 with SMTP id d3-20020a50fe83000000b0042ab5f48a52mr22405064edt.105.1654448584490; Sun, 05 Jun 2022 10:03:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654448584; cv=none; d=google.com; s=arc-20160816; b=hANORY+mHkE7FtIuRMgGA0HOhKDySKuQAaIRZfPxrGxaAgG7ALFpC4riEVxoA91Nih CDOL1TTSoMtdcXlOedcsje0DLjkEbKhlk/Zaaelf7+WcvKG6AQxFe0hwsypGRnC+11KQ UbV6jHL01Eh45H3K4SF9sMrt3E7Ripb5ASkOKKw7h1pRJtLlrNnAF5mYe910cdRNuu8C RlW+ZO85vDOqjsIeymE9P8tVZnUJ4/5JoHx/UmQrx+LGCNGAqDIuNvLrmVa1+Y4vTs/T Puobe+XHoMv3olhdNP4qDXAvfGOtg0OA4ryXJr/mHQaxGaYNvLPUPxrTk7uyjZjpB+3A Fd4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=N5b25hqu/oE4geFfetpQJ/jX/t8e9orYohIiTzR/6iw=; b=gktu91nfZOb8fv/hLehuWLRwIyOkitdnxUcjWkqVoJIY1DzWKXihoFMUbZuDcP0wiU 1iRBXUq3upZLlpKIPFEAoaWe9a5iZblEp2ZMHq/8H8go+89pJtk1S4Bo8zvwwy8CElQi 3ujp2Xd4iZMsevOtSfPCReZtIz0z/nUNS9ocDrzigaNcFJvu5mU6Av9SLxgehv4Od7Tm 6Rcc777/0fP1TJFbbfZZGd/wt1HVRVT2liYbLXZBHED84xfUYA1nKSq9FI26dRUs7URm WXLKDa35R9Kg64gQZuUVQsHucglBCTMsvEYoN17BlITXvRmJIj5SwYofHkTg6O8vMfhZ j+6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=VxlXBXJj; spf=pass (google.com: domain of michael@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=michael@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id fb5-20020a1709073a0500b00711c7cca43esor524269ejc.44.2022.06.05.10.03.04 for <linux-amarula@amarulasolutions.com> (Google Transport Security); Sun, 05 Jun 2022 10:03:04 -0700 (PDT) Received-SPF: pass (google.com: domain of michael@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a17:907:1689:b0:6fe:fcf4:128e with SMTP id hc9-20020a170907168900b006fefcf4128emr18390079ejc.446.1654448584176; Sun, 05 Jun 2022 10:03:04 -0700 (PDT) Received: from localhost.localdomain (mob-83-225-9-201.net.vodafone.it. [83.225.9.201]) by smtp.gmail.com with ESMTPSA id h22-20020aa7c616000000b0042ab2127051sm6948204edq.64.2022.06.05.10.03.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jun 2022 10:03:03 -0700 (PDT) From: Michael Trimarchi <michael@amarulasolutions.com> To: Matti Vaittinen <mazziesaccount@gmail.com>, Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@kernel.org> Cc: linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Dario Binacchi <dario.binacchi@amarulasolutions.com>, linux-amarula@amarulasolutions.com Subject: [RFC PATCH 0/3] Enable clk-critical to bd718x7 Date: Sun, 5 Jun 2022 19:02:59 +0200 Message-Id: <20220605170300.1565632-1-michael@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Original-Sender: michael@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=VxlXBXJj; spf=pass (google.com: domain of michael@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=michael@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: <linux-amarula.amarulasolutions.com> X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/post>, <mailto:linux-amarula@amarulasolutions.com> List-Help: <https://support.google.com/a/amarulasolutions.com/bin/topic.py?topic=25838>, <mailto:linux-amarula+help@amarulasolutions.com> List-Archive: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/> List-Unsubscribe: <mailto:googlegroups-manage+476853432473+unsubscribe@googlegroups.com>, <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/subscribe> |
Message
Michael Trimarchi
June 5, 2022, 5:02 p.m. UTC
The imx8mn cpu smms2 module is clocked by the pmic that provides clk32K. If the pmic clk driver is loaded the device can not boot. This series try to make this configuration possible. We mark the pmic clock as critical. Open question: clock-critical is not documentated as dts properties and could be clock-critical can be changed as no-int one. This is a follow up of [1] [1] https://lore.kernel.org/linux-devicetree/20220604183905.1025201-1-michael@amarulasolutions.com/T/#u Michael Trimarchi (3): clk: bd718x7: Clean up the code, no functional changes clk: bd718x7: Enable the possibility to mark the clock as critical arm64: dts: imx8mn-bsh-smm-s2/pro: Add pmic clock connection .../freescale/imx8mn-bsh-smm-s2-common.dtsi | 5 ++++ drivers/clk/clk-bd718x7.c | 23 +++++++++++-------- 2 files changed, 19 insertions(+), 9 deletions(-)