Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp1032218rdh; Fri, 24 Nov 2023 03:59:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IF7VaFYR3AGskgXSD0rs3YcqdgSpf3ka49QzoO7W4BWOcQWOvWDMhqYjwpylyXIXv7ZlVV7 X-Received: by 2002:a05:6a20:a284:b0:18b:a021:8576 with SMTP id a4-20020a056a20a28400b0018ba0218576mr2521822pzl.29.1700827198832; Fri, 24 Nov 2023 03:59:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1700827198; cv=pass; d=google.com; s=arc-20160816; b=Y76lXnBUsrmAZwDn+foMLHY+Wjsb7llCklgjxsx64smcSkCuat5EVgMGRdh1R3a5CO 7X2xvHU20d5KoGwbIrgr0h1fpi2ha580Bmp9Ee2AwWIfMVM5Ay5EtOwP2wT3vvBZxJ54 pakVRnuc1CJeiifPVdOWsNi/WslgOD6ynwOModQt32voOHiT5nm1tQVdKBQFiNylRoV7 nK+08bR58Wdo13hVQ+FzX5cmb/hPlAM3S4hnoIN2FDrJqaejDAHmk0Tdc7bFTrYjnIaZ 6ZYJAkbLEbvwk58qWP6t9Zd9BupQYlDIj4GI5doSxmIM98j3FB3wN46C38RvL71QoB58 IKpA== 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:autocrypt:from:references:cc:to:content-language :subject:user-agent:date:message-id:dkim-signature; bh=+Nbj9GfG37IZIiw33AWvU4/ew9j3Zz8XFL779xP7vWg=; fh=JRaIygK1UPdZ1Bkg3Ytne2Cvnsr+1/+AoHyvlBzxS+4=; b=Ogdz5HMkuklM/vWeHs0ycAtKi2IlZuAAcnNlMd4fBXbX3M4qyo/BUHPRfa4Cjn0vyI d4mRrQYFfCEzbdkYW7NDjUcdnIGtIXFOl0vGs+AR9NURsPlBHoURItBdjEtA3Q3++a5f SYu3qT5eQbwpnS/2m+VN2A9nFd11mAr/LXziLlYhSBruEJ19caciapR8oWj2XMGxXqSH LDzfoUFb8W2b0w3cBx6T/SnUSTtHfImoWW1XrQ79sr4b43nAtXlyJ25bFbhUbIf6D+Cz ogwrWXabNcV+8T+qvLkbGY0hfSiUEgVn6CZtnQV8ALXD2ZKzZASHkw72nZIS63mxEkhD 5ANA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=dTgRc5AL; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id f67-20020a625146000000b006c6a6287fb5si3317205pfb.62.2023.11.24.03.59.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Nov 2023 03:59:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=dTgRc5AL; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id CFF38829FDD6; Fri, 24 Nov 2023 03:59:55 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229742AbjKXL7j (ORCPT + 99 others); Fri, 24 Nov 2023 06:59:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229580AbjKXL7h (ORCPT ); Fri, 24 Nov 2023 06:59:37 -0500 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2083.outbound.protection.outlook.com [40.107.220.83]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BFF7810CB; Fri, 24 Nov 2023 03:59:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DaJAoQjj+e3uMBHohIDJrTwjY4xSHQ3kyoY4ri/3ZA2T26BPP+8DDWd9m2LPLp53A1nGCNEtt/OYmcldq12UBCVlhSH+gIMiOpAtNyPoQhj5JvRM53CriC0jXolp6ZlRJp+eXDqOyQ2uA/jVPGGlDj0HppBrczoIo7mED+t/86XDDzPk/nuBykf471Aof5Dm7jk0UJOqriHpLhF4L2R7CPUSJ2tbjxhsZU7icGeGX7XtjGNipcZwtjB+F/JhBeqiApKz1wErx04Ur21aWQt7KkywFFP6dfjZGEY+oumEArCTi71u08dmLmP/3DkoAdDNMt8hlP/V+MyYlARQrJ9S3g== 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=+Nbj9GfG37IZIiw33AWvU4/ew9j3Zz8XFL779xP7vWg=; b=GlJXKV8AaeQBQotHbKxSc/v/9Weu3m9wt0xpF7Sbcyi97Vz14ey4qFKl5/LF+qUlmWEEcwNzTtyYcQ0YCAK99VWSYsXb3pa3oghlRyzWBZNxoK1/sJwwESPLSpRIn6e+NPabqGGjOEKBjs40LSEN/oo+PdeSWfmnvm+zAC2qmB8bvor3GtZgP7pFEf9v9PnHgvnB4CxZ3xMcSYgwqz+lUGyL0s6BgBtld2ZXkjMFgitufojW7UO3OUGxx/ZdiEEturPT3yZkuAhMSnMryCWfEqUAROl66xuAJwK4wR5jqRAEpHiAw8ar7317hbf0KWVfVgI1lrSbzi/7YYHwhjNTvw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+Nbj9GfG37IZIiw33AWvU4/ew9j3Zz8XFL779xP7vWg=; b=dTgRc5AL9HbmJyamaLOCWvnWP5FzODw8qAmKNd6OOtDXlnmjMgU4YkMXTl6U5LfyfppchuFbaKeablAFJChkqiRBcKD7kYQjScVgJVPQIyd4R4yVYXiYvNNHyRTiT2wPzvUokIUsRLyEfHTrbIPhYyMexvMlCSQ6mvAOZ5UfXYQ= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from BYAPR12MB4758.namprd12.prod.outlook.com (2603:10b6:a03:a5::28) by SN7PR12MB8434.namprd12.prod.outlook.com (2603:10b6:806:2e6::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7025.19; Fri, 24 Nov 2023 11:59:41 +0000 Received: from BYAPR12MB4758.namprd12.prod.outlook.com ([fe80::39a2:42da:ea20:3349]) by BYAPR12MB4758.namprd12.prod.outlook.com ([fe80::39a2:42da:ea20:3349%5]) with mapi id 15.20.7025.020; Fri, 24 Nov 2023 11:59:41 +0000 Message-ID: <06512ea8-9124-42b4-beb0-f302539aedeb@amd.com> Date: Fri, 24 Nov 2023 12:59:33 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [LINUX PATCH v2 1/3] clocksource: timer-cadence-ttc: Do not probe TTC device configured as PWM Content-Language: en-US To: Krzysztof Kozlowski , "Sayyed, Mubin" Cc: "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-pwm@vger.kernel.org" , "git (AMD-Xilinx)" , "mubin10@gmail.com" , "krzysztof.kozlowski+dt@linaro.org" , "u.kleine-koenig@pengutronix.de" , "thierry.reding@gmail.com" , "robh+dt@kernel.org" , "conor+dt@kernel.org" , "tglx@linutronix.de" , "daniel.lezcano@linaro.org" References: <20231114124748.581850-1-mubin.sayyed@amd.com> <20231114124748.581850-2-mubin.sayyed@amd.com> From: Michal Simek Autocrypt: addr=michal.simek@amd.com; keydata= xsFNBFFuvDEBEAC9Amu3nk79+J+4xBOuM5XmDmljuukOc6mKB5bBYOa4SrWJZTjeGRf52VMc howHe8Y9nSbG92obZMqsdt+d/hmRu3fgwRYiiU97YJjUkCN5paHXyBb+3IdrLNGt8I7C9RMy svSoH4WcApYNqvB3rcMtJIna+HUhx8xOk+XCfyKJDnrSuKgx0Svj446qgM5fe7RyFOlGX/wF Ae63Hs0RkFo3I/+hLLJP6kwPnOEo3lkvzm3FMMy0D9VxT9e6Y3afe1UTQuhkg8PbABxhowzj SEnl0ICoqpBqqROV/w1fOlPrm4WSNlZJunYV4gTEustZf8j9FWncn3QzRhnQOSuzTPFbsbH5 WVxwDvgHLRTmBuMw1sqvCc7CofjsD1XM9bP3HOBwCxKaTyOxbPJh3D4AdD1u+cF/lj9Fj255 Es9aATHPvoDQmOzyyRNTQzupN8UtZ+/tB4mhgxWzorpbdItaSXWgdDPDtssJIC+d5+hskys8 B3jbv86lyM+4jh2URpnL1gqOPwnaf1zm/7sqoN3r64cml94q68jfY4lNTwjA/SnaS1DE9XXa XQlkhHgjSLyRjjsMsz+2A4otRLrBbumEUtSMlPfhTi8xUsj9ZfPIUz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J9UZ8eCjvIMpXb4q9cZpRLT/BkD4ttpNxma1CUVljkF4DuGydxbQNvJFBK8 ywyA0qgv+Mu+4r/Z2iQzoOgE1SymrNSDyC7u0RzmSnyqaQnZ3uj7OzRkq0fMmMbbrIvQYDS/ y7RkYPOpmElF2pwWI/SXKOgMUgigedGCl1QRUio7iifBmXHkRrTgNT0PWQmeGsWTmfRit2+i l2dpB2lxha72cQ6MTEmL65HaoeANhtfO1se2R9dej57g+urO9V2v/UglZG1wsyaP/vOrgs+3 3i3l5DA= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: PH0P220CA0014.NAMP220.PROD.OUTLOOK.COM (2603:10b6:510:d3::28) To BYAPR12MB4758.namprd12.prod.outlook.com (2603:10b6:a03:a5::28) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BYAPR12MB4758:EE_|SN7PR12MB8434:EE_ X-MS-Office365-Filtering-Correlation-Id: 6fa7e257-6492-4013-38a8-08dbece4d6fc X-LD-Processed: 3dd8961f-e488-4e60-8e11-a82d994e183d,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: daxkOr0dSk5qEEy7RVgbUvH4EbrnIGSj6a95l091nSo5vab2oispu0j1Wds+bI8KODM1FC/IjQCXtzzeApM6Nw4ef6vuuuI3qYbdSdDmLjykoOMA9hi7tMQ9LzlokNgr6lCRRQO9C8TyW8DbWIQepjMlifVpw8H/ax6xHYImoZ6GHKKiBkoQEDR+1qMQ7IN4wwTYvI05YLBL+EXQYYOAq7vfCvPI0H5sAavloepMncqWJNmy84fulRfs0l5s0IusDon6vltRHYBsOYP15TfuQYV9SmksyoNJ0lm0a0xjdknpNn3zVi5jc2od2rYtMEvJyNuWY9VbHjfGVo3MBeLBcdi9u/Fh7U/W3rjRO9JQKJkZHh1cWwiPD9q5A+MUx9juNTTsRot1HSabDyKSp6XTcD2+0yr6MRt3+BKpccgsjX5YJkONl+4o61Ai8ClrsPSYB1sgg9P+h1e80vCSre1GVOsU1SnrdKCQyz3zpyX2qs2QxwdiW6dURSQH+A1qdRp5CuO1xh430XPivl1utPj1m2QdIWelylulr6A9oxXZem8uR3jast6So6MAVMbi4RXaybnYyxXNmEKHXky5wVm9As3h/FlAY9S8F86/0o97YTCF88yEnYHQonf0Yax3hDzRXNoRJf/tWnw+WRxyirjnWQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BYAPR12MB4758.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(396003)(39860400002)(346002)(136003)(366004)(376002)(230922051799003)(451199024)(1800799012)(186009)(64100799003)(31696002)(6506007)(6512007)(6486002)(2616005)(53546011)(26005)(7416002)(6666004)(83380400001)(8936002)(4326008)(44832011)(8676002)(5660300002)(41300700001)(2906002)(966005)(478600001)(6636002)(316002)(110136005)(54906003)(66556008)(38100700002)(66476007)(66946007)(86362001)(36756003)(31686004)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?MmZOb0VuVzNWdlhYaTU4U2x4c1REeU1IaFYySDVWUS9SN1JxNmtBMy9TL0h4?= =?utf-8?B?cEZmT2x2MWJaeHVyNFZ3a0ZzTU5xaGR1a1NwTGVlSXVRM0U1SXFMNkdoNGh5?= =?utf-8?B?WFJHbUZ4b2hnY2FEaHQ4VE1GNnpGbUk4b3BSS2pwajNlVlZza1oxYS9iNVRS?= =?utf-8?B?STd5QkRmeHBZOFptWVdQYk9TUmx4dVVVNXR5eC9PL3d4aE5mTnlYM2Z4aERV?= =?utf-8?B?UVcyZTk0V2NlNnNWUHNHYmtWekFmWXB0MmgwLzE1R3JBc255cVFLY3dheUFX?= =?utf-8?B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vMVNDT1NRdXZ4YUp0YzY3R2Ur?= =?utf-8?Q?Clzqe9QBT0Mi9eOdZM284Fj/M?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6fa7e257-6492-4013-38a8-08dbece4d6fc X-MS-Exchange-CrossTenant-AuthSource: BYAPR12MB4758.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Nov 2023 11:59:40.8153 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: nhqObKB8/ap75niOc48eNfHZR/WLPnnAlGkMRWKV4rveXBw5mZAo8RHjlbD2lLxn X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR12MB8434 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Fri, 24 Nov 2023 03:59:56 -0800 (PST) On 11/24/23 12:35, Krzysztof Kozlowski wrote: > On 24/11/2023 12:03, Sayyed, Mubin wrote: >> Hi Krzysztof, >> >>> -----Original Message----- >>> From: Krzysztof Kozlowski >>> Sent: Wednesday, November 15, 2023 5:41 PM >>> To: Sayyed, Mubin >>> Cc: linux-arm-kernel@lists.infradead.org; linux-kernel@vger.kernel.org; >>> devicetree@vger.kernel.org; linux-pwm@vger.kernel.org; git (AMD-Xilinx) >>> ; mubin10@gmail.com; krzysztof.kozlowski+dt@linaro.org; >>> u.kleine-koenig@pengutronix.de; thierry.reding@gmail.com; >>> robh+dt@kernel.org; conor+dt@kernel.org; tglx@linutronix.de; >>> daniel.lezcano@linaro.org; Simek, Michal >>> Subject: Re: [LINUX PATCH v2 1/3] clocksource: timer-cadence-ttc: Do not probe >>> TTC device configured as PWM >>> >>> On 15/11/2023 06:55, Sayyed, Mubin wrote: >>>>>> + /* >>>>>> + * If pwm-cells property is present in TTC node, >>>>>> + * it would be treated as PWM device. >>>>>> + */ >>>>>> + if (of_property_read_bool(timer, "#pwm-cells")) >>>>>> + return -ENODEV; >>>>> >>>>> You will introduce dmesg errors, so regressions. >>>>> >>>> [Mubin]: I will change it to "return 0" to avoid dmesg errors. >>> >>> No, because solution is wrong. >>> >>>> >>>>> This does not look right. What you want is to bind one device driver >>>>> and choose different functionality based on properties. >>>> [Mubin]: I am doing it based on earlier discussion related to AXI Timer PWM >>> driver. It was suggested to use #pwm-cells property for identifying role of >>> device(PWM/clocksource) https://lore.kernel.org/linux- >>> devicetree/20210513021631.GA878860@robh.at.kernel.org/. >>> >>> You are mixing bindings with driver. I said here about driver and yes - you must >>> use pwm-cells to differentiate that. It's obvious. >>> >>> So again, one driver binding. >> [Mubin]: I will explore whether mfd framework can be used to handle this. > > You do not need MFD for this, because you do not have a really MFD. This > is just one device, so I expect here one driver. Why do you need > multiple drivers (which also would solve that problem but why?)? this driver is following pattern which is xps-timer (soff IP) Documentation/devicetree/bindings/timer/xlnx,xps-timer.yaml which has two drivers in the kernel. On for clocksource arch/microblaze/kernel/timer.c and pwm one drivers/pwm/pwm-xilinx.c clocksource driver will be at some point moved to drivers/clocksource because that's what will be used in connection to MicroBlaze V. I have looked at TTC and functionality wise it is related to Documentation/devicetree/bindings/mfd/st,stm32-timers.yaml or Documentation/devicetree/bindings/mfd/st,stm32-lptimer.yaml which are based on MFD. Timer there is only clockevent not clocksource but it shouldn't really matter. The biggest issue what I see is that ttc clocksource driver is used on arm32 Zynq family for a lot of years. It means moving to different binding based on mfd would require keeping support for old dt binding too. That would be from my point of view thing to start with. What do you think what would be the best way forward? But I need to do my homework first to see what functionality that IP has but I am quite sure there could be at least multiple PMWs. Thanks, Michal