Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp961762rwr; Wed, 3 May 2023 08:24:40 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ40g8jjx3c/cnwmUOhPphn6Fw/8QtslJ7jsZpW/LXV1nRzZuwLU0cBu0CNLYkbb4HjCljCI X-Received: by 2002:a05:6a20:7da6:b0:f1:1ab5:5076 with SMTP id v38-20020a056a207da600b000f11ab55076mr20953192pzj.2.1683127480143; Wed, 03 May 2023 08:24:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1683127480; cv=pass; d=google.com; s=arc-20160816; b=JkpUTYzNY2Unk1IwyiUd1jr5ikH6m49vhwrEfmKG1NtvJa3r0QiqYsubZiFvou3rJ1 xw9r/WdmYhhHiyfzOKtwUdrYnslnW9QcMrw24mbMsVk/jSYfJMJWpqMjOXnEcFDBCRx/ nSwcDNvOgOSaCeBQl2z//Dt69S8swHk6EGDZR4hc1MyIwLwz+0VRCvbwSCIDfA5VteyS GBz1lyUoWKP0BVBgxft6hFMAzGhulHUOAvgol8+yMemigf9Yg+7zPanyUlUx+qUDG5Kl jIpbBm7SiRKj6NMGkuPjILtF3sosqVg8g184zB9DPg+o/xIl16YqVZRQbufjH6prChSN TxJA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=udv82X1pSMwjpSXe5qE87cYdon18jmhyKM6UFirb8eU=; b=lUCLJitVp5OwOxmsskBUt0jRZnsdamNlf/dQt6H/Y+ndDAZiACaFZEkywPEfi4ZHlO 4RtT2z4WIGH4IUVySVrpfCn+td1uas/6xrwYWtTi0TgFmy2My1ypiZQxYUmcYNzxfEtO Tf9lw6kAWrVBaQC5gAtZc3U/Vyme1tD/RxuvWS+hlyuDkc0F+gnnDJ7vjMHxWcZDR2PG kJL77GpftTWybJq4CGHUZlwXd3AaSmz1FJenuR8W0rQ9JmcNY6HTkyvH1Q8PS+XJ6DMK 0MnntpsWqWIeeuEen13S3M2GRe+PsNyYPdKCQTyRKyxDABrS1EnCsnqOxu+HMOs5JoV2 ZfMw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@mysnt.onmicrosoft.com header.s=selector2-mysnt-onmicrosoft-com header.b=J7lPD2Dc; arc=pass (i=1 spf=pass spfdomain=kontron.de dkim=pass dkdomain=kontron.de dmarc=pass fromdomain=kontron.de); 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x24-20020a63db58000000b0050f66d3f72csi32590197pgi.532.2023.05.03.08.24.28; Wed, 03 May 2023 08:24:40 -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=@mysnt.onmicrosoft.com header.s=selector2-mysnt-onmicrosoft-com header.b=J7lPD2Dc; arc=pass (i=1 spf=pass spfdomain=kontron.de dkim=pass dkdomain=kontron.de dmarc=pass fromdomain=kontron.de); 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230450AbjECPUV (ORCPT + 99 others); Wed, 3 May 2023 11:20:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46592 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230395AbjECPUP (ORCPT ); Wed, 3 May 2023 11:20:15 -0400 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2134.outbound.protection.outlook.com [40.107.22.134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C4D261B2 for ; Wed, 3 May 2023 08:20:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VbC75W+8AqJ04yzeVic+ajqH1YT+ylVQ43VtFOG+fj8VyCdKZUW/tMJb7mQB/pQqH8zIBelH2GYoM8l8xupvGAlKsJFzG7n49TITTdTXw8T2//+5tUjZJfTdAlihtthSiJkw3xil13W6+DcioN7WNVcy6eT64FLN6kT26t2lhl1ZxyOt0QZDiOH2uy2r3Sy2FtzCr05JS4q6TveuFDsGd1cgTgeJo1ITf03rg11ioERQLU7UA8tOjqqtOlK2P2HwM4ohksgpFSR5K8osuEOZXo2sF1jMZjY9FBHeqTeqnONX6u7wAh+JStD7UkPtD7neJFVYQzFUSXBwfg4bEqdJ6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=udv82X1pSMwjpSXe5qE87cYdon18jmhyKM6UFirb8eU=; b=Hea+VX8nvG54PBP7/A1h1jxnTY61+/t2Ygyy1Vu5dIsbA4BVZxlJa9O7w7vtvZKN3h4Y9pCwLkwWP1X/vUG8gVHcrgLoyGwWwIpyY05n6e5OK1+lUVOdakzdDXbUVcKpBeR72/RjjcJVUkb5ddL7aBZqV+bEGqUl1WAvG9giAlv+2Z3B5QWG76U4HhAw8kaxvVysn7eTg02cdO9szEWLhFbX8+jLcLfK727YswRygO1lgBWce9LM/oCQEQayQnEflmz3hVz9GXDVZA/WNDFPA7xXHo/BsCNzJwDGFnZ/YU2eDaiO6Szl62AImUPLWFJ3XaEZUjPL6guD5iavssoeug== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=kontron.de; dmarc=pass action=none header.from=kontron.de; dkim=pass header.d=kontron.de; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mysnt.onmicrosoft.com; s=selector2-mysnt-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=udv82X1pSMwjpSXe5qE87cYdon18jmhyKM6UFirb8eU=; b=J7lPD2DcMGYdA2T+/AuD7NDn+kr57ompncffg6JlNH2b49zt6I/EcXAuOCIj7glHQccYy4ntmlJJHKL9ToWs/OW/1y6ovXoyl31xiIoL4iVHw2N93lqkFmX+j1S/vAEOqZIIVmq/Gl0+PfluM6N6VtS6PZ0ADB85lpssc1egXqA= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=kontron.de; Received: from PA4PR10MB5681.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:102:263::10) by VI1PR10MB3487.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:800:132::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.21; Wed, 3 May 2023 15:20:11 +0000 Received: from PA4PR10MB5681.EURPRD10.PROD.OUTLOOK.COM ([fe80::e6fd:d174:5710:fb3a]) by PA4PR10MB5681.EURPRD10.PROD.OUTLOOK.COM ([fe80::e6fd:d174:5710:fb3a%2]) with mapi id 15.20.6340.031; Wed, 3 May 2023 15:20:11 +0000 Message-ID: <74381387-357c-8091-9ad3-8739a432360a@kontron.de> Date: Wed, 3 May 2023 17:20:09 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH V3 3/7] drm: bridge: samsung-dsim: Fetch pll-clock-frequency automatically Content-Language: en-US, de-DE To: Adam Ford , dri-devel@lists.freedesktop.org Cc: marex@denx.de, Neil Armstrong , Robert Foss , Jonas Karlman , aford@beaconembedded.com, Jernej Skrabec , linux-kernel@vger.kernel.org, Laurent Pinchart , Andrzej Hajda , Chen-Yu Tsai , Marek Szyprowski , Jagan Teki References: <20230502010759.17282-1-aford173@gmail.com> <20230502010759.17282-4-aford173@gmail.com> From: Frieder Schrempf In-Reply-To: <20230502010759.17282-4-aford173@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: FR3P281CA0124.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:94::15) To PA4PR10MB5681.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:102:263::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PA4PR10MB5681:EE_|VI1PR10MB3487:EE_ X-MS-Office365-Filtering-Correlation-Id: 97986687-07ad-4002-1007-08db4be9e35b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Y/jbqGzD6p+Wm+DW0Q4flcpvmBlNGXYZqvjS7A2ygAd/nLjxt3f51hYZorYkrXd82w51TvUZiQHqcPlUbWLgxE9kICZBQo+YwTqWyatV/Hiukw2Numybb0eT8BO1SxFubQ/obGrtf5jkBcUkrbBXrQvrxORtkIZ21FMsrDGeW3YaJFIP2L9ay4sWE4WC5ZfDcDPbsSkT6zQWObQOwejmFt0LFA2IGYH8dpifiujD/4gh0CO2u3t5gtXVgoK7mWxTZkbUSSPdNyCCLFG7gSJktLkwD+6cFyecMX15bFJPhKFHTKs+Ozeia/lrmAslwQfvHoRj81Yt1ugWnSvgU0QbYc2nhP3OmPIYzFWAoMy5t4NzRr/nkyTXtpb/FOvXMoROOK0Bs0sUNKIoZSBTeiulSxCxiXpeNuSUavlWHpPLP38eGSfyCkpsvFrgHIcPsGd5ZMzJDSJHZA+Jmelo7viENpDlzrQYw/4qppIfUqG4+3TkxCvX5M5nKRAj6s0Rn75uN9rBiGfN+0b6ZoEbLwTaaw8KyadAK54sDxuLRr5tHTWDvFiWxJnuHzul6tc73cuR1+vAIXE0DhLELpLo7RTbMSslNKr2/v8xb3DML/t4P8045T9rXaOcPrZFoxyZApHHJPFo7pNqQoFXUzPnDbKuOg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PA4PR10MB5681.EURPRD10.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230028)(4636009)(39860400002)(366004)(376002)(346002)(396003)(136003)(451199021)(38100700002)(4744005)(86362001)(316002)(2906002)(36756003)(7416002)(44832011)(31686004)(8936002)(83380400001)(8676002)(41300700001)(31696002)(5660300002)(2616005)(4326008)(6512007)(26005)(6506007)(66946007)(186003)(66476007)(53546011)(478600001)(6486002)(66556008)(54906003)(45980500001)(43740500002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?NFpwU0p2b2N4SHJoOGQ1UU1lYXNjd3QrNkV1SndyRDR1Q0Y0V3hEcENjMHhs?= =?utf-8?B?b3JJQVZrNklRamZGMm1CWDNOa0ZnbUFtVy8xK1F4L1ltd1E0N3VsYi96ajM2?= =?utf-8?B?ZkEvNXYrM3FoZVVQR2dvMk1xWWlvRE9NNDZSMzZxTDBjZnpEM1dUTkcvRitz?= =?utf-8?B?U2w1dmVzSWYzK1ZKTHNDdWo0b2h4YXJUcXRsMmtvREMxeU8wS2hRSHR5Mm1i?= =?utf-8?B?dmpZSDlmVkxrZHdYSFdodktKdlMxaGhuN0JiMC85RkZYZkJaYTVpcU80NnBt?= =?utf-8?B?dytTQ09BSE9OVmtYbElKYTUxdFRISFRMdW5Fb25MRzFwTDVORFFYK0dTMTdk?= =?utf-8?B?ZXZQclRCQjRQdWJWT0xHeFpPL3lJcWp5VjVxMFBxZ2Jma1VzSUhpOTZRNkhR?= =?utf-8?B?alUvWk84Y3l2K2ZQa3Nubi8xUHI1SXM3dUZDN0hzODB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4be9e35b X-MS-Exchange-CrossTenant-AuthSource: PA4PR10MB5681.EURPRD10.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 May 2023 15:20:11.8129 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 8c9d3c97-3fd9-41c8-a2b1-646f3942daf1 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: DwbneQJ2LB3wxgCURLISrWDDZaHj6mTK7QGMlYN2PG8DKBzKV356oD9bzKHpFc/jFErqhOtGhWRXMHJ+Zfe+X3SckbYKAj+h9sI9rU3emzY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR10MB3487 X-Spam-Status: No, score=-6.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_PASS,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 02.05.23 03:07, Adam Ford wrote: > Make the pll-clock-frequency optional. If it's present, use it > to maintain backwards compatibility with existing hardware. If it > is absent, read clock rate of "sclk_mipi" to determine the rate. > > Signed-off-by: Adam Ford > Tested-by: Chen-Yu Tsai Tested on Kontron BL i.MX8MM with SN65DSI84 and ADV7535 bridges. Tested-by: Frieder Schrempf Reviewed-by: Frieder Schrempf