Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1635498rdb; Tue, 20 Feb 2024 02:13:08 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVyr1f9zhlDu7N5u1t1ZrIBIIPl1jxyqmKzCgGes2g4KKS+hbx9HTHJmLliuWPkYtSYO4DeJfs1B+tDjrmmUhV1WLYNL+2RscYfVRBVjg== X-Google-Smtp-Source: AGHT+IHNNyJ99h4vsgiz+ODNIFeg8yFUvgtvfg2NbgoIOk1tV6pb8mNzJcAFiSmqLcr6/NIQ9uCZ X-Received: by 2002:a05:6402:1502:b0:561:8918:9f5f with SMTP id f2-20020a056402150200b0056189189f5fmr10175973edw.24.1708423987751; Tue, 20 Feb 2024 02:13:07 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708423987; cv=pass; d=google.com; s=arc-20160816; b=N1AURSqR4H/9kp9cCv4q1Fww/k3dMFo88qd1F+k9gpljdJSvltsj6hmRtW+rXmrsZ3 O1Pa7zfcrwr1ImEMqjGf9KcG3Li5RAWQPWf0i1AfZoz3uoAtIWQOrnF67hhXJ6lU8gs3 0q1ARut4g4YQaJq+6FFFDgZyUQae6I4gz067Td/FIKpPigMhPASD3Y2DKmULJdcTW22g OpoFi1xZR+2junyyh8eQkGUAo7oRxgZlSD3qaLCfNQ0Ao7aw9i+09qMBrtplLyQ2MXbr prOrZz59a6Umw/GslQ9NRkKFWXwc8JHadt6PxGseF2EXw0xhMjHeWnv3OCHYn+cEBo2O CJYw== 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=9cEevSpcHYR0bJRJ2Pii3xbCZBo/9gOWZM9i89Gz/54=; fh=N+6Wwz1TpgLbXcLbJMAAMePtkHof3Oouijv8ChzkUXY=; b=qMeYLrq3NHEpc1Kt42HJYUEpwvc1zmIqQg31Ny1BsKD1H+rA4wiA5/ztcSO6z5N9Xz MKFz7CU/6untGIUjMpy8PQZxtTOKH46QZuLHy5VeuK4Xy/7kalQKYg0dGVQxBC8iQthr eRz7DiKLd4aA6KvUdLCBpGmYp2oTiYBrSIvJqInZ9VvUNBFMjDANFu2Jwj1t2DfP+Oq/ VPmGKBGyk0+Igoj+JZk9/uriJBXSXNDPWNqQ1IfsPtREyDcyvckS3KAtIskpvDyZaXTM qgUOlITKzxW9PgqR9GAI4kR8Z3MYyKxRnbSPkQCN+PE26hKexe8dzPC8qhKgfltCrzEs j3Rw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lSGEQ9Wu; 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-72789-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72789-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id w11-20020a05640234cb00b0056486d99760si1400339edc.12.2024.02.20.02.13.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 02:13:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-72789-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lSGEQ9Wu; 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-72789-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72789-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 5017E1F22199 for ; Tue, 20 Feb 2024 10:13:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8D38063107; Tue, 20 Feb 2024 10:11:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="lSGEQ9Wu" Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) (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 DC4D75F470 for ; Tue, 20 Feb 2024 10:11:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708423882; cv=none; b=qQtE1Zwc4g5RbFaQ4YqUGqT5ZK2bzO+1qaVZgAVkm1rn8vUf3Td40HtITMczWdUbtiCc6XP9zGYtstqdk+Qr7qiL13lS5qdLLx/cEqNOEfiWIC9/WGBh81ossATGnnFBOa+IEyH5khVJRmzcb/4VCMoJbfyW6mt6ruGLo+K1s38= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708423882; c=relaxed/simple; bh=367XaILFO8rZ3wKjkG2ZciIgggCgKEiatsLpqhi/xE0=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=A96Z1ZV+DGJN5+ZNlFZckztH23wD9qBHJ0TZUCUEW5xULEoipSSNfZqcsTP/C5mW6WUXZyJYYtLaAHJolwwL6aOzDNAVkuFOsSz+HsElU08ulPxeMf6UB/V2cTH3peIaCirnd3WGBnZl4PPjFGUtT7EyYc5x+s3QWXCmGYs+aAs= 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=lSGEQ9Wu; arc=none smtp.client-ip=209.85.128.48 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-wm1-f48.google.com with SMTP id 5b1f17b1804b1-4126d65ace3so4643605e9.3 for ; Tue, 20 Feb 2024 02:11:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708423879; x=1709028679; 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=9cEevSpcHYR0bJRJ2Pii3xbCZBo/9gOWZM9i89Gz/54=; b=lSGEQ9WunQGqcHSaGpXI7LWwDsbGvCa0nbs5CsfAlHIQYo+TSFa90POavErwZVn/TO fq4y41EXZYHwfgfc/qkb9fjGcncFBsYtTDIe0xeT1aWwb5zqyA+R4hH7AosZ4snNRm4P kqvpzbyHhTXqdWtxH12n9b7+MH4xxg1Fuc3JqygExLsxTzXkyDz6uYHCnZHXxJ+idRHp Z+cg9mc3PZQw9RqIhpjZ9h5LuJQ+8jit92K/R1KNIY7Z1QkKmvofLTTlD0MGVJY8sxak Js2nmvQ0yJ3oLv1VJ0uQWVzjAxM6/gc+12vcJJKitv3F+as4DVuNnalW3tgQpXO35nCd eFPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708423879; x=1709028679; 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=9cEevSpcHYR0bJRJ2Pii3xbCZBo/9gOWZM9i89Gz/54=; b=CDSa1ZNjY1DvtNgHCcf9br8mxv/vrqx+6fzbSb4YCbFoa22KAuhGjKHFAF8E20jqB6 pX363hG4lrz7RzOZgmIxsVyZc0wDObZwVbeaEIdhC88MjATbgYqvtlp0qVmZdp5C8Pei 52dBHdwCCxRRmFfN4M8PbOMh30ZN33+lLcFqwtDAZpjxT8mjdqs57gL+a8bfsy+x27/A b3aWraeAxy/ZAte+5FB62mrE8R8Ox75pDCrfUQBlPSJ4bznQXjd28e4mwU3NxosmnJeA pWpLnmwzUxCUYWxEiW3L7f5gTu2IH1Jrl1NG6KjY/VDB+D+Hbym9z24QzPfpSn6/RM9o o/wQ== X-Forwarded-Encrypted: i=1; AJvYcCWHuQ/uRs28Z3vmTiKudAhxE5YbRTWpexOlVz8wuaedh4ejXhhHdFvJnEk1OatZc3N7pdybH3UBoOehgogslty3db7AgEIfSXZlc73A X-Gm-Message-State: AOJu0YzNrVXZ1IgDfemMvwtJk40AfwDrR5CCoGhP3oa4UuBD9nSTMZCc 6m//o/nTOyUgauOwVN39mfktXBk9KrOrNG6ZjSYgfcg+qr+C7kavZ2YH5vGyy4w= X-Received: by 2002:a05:600c:310f:b0:412:68a1:1020 with SMTP id g15-20020a05600c310f00b0041268a11020mr3082774wmo.17.1708423879131; Tue, 20 Feb 2024 02:11:19 -0800 (PST) Received: from [192.168.1.20] ([178.197.222.116]) by smtp.gmail.com with ESMTPSA id s8-20020a7bc388000000b00412260889d9sm14022129wmj.1.2024.02.20.02.11.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 20 Feb 2024 02:11:18 -0800 (PST) Message-ID: <31188f64-7c6b-4279-a2d7-8b5133b1d485@linaro.org> Date: Tue, 20 Feb 2024 11:11:17 +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: forbidden405@outlook.com, 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> 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/6CBVjEWqD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+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20240217-clk-mv200-v2-2-b782e4eb66f7@outlook.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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. Best regards, Krzysztof