From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com [209.85.167.50]) (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 0394017F36B for ; Wed, 10 Apr 2024 17:51:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712771516; cv=none; b=a1MV8NtUbv9M4HLWM00KKX7pxKIEIzucYgWxAC3RAiBOQ/h38k3xjNqcIpBxKfAK9K6fqgHKc0XOM61NJOo2hPIfK6fQ5nDLTWeJ4ralJJkgSesDSeXUCC8I7P3kUbgXtYTxRyJWbjXH9PLTH0jRMmerW7BgsLJmd6id9xpFu4U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712771516; c=relaxed/simple; bh=GNGxTomVe9SYi6ouodd8VfUTWpqqNdcbzrmwqYTTm0Y=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type; b=c+qGJEfnOBIARVsAoG3ICpe+vmFVyrYXoSBOw+aHw9gkWjUlPu6WhCssHfIc4syAOviE4WlB7G+vvPLj1dj9Pegd4uzSCLJFPGZFy5Y7FD9Fx4Qme4bpbQTMIC3bW/e5YbsJ+XkDOcik1d8y712+LlN5e3kuFW9GNblstdSi9lY= 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=TwvKEMZz; arc=none smtp.client-ip=209.85.167.50 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="TwvKEMZz" Received: by mail-lf1-f50.google.com with SMTP id 2adb3069b0e04-516d4d80d00so6748623e87.0 for ; Wed, 10 Apr 2024 10:51:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712771512; x=1713376312; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=8EH9Pxm+MZUB9uIJB2EAX8UISWeLkvrbIq4NwMfK/no=; b=TwvKEMZzvaej4/7dArmY+TRR7tNwYYqBIaRp05CW+n1xIxIOqui6lNhZzKoEktymrM 4iarcIuKo1dl1dtmroiK4L5P73E1tPVEaN3mCNBD7mXOpXHT8cHzYKUAOuV7/DA1VIWP 1N+OZSqq3WsxnAlIcGOlZeFE2qNQLOo5r7iYFP+MBBWDH6aapxlSZPwVG+YSipUyHAmo h6wcarnlpgPJfzy9zanZDrOQ94mNou3Ae43FQ6jGdZMLg+PUtM+qEbSgtbZ5B6A2zvAV zQ6Ual/O4kPwBs4ifG0N3LtjRwh9qN++i0tXKZs+yasiBElrWDVvtZRsCIaC+ueMHQb6 zC2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712771512; x=1713376312; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=8EH9Pxm+MZUB9uIJB2EAX8UISWeLkvrbIq4NwMfK/no=; b=iHLhFHTp704QJSzAUCoNAZ5GcGDzinpxuAk7o/HjocpUW/iUuY7FzRudg54Uz7V8E5 Q3WslE7GqKXK/rfLPaFFJ/gomBGlGJci8ZTw9Piher4OzK8BN0N7yg5qYwNYnuAWToWG 2RQo/6aOYYO4s4MsrWgNeOML4z4v7jDtrWWsdoEaJrh30v0fjBgCVx3YHIMGtSrLjlq8 9Y6odeA9ln1RMRKgnxMJ8eVnK2yw4PVVqGkDZUE08vDwGDGTJidkhEZmLe0r4e22eiBf aQyDpbwzIkl73s0/WPjfQVAFOzaJOx9sP0zUeFTajAmtLTvAPDDNlfp2YsBKfWnEpIVo BPMg== X-Forwarded-Encrypted: i=1; AJvYcCVEo+7q3kBFfSVCpndMaI2wFiZYD/g71L2J+bYzrpdB9J4ZKN9+wlir5Jyeyh6m4Qd23y2Eck7oSOToOc9SXxNfyf/slKUzu+YM/w== X-Gm-Message-State: AOJu0YymALAiPwxr+92DaYOHBC2ApkmALlpDB9kadoy16i495T+F74ZE VmDRv1nXDFW3r3OU5QOtqmYrw50jp5+2f3Kwmp4MEx/r6kXiEFsXpM/fmwy/hcA= X-Google-Smtp-Source: AGHT+IFEmuU/yIHrAY8NuucyCaQFKu+VnZxGulNdN7KpD4j1m+7zPUv7hS0ZitZBToM3exxMIntetw== X-Received: by 2002:a05:6512:2c95:b0:516:c600:64e8 with SMTP id dw21-20020a0565122c9500b00516c60064e8mr2674529lfb.1.1712771512162; Wed, 10 Apr 2024 10:51:52 -0700 (PDT) Received: from [172.30.205.26] (UNUSED.212-182-62-129.lubman.net.pl. [212.182.62.129]) by smtp.gmail.com with ESMTPSA id x26-20020a19e01a000000b00515a87668a1sm1905343lfg.77.2024.04.10.10.51.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 10 Apr 2024 10:51:51 -0700 (PDT) Message-ID: <3ae3891c-32cf-450c-a68d-0f80f9192bea@linaro.org> Date: Wed, 10 Apr 2024 19:51:45 +0200 Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 4/5] pinctrl: qcom: sm7150: fix module autoloading To: Krzysztof Kozlowski , Dong Aisheng , Fabio Estevam , Shawn Guo , Jacky Bai , Pengutronix Kernel Team , Linus Walleij , Sascha Hauer , Sean Wang , Matthias Brugger , AngeloGioacchino Del Regno , zhanghongchen , Yinbo Zhu , Bjorn Andersson , linux-gpio@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-msm@vger.kernel.org References: <20240410170150.248428-1-krzk@kernel.org> <20240410170150.248428-4-krzk@kernel.org> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <20240410170150.248428-4-krzk@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 4/10/24 19:01, Krzysztof Kozlowski wrote: > Add MODULE_DEVICE_TABLE(), so the module could be properly autoloaded > based on the alias from of_device_id table. Pin controllers are > considered core components, so usually they are built-in, however these > can be built and used as modules on some generic kernel. > > Signed-off-by: Krzysztof Kozlowski > --- Reviewed-by: Konrad Dybcio Konrad