From patchwork Sun Sep 19 09:31:11 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12504257 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4FF0CC433EF for ; Sun, 19 Sep 2021 09:33:16 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1057F611F0 for ; Sun, 19 Sep 2021 09:33:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 1057F611F0 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=canonical.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=2jwH411u23i2zhIyGyIZS+TI++lmLzLC8QFUELxKgag=; b=2VjiElPOKwBut0 l3QmQpJL/eVH4QJeRa1BVhEoQvPf39Phwvq2yBtV3O63bBwPTUDCWA/YKa9QeVNo2g57fIMV7z3Ap B6Te5NAWblQSbq13KAhAixXCLnGFez1axhAs+R4Q0+7JxIrbCsVJzO1ZyDxAtl2x24XxeL0LKaGn3 84EYa6jWbY/FmPRdJp0gL5o0hhZrTYKbnOqPKFeU9EFaMimLex/DFC0cd37lOMg14Jg6OGVTozxs6 RisrzubH3QRutcEdrIZGMyEuXZ65Z7fQm9NMBv8Gyi05iApevsgBH905dovS6xm3yeU6hm4ZefYfm tu3r46Bkp4ouCcXfFhQQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mRtAU-00H2O7-KQ; Sun, 19 Sep 2021 09:31:26 +0000 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mRtAQ-00H2NQ-JB for linux-arm-kernel@lists.infradead.org; Sun, 19 Sep 2021 09:31:24 +0000 Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id C97C73F226 for ; Sun, 19 Sep 2021 09:31:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1632043880; bh=Zlzk0L+jJUx03F0UWBN9FUh9Hi4wSYcrxBZrYue21xY=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=LfHTCY+r7KvngarlW3ov6gMM3gwyvQpOQvAw6BSV4WXJBs7tKz61DoLopfB1fc8Oz eE43CBnCaYlsaOygCM4otIigS0CmSqu6QQXUc/E2tAf+KtqG8QZG7RNu4qLCHpZpAo K9unJ43vm1lFSxDt7l9flE3/GmnPrXjid2dkqhDcIjCA7EB00CYCB6HTByHWTgv3kb edrpcWAmI3TgwoX6fEFcB9Jxbqo2XLhDZ7MAodJGjKAtNafYj39u78Q9e1kVvlNObu 5VH6rdkpXj2mvXIVxrFh4qLR0K+J8897NOHSBTBFC0sgyz9F4W2LeiC+87GkZQwZiX eDirt7kc+l1/A== Received: by mail-ed1-f70.google.com with SMTP id x14-20020a50ba8e000000b003d5a565de3aso12155570ede.18 for ; Sun, 19 Sep 2021 02:31:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Zlzk0L+jJUx03F0UWBN9FUh9Hi4wSYcrxBZrYue21xY=; b=MJyYNNiITR0FLt7aOn+1+koarVIYrOh1+4OfhyZUe24Z2tjjDnyP/6yvFp2V7CMpP5 3FMuQQ3YeodLTcyLg8H+gUUR66xbXGOPe545gPPIP5KoqTpk0B98xk+j6q+aFkdbjA7L 7PkobSXU6iUb2UCdmycxIzmF85rQsGAX05N6ClhDh0Bt28NVfTWpeNodU1WGojTpqGEp ZRvP+re6ps0pXFUbgvYOBQcZJ3PJaq4FgloVKq0ivH9mu74VT1nI+iW99Y2MUe99eAef Q6t4QPrkBdSMQkglg/kl3DHEXA+dODhz95d/x5wmS7DhUpHa0kbp8k6JU9ZTC84SU8tw pnog== X-Gm-Message-State: AOAM530QmIB1zqeR9t1nreBcjIm5hDjbas8V2AGsI9hqrf7iVwA+J4Ta NzLzjDU3+JDvKmXO2Lj/dVlCJQpKZqDqHUvcNjwUm0GM9dRXCiXjH8kl3LSD/0cd5To1nsIOGXQ ynr/cRGevRWpj91ESim+qFiuP/h/XhbG2uucL/yJYkbKw7Ozy+kMy X-Received: by 2002:a17:906:eb56:: with SMTP id mc22mr21317137ejb.542.1632043880366; Sun, 19 Sep 2021 02:31:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwA57zHEYeEhvGZbVieFxmBitOGTy7AjxQG0k0Zag5Vv7d7dTv4Kz8JFMwEnzRS1C5FpIrGrg== X-Received: by 2002:a17:906:eb56:: with SMTP id mc22mr21317115ejb.542.1632043880176; Sun, 19 Sep 2021 02:31:20 -0700 (PDT) Received: from kozik-lap.lan (lk.84.20.244.219.dc.cable.static.lj-kabel.net. [84.20.244.219]) by smtp.gmail.com with ESMTPSA id p24sm514111edq.27.2021.09.19.02.31.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Sep 2021 02:31:19 -0700 (PDT) From: Krzysztof Kozlowski To: Russell King , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marek Szyprowski , Sylwester Nawrocki , Bartlomiej Zolnierkiewicz , Tomasz Figa , Arnd Bergmann , Olof Johansson , Alim Akhtar , Chanwoo Choi , Pankaj Dubey Subject: [PATCH v2 0/3] soc: samsung: exynos-chipid: be a module! Date: Sun, 19 Sep 2021 11:31:11 +0200 Message-Id: <20210919093114.35987-1-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210919_023122_874302_5D00AB5B X-CRM114-Status: GOOD ( 11.91 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi, Changes since v1 ================ 1. Drop patch 1/2 - exporting soc_device_to_device 2. Add new patches: 1/3 and 3/3. Question ======== A question - what is the convention for naming modules: underscores '_' or hyphens '-'? The C-unit file already uses a hyphen "exynos-chipid.c", so I could create a module named: 1. exynos_chipid 2. soc-exynos-chipid 3. exynos-chip-id The Linux device name is "exynos-chipid". Best regards, Krzysztof Krzysztof Kozlowski (3): soc: samsung: exynos-chipid: avoid soc_device_to_device() soc: samsung: exynos-chipid: convert to a module soc: samsung: exynos-chipid: do not enforce built-in arch/arm/mach-exynos/Kconfig | 1 - drivers/soc/samsung/Kconfig | 4 +++- drivers/soc/samsung/Makefile | 3 ++- drivers/soc/samsung/exynos-chipid.c | 14 +++++++++++--- drivers/soc/samsung/exynos5422-asv.c | 1 + 5 files changed, 17 insertions(+), 6 deletions(-) Reviewed-by: Alim Akhtar Tested-by: Alim Akhtar Reviewed-by: Sylwester Nawrocki Tested-by: Sylwester Nawrocki