Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp117190rwb; Fri, 2 Sep 2022 11:06:00 -0700 (PDT) X-Google-Smtp-Source: AA6agR5WPIvUx9fy/CU0Jf8e8hHNcCNV6ny7aW5ubebyCvNudW2KKvJkNFrVh9VoZoW5hSEX1hK2 X-Received: by 2002:a17:903:244d:b0:175:3ead:4586 with SMTP id l13-20020a170903244d00b001753ead4586mr14929735pls.28.1662141960280; Fri, 02 Sep 2022 11:06:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662141960; cv=none; d=google.com; s=arc-20160816; b=YZyQeN9qz6GFAhqf90fz2qv+ESIfKvoe2oWZsvAIRvvcnpJtCYcWfvc0D7Ycp87UHM SOzmuRRSFc+UI5rsG4CcRgqIPWxbUHcgdlF9JIvkFBMtdpouMx6LP8nwhYZc8mtt70v2 tICxXA4ZTPsooUFlbi4pUknnfpFfXYD6gB1sHMuw1SdKdFb44DlelbYiOvaC+hNR2Ogv Y2C5M0F/f2lj5Q3e9ZwdTeylo8Vklh60lUfRAfjrxhjkiCQPas4thfmQnLWQ1pEmASrr K5D2KR7xm1eRRWYYxP3fEDy3kfwXKkjbiEOWXL58+Sc4sQ91YSybQOvwCycvxxD/kMZe rMew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=K4gR8SbXaXdFZpI+J7SEmrJqmiSC1rJ+shuVNTJdOVw=; b=pG6K1pTKhBaEPs7WDnkHJKpioveUkVQOuscB99V7rpMQZeXsGOlK5pa97tU1vM0Ubk jOcsT9Yxk8CkggoQjdjRU1fQAZfjUC28tiRnODbV1VamG4UHo3TSxtCsRCDhUA//lg/k X7FGD0pWgmbCCE4c0/f6DL8tktbPHCbuiv593TdOFZ7mqShwdEQw+rJhMDpn0TnNuaLY VgbmxThCKRTDAl8RcyGJny4R4vxftinUGZBlYo59EjuPbUTY1nftkuWAQ0MooONHuF+o /n42PAMkVAwBHTcL2c+1rSIo2ufEZ4RW9cjbgbqtegwu0OfHe0vdHI+jjk5SV4NR9Aw+ 8daw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=X7vTjxLC; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b1-20020a63e701000000b0042982674c81si2577258pgi.190.2022.09.02.11.05.47; Fri, 02 Sep 2022 11:06:00 -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=@kernel.org header.s=k20201202 header.b=X7vTjxLC; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236809AbiIBRqE (ORCPT + 99 others); Fri, 2 Sep 2022 13:46:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56184 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236387AbiIBRqC (ORCPT ); Fri, 2 Sep 2022 13:46:02 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 019DDD4BF0; Fri, 2 Sep 2022 10:46:01 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 7E3066220F; Fri, 2 Sep 2022 17:46:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0A9F1C433C1; Fri, 2 Sep 2022 17:45:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1662140760; bh=fTXcf2TIdAF6mJdGL4ZlTKOAGo0bqmITSBW1GWDdEIw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=X7vTjxLCFl7Pw7/RP0dWQRvBqb8JHaI2uU2PjN7SjdbeACyAPxlBHowD1bShJJYEu t1UTxEaa4t4nPDNc/QFWPp9FD6gctQfc5aImkGlPvyHkJgGuGqf8+LEeTke8mptJx8 GnV5yiitAafCjQjoAaaFHQ6KRKlkbVvayzyhQj9gWxh0kLwYQjrKupTnfslSo8UiEy aMV8rg/EHlieYb98VbBFY6EgOHh43OXOg8tpGpwXIKFSJ1/ihyNsJGl1O3zQJ4EYRu IzSI1/q1mbVdjFQjkhsoyUCt97Yg9i2xjqz1TYa8N3QmeLoXpb3XpYgbscViVecra5 ixaDE1a8GxVAg== Date: Fri, 2 Sep 2022 23:15:56 +0530 From: Vinod Koul To: Marco Felsch Cc: mchehab@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, kishon@ti.com, sakari.ailus@linux.intel.com, hverkuil@xs4all.nl, jacopo@jmondi.org, laurent.pinchart+renesas@ideasonboard.com, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-media@vger.kernel.org, kernel@pengutronix.de Subject: Re: [PATCH 2/4] phy: dphy: add support to calculate the timing based on hs_clk_rate Message-ID: References: <20220818143307.967150-1-m.felsch@pengutronix.de> <20220818143307.967150-3-m.felsch@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220818143307.967150-3-m.felsch@pengutronix.de> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 18-08-22, 16:33, Marco Felsch wrote: > For MIPI-CSI sender use-case it is common to specify the allowed > link-frequencies which should be used for the MIPI link and is > half the hs-clock rate. > > This commit adds a helper to calculate the D-PHY timing based on the > hs-clock rate so we don't need to calculate the timings within the > driver. Acked-By: Vinod Koul -- ~Vinod