Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1637804rdb; Tue, 20 Feb 2024 02:18:28 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUOVfKRYmO3o4U4VSHs6picaGZJfHoNOqjmJcRlSdoP4NJ7w11PvFijNKi5gJAnElriPU5wNKuqcWIcIf1zEBtbeYhC89kOyAa848ABNA== X-Google-Smtp-Source: AGHT+IE2Z7120TwyKUdfG2A5mMNwkIypxvHJ3HNIwS6xCQn19QN+V+HA1LiTmuOE6LZ9Z8sLmby0 X-Received: by 2002:a17:902:654c:b0:1dc:1c81:1b19 with SMTP id d12-20020a170902654c00b001dc1c811b19mr599492pln.3.1708424308155; Tue, 20 Feb 2024 02:18:28 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708424308; cv=pass; d=google.com; s=arc-20160816; b=aW89V1RLoxbM6OuDIwu9tXWvJWWbWPcjuvb/OScZKUag9Lhd85QRgiankDpTuSBPuP 0EuqH9g8YdYGB9gYTpmX96lqIhw9DkbcxMEZWSsY6qgTeyKmSmZ9d4gsh8huqv8QOhx8 9SXi9DvqnkSpHfHWrxdwG65Ccphc9P5VRCkLmgKxisEIlAX3YS4jerifBO6QWbqLRh5E P1va1TNO2k0vHXyWLQOLs3O5sXuhEidt7qgR7HnvRjiF9AXLM1UEtev0KQ+CpMHBRoTm iD+GgtZcW4R326RhTo9e2R7ayYdt4mV/smQddT0W4yEvJvxc/I2COMav2j22BiDwWJBx h/EQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=+CIAIF2W269Msnqe6vcvK5AtbB46paiILLo5adq14+A=; fh=MtOsM+KEsrreyyw9rBtVBOz7PKF4Uc5Krx8Dafq4HN0=; b=wOwqe7YWC5tfGM6VYKosrRPuCAnXdUAEP3LWEBoGhDeXOy3M8NgRxYpfYjLyMQM6RY VnnZTCM7r51LHb6ygq3rLfTFYjCuRGLAwhXrYdtV8bcDUdsxM0tU3thqphjNQegY3Q7z ROqqw7ah63IO3BZURmbYUL8my+b1lqBcy/nK6fetIzBU8RTnKdDs/qcxHp/KgT8AffOk yh7BM7l8DidTqIxQ7bSdVEFGyKvUMkhgGURF3hx5X2Y6uc8j6qZu0byKYLrNvGwiccmV aLIDGUkBuD3jvewdJnw4HS23CVZQTLquCei/4yIK5944/oLUR7TSVUvb6yfoJXpqMa5Q EjsA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dHxSGSAq; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-72805-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72805-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id h10-20020a170902f54a00b001dc11f149d1si1412677plf.248.2024.02.20.02.18.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 02:18:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-72805-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dHxSGSAq; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-72805-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72805-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id B4C95286043 for ; Tue, 20 Feb 2024 10:18:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8CD6264AAD; Tue, 20 Feb 2024 10:17:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="dHxSGSAq" Received: from mail-lf1-f43.google.com (mail-lf1-f43.google.com [209.85.167.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C8EC1612C4 for ; Tue, 20 Feb 2024 10:17:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708424240; cv=none; b=bgTcMO5fJ5WMdE0K73WZg51yfa9Pld89XlIi0oJrFxofstdHGo4IH68OZf63Kblr76If9YscgrssNjtVNGF77v76zPPQS9jaNn52g6K4NxgaXFEE4f88sg98tbAEymgYwwIPhUwA2a8nKLWUNo2GN2XiW9P/Uyzj1bfZn5T2plo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708424240; c=relaxed/simple; bh=vCnSvQB+jhaRZOo1Tq4ohA4pgOgRJNxOj5qi5MWHCl8=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=tgcCpzzqsAGMrl2nwOny4aWWJw81YrlIWIAu+bblpRAH68H9clIKMidaFGiGgkzfDcphGfEIDqvwV0tRHvXXKNqTvSQe7EDY4e1qbW9VYqLlypEDmHyXS2l1h+c1Pe3y4qtpSw1zN9TzoDM7dOlxBu2uZJqpD+qZjQ9LnqL5sZI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=dHxSGSAq; arc=none smtp.client-ip=209.85.167.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-lf1-f43.google.com with SMTP id 2adb3069b0e04-512b3b04995so2073020e87.3 for ; Tue, 20 Feb 2024 02:17:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708424237; x=1709029037; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=+CIAIF2W269Msnqe6vcvK5AtbB46paiILLo5adq14+A=; b=dHxSGSAqcosQ5zcVXLFeq0pvHXr9/rM6r3dRCGuIXJ34E7zmi9XC68ZAHObtqbeitJ ItGBExxcXeLZbDqCJAAH8mGRYWvYn3A+n3rMEqIA7P5r3ZpZqUjCW6/V4jgmISL4YdRn 0K7ZZ3HPqFCQwHvXKzzob+FBDokpu/q0QVrRe1cIGTElT+LLVYQW9q2RBAOPQPT3JlCF kX7NBurTyF9MvUmF1sH/Ip7tdZyMn8jQRd0XNuTlF9Q9wfNXQWNSgelxir/mUpFd2s85 eQc5WJbem/MNsrwXWG0UTO2RaMFgJAFRAL3MUmTj1FUdqVi2xMUQCxm2RW19YCOvwwGT p5Cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708424237; x=1709029037; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=+CIAIF2W269Msnqe6vcvK5AtbB46paiILLo5adq14+A=; b=l/+syOQ/W0oVTnrJ2T4IrA8fzcM+fuFORffGiU7JZ3/xr0ufCXZTVQv0h9ZGa33i0D zR8GJsG+zMk0wMPLdUmg2Pcb5VcuARxEbnGr7FqTHh0WgpH0Nh1sqJMI5YdkISmdNNg4 i0iZZHrLMpEW11WtUyhlCVAitdF9zCOsTXyRK/QwmlOMxhJI8lzqkpAie6NxrQedGAMR UITiQ6FQjHAXzKGo1sJm9yXRMyeEnbP5SK7nKw9skEoazsbS+5ymRxcUXdZO9lFSy7v4 R3HMCWqInPVNpWMV+ZDoagoFtOrRuZQUa0eRACiT1GUX91LjADjdQt188JKhWgpiS37S dR/w== X-Forwarded-Encrypted: i=1; AJvYcCUM1zR6W+DJQszrdcBsSM4/oAFl8ms7dSogUlZyCo86DmfTVh8n9W0QLhcELKKWAYJ3cr0QryIIWTBY4nLcZJWPMLocBHGCQO2rJZuZ X-Gm-Message-State: AOJu0YwF2TUfde0JPz5diYn0UvioJhGDIMS6xWh9Tgj6VvShUIcuNhNg /ImkeYl8PsmSv572Dcik22MhsV5mwTwGF6rA/CGNeUCX5XEPVFiQdgGqLmGTtJ0= X-Received: by 2002:a05:6512:280f:b0:512:a8a8:487e with SMTP id cf15-20020a056512280f00b00512a8a8487emr5134800lfb.40.1708424237006; Tue, 20 Feb 2024 02:17:17 -0800 (PST) Received: from [192.168.1.20] ([178.197.222.116]) by smtp.gmail.com with ESMTPSA id v4-20020a5d6784000000b0033d39626c27sm8491785wru.76.2024.02.20.02.17.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 20 Feb 2024 02:17:16 -0800 (PST) Message-ID: <2fb8c959-172f-4089-b39c-f07d741c74e6@linaro.org> Date: Tue, 20 Feb 2024 11:17:15 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH RFC v2 2/5] clk: hisilicon: add CRG driver for Hi3798MV200 SoC Content-Language: en-US To: Yang Xiwen , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: David Yang , linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240217-clk-mv200-v2-0-b782e4eb66f7@outlook.com> <20240217-clk-mv200-v2-2-b782e4eb66f7@outlook.com> <31188f64-7c6b-4279-a2d7-8b5133b1d485@linaro.org> From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CB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jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 20/02/2024 11:14, Yang Xiwen wrote: > On 2/20/2024 6:11 PM, Krzysztof Kozlowski wrote: >> On 17/02/2024 13:52, Yang Xiwen via B4 Relay wrote: >>> + >>> +static const struct hisi_crg_funcs hi3798mv200_sysctrl_funcs = { >>> + .register_clks = hi3798mv200_sysctrl_clk_register, >>> + .unregister_clks = hi3798mv200_sysctrl_clk_unregister, >>> +}; >>> + >>> +static const struct of_device_id hi3798mv200_crg_match_table[] = { >>> + { .compatible = "hisilicon,hi3798mv200-crg", >>> + .data = &hi3798mv200_crg_funcs }, >>> + { .compatible = "hisilicon,hi3798mv200-sysctrl", >>> + .data = &hi3798mv200_sysctrl_funcs }, >> These are undocumented compatibles. Run checkpatch or properly order >> your patchset. > It's in patch 5. You mean binding patch first and then driver? https://elixir.bootlin.com/linux/v6.7/source/Documentation/devicetree/bindings/submitting-patches.rst Best regards, Krzysztof